Skip to content

Alive poller#100

Draft
ngorogiannis wants to merge 5 commits into
tarides:mainfrom
ngorogiannis:alive-poller
Draft

Alive poller#100
ngorogiannis wants to merge 5 commits into
tarides:mainfrom
ngorogiannis:alive-poller

Conversation

@ngorogiannis

Copy link
Copy Markdown

Polling whether the producer process is alive costs (at least) a syscall. Doing this for every run of the callbacks can be taxing when the producer runs at a very high event rate. We move the polling to a dedicated domain, and use an atomic read from the callback loop.

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