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

made rate limiting in tpu streamer async #2956

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

Conversation

lijunwangs
Copy link

Problem

The main thread of the streamer is responsible for polling the UDP socket for incoming connections from QUIC. It needs to be processed with minimal overhead so that new connections can be quickly processed. Moving the rate limiting logic to async so that it can be processed other runtime threads.

Summary of Changes

Refactored code in quic tpu streamer and move rate limiting logic as async function processed in the spawned tasks.

Fixes #

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