-
Notifications
You must be signed in to change notification settings - Fork 467
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
Is Nagle's algorithm disabled? #40
Comments
It's not disabled at present. I note that other RabbitMQ clients tend to switch it off (e.g., https://github.com/rabbitmq/rabbitmq-java-client/blob/master/src/com/rabbitmq/client/ConnectionFactory.java#L492) So, I think I shall
|
OK, fixed in 854b175. It's not clear that disabling Nagle leads to a performance boost, so I've left it enabled by default. Disable it by providing {noDelay: true} in connection options; e.g.,
|
That was quick. Thanks a lot! |
No problem. It might take a bit longer to make it into a release, since I tend to wait until there's a few enhancements, or critical fixes, before I roll releases. |
I want Nagle's algorithm disabled on the socket connection. Is it already disabled? If not then how can I access the socket to disable it?
The text was updated successfully, but these errors were encountered: