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

Matthew Sackman matthew@REDACTED
Fri Jul 10 20:38:22 CEST 2009

On Fri, Jul 10, 2009 at 07:36:45PM +0100, Joel Reymont wrote:
> On Jul 10, 2009, at 7:29 PM, Matthew Sackman wrote:
> >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.
> {nodelay, true} gives me 3.8-3.9s per 20k messages.

Try adding {sndbuf,16384} (or experiment with different sizes there).


More information about the erlang-questions mailing list