[erlang-questions] 20k messages in 4s but want to go faster!
Matthew Sackman
matthew@REDACTED
Sat Jul 11 01:33:57 CEST 2009
On Sat, Jul 11, 2009 at 01:24:46AM +0200, Johnny Billquist wrote:
> Nagle is actually a good thing, which improves performance, not decrease it.
>
> There is one specific situation when you don't want nagle, and that
> is if you send very little data, and what it to be sent immediately.
> In that specific case, Nagle is an obstruction and should be shut
> off.
Yup. The immediate part shouldn't be underestimated. The improvement to
latency can be significant. If you're doing a lot of client-server
communication, then disabling Nagle can improve throughput substantially
as the latency comes down thus permitting higher round trips per second.
Matthew
More information about the erlang-questions
mailing list