Skip to content

move processors to run on background processing thread#607

Merged
beniwohli merged 12 commits intoelastic:masterfrom
beniwohli:processors-on-background-thread
Nov 26, 2019
Merged

move processors to run on background processing thread#607
beniwohli merged 12 commits intoelastic:masterfrom
beniwohli:processors-on-background-thread

Conversation

@beniwohli
Copy link
Contributor

processing can be somewhat heavey, moving it out of the main thread
should help with overhead.

This is the first step to move source code collection onto the background
thread. The next step will be to turn the current source code collection
into a processor.

processing can be somewhat heavey, moving it out of the main thread
should help with overhead.

This is the first step to move source code collection onto the background
thread. The next step will be to turn the current source code collection
into a processor.
@beniwohli beniwohli force-pushed the processors-on-background-thread branch from 6cbcd8e to bb879da Compare October 10, 2019 13:38
@basepi basepi self-requested a review October 10, 2019 17:46
basepi
basepi previously approved these changes Oct 10, 2019
Copy link
Contributor

@basepi basepi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@beniwohli beniwohli requested a review from basepi November 15, 2019 12:54
@beniwohli
Copy link
Contributor Author

@basepi can you have another look at this one? Would love to hear your opinion specifically on the new processor and how the hardcoded processors work

https://github.com/elastic/apm-agent-python/pull/607/files#diff-45cc225314a432104edab9aeed0b5c2aR234-R252

https://github.com/elastic/apm-agent-python/pull/607/files#diff-a16d47fe7d0f7cec237390038b9cd86bR122-R123

Copy link
Contributor

@basepi basepi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Overall this looks good, couple of comments below.

(Oh, and sorry for the pre-completion initial review -- from now on I'm waiting until you request my review. :) )

@basepi basepi dismissed their stale review November 15, 2019 21:58

Too early!

Copy link
Contributor

@basepi basepi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great!

@beniwohli beniwohli merged commit bca5828 into elastic:master Nov 26, 2019
@beniwohli beniwohli deleted the processors-on-background-thread branch November 26, 2019 09:07
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.

2 participants