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

Delay when sending events with SocketIOClient #182

Open
kleinph opened this issue Jun 18, 2014 · 0 comments
Open

Delay when sending events with SocketIOClient #182

kleinph opened this issue Jun 18, 2014 · 0 comments

Comments

@kleinph
Copy link

kleinph commented Jun 18, 2014

We expierience a delay in sending Socket.IO-Events maybe in the TCP-Stack implementation. The problem is that the events which we send every 20ms are buffered and sent every 150-200ms all at once.
After short research maybe the Nagle Algorithm is causing this problem (http://en.wikipedia.org/wiki/Nagle%27s_algorithm).
Is there an option to set the TCP_NODELAY flag or could you build in one?
In java it is set by Socket.setNoDelay(true).

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

No branches or pull requests

1 participant