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

feat(s2n-quic-dc): wire up the recv pool for tokio clients #2533

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

camshaft
Copy link
Contributor

Description of changes:

This change wires up the recv pool to the tokio testing client. The tokio environment is configured to spawn a number of tasks that poll socket messages and then dispatch them to the appropriate queue_id.

For clients, it will not enable REUSE_PORT, which should get some nice benefits of better utilizing network paths due to tuple hashing.

Call-outs:

The server will come in a follow-up PR - it's quite a bit more complicated since the recv pool needs to coordinate with the acceptor tasks.

Testing:

Since this is just switching from one implementation to another, the functionality should be tested in the existing tests. I will be adding more integration-level tests in a follow-up to increase use-case coverage (request/response, etc).

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

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