-
Notifications
You must be signed in to change notification settings - Fork 21
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
Very important setting for performance #8
Comments
@sazo nice catch! |
it looks like maintainer has left project( |
@fizzka we ended up forking this repo and the main nats repo. :) We are planing implementing non-blocking socket stream for performance reasons |
@sazo It'd be great if you wanted to make a pull request with those changes in both? |
@sazo Could you please tell me how to set it? Thanks! |
After 1.5 weeks of debugging (yes i kind you not) i found the stream socket setting 'tcp_nodelay' to be very important for performance.
See http://php.net/manual/en/context.socket.php
With tcp_nodelay set to false
With tcp_nodelay set to true
Cut down response time by ~100MS
The text was updated successfully, but these errors were encountered: