[rabbitmq-discuss] limit number of messages buffered in memory in new persister

tsuraan tsuraan at gmail.com
Sat Mar 6 05:15:06 GMT 2010


>> self.sock.setsockopt(socket.SOL_TCP, socket.TCP_NODELAY, 0)
>
> Thanks for the suggestion!  We are using rabbitmq-c.  I tried setting (TCP_NODELAY, 1) and the troughput increased from 20 msg/sec to 200 msg/sec.  As Tony pointed out in the previous email it was indeed caused by nagling.   it did not happen to tx_select but it happened to tx_commit.

Yeah, I suppose enabling tcp_nodelay would be more useful than
disabling it :)  Anyhow, glad to hear that it helped.




More information about the rabbitmq-discuss mailing list