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

TCP quick ack #679

Draft
wants to merge 2 commits into
base: main
Choose a base branch
from
Draft

TCP quick ack #679

wants to merge 2 commits into from

Conversation

carlhoerberg
Copy link
Member

WHAT is this pull request doing?

Enable TCP quick ack after each frame that doesn't generates a reply, so that client's don't need to disable nagle's algorithm, in write-write-read scenarios.

HOW can this pull request be tested?

Send two frames, then wait for a response, eg Basic.consume with no_wait and then publish a message to that queue. Without TCP quick ack, or TCP no delay on the client side, the client will wait 40ms for the server to TCP ack the last basic.consume frame before sending the publish frames.

With TCP no delay on the client side the client don't wait for TCP acks from the server to send the next TCP packet, but it also means that it won't aggregate many small publishes in large TCP packets.

This PR currently has a performance hit for publish only workloads.

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.

None yet

1 participant