Skip to content

Move blocking log operation to executor thread to keep the pipeline reactive#3179

Open
Arooba-git wants to merge 1 commit into
alibaba:masterfrom
Arooba-git:fix-blocking-log-operation
Open

Move blocking log operation to executor thread to keep the pipeline reactive#3179
Arooba-git wants to merge 1 commit into
alibaba:masterfrom
Arooba-git:fix-blocking-log-operation

Conversation

@Arooba-git
Copy link
Copy Markdown

Hi! 👋

Apparently the log operation in BaseJulLogger is blocking, as detected by BlockHound:

Screen Shot 2023-07-20 at 12 58 22 AM

This PR fixes the blocking call. Test cases were re-run to as per the guidelines. We also measured the performance impact (in terms of thread latency) before and after the fix.

Before
(The main thread only sits idle in waiting and parked state)
SENT2-BEF-LATENCY

After
SENT2-AFTER-LATENCY

@sczyh30 sczyh30 added the area/integrations Issues or PRs related to integrations with open-source components label Jul 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/integrations Issues or PRs related to integrations with open-source components

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants