[rabbitmq-discuss] Huge latency in Linux, compared with Leopard

Ben Hood 0x6e6562 at gmail.com
Sat Sep 27 22:21:53 BST 2008


On Sat, Sep 27, 2008 at 9:24 PM, Holger Hoffstätte <holger at wizards.de> wrote:
> Matthias Radestock wrote:
>> Adding the line
>>     -kernel inet_default_listen_options '[{nodelay, true}]' \
>> to the options in the rabbitmq-server script does improve the results
>> significantly.

You're the man!

> Nagle makes sense in order to maximize bandwidth and prevent wasting
> packets for small payloads (~couple bytes, as for telnet) that can be
> packed together into one MTU. This may or may not make sense for Rabbit
> but is dependent on the network link and the payloads. So turning it off
> may be the right thing for localhost/LAN messaging where the cost of a
> single packet is low, but not at all for large(r) payloads and high
> bandwidth or slower tranports. I doubt that there are any people left who
> want to run over modem or carrier pidgeon..

Of which there are a few:


More information about the rabbitmq-discuss mailing list