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

enhance: faster EventProducer implementation #102

Merged
merged 2 commits into from
Sep 20, 2024
Merged

Conversation

qjerome
Copy link
Member

@qjerome qjerome commented Sep 20, 2024

This PR improves the way eBPF events are processed:

  • algorithm is simpler
  • code is better segmented
  • a dedicated tokio task is spawned to process piped event
  • debug assertions to verify events arrive in order on consumer side

The outcome if this PR is a x2 processing speed.

@qjerome qjerome changed the title Rework event producer enhance: faster EventProducer implementation Sep 20, 2024
@qjerome qjerome merged commit 4dcb2a1 into main Sep 20, 2024
1 check passed
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