Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Move blocking context creation to boundedElastic thread #215

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

Arooba-git
Copy link

@Arooba-git Arooba-git commented Jul 12, 2023

Hi! 👋
Apparently LoggingContextHttpHandlerDecorator has a blocking call that was detected by BlockHound were running test suite.
This PR fixes the issue to ensure the reactive pipeline remains non-blocking.

Screen Shot 2023-07-12 at 3 15 48 PM

We re-ran the tests to ensure the fix is non-intrusive, and also measured the performance (in terms of latency) before and after the fix, and observed a noticeable reduction in the idle time of main thread:
Before
qudini-bef

After
qudini-after

@Arooba-git
Copy link
Author

bump

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant