[erlang-questions] 20k messages in 4s but want to go faster!

Matthew Sackman matthew@REDACTED
Fri Jul 10 20:29:35 CEST 2009


On Fri, Jul 10, 2009 at 07:24:07PM +0100, Joel Reymont wrote:
> I can't seem to send 20k messages in much less than 4 seconds and
> would appreciate any suggestions on how to improve my broadcasting
> speed.

Have you tried turning of nagle? We've found it's almost always a bad
idea to leave it on. Add {nodelay, true} to your options.

Matthew


More information about the erlang-questions mailing list