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

Tony Garnock-Jones tonyg at lshift.net
Fri Mar 5 03:16:18 GMT 2010

alex chen wrote:
> For single client with commit on every publish, it can do about 20 msg/sec.
> It took about 40ms for client to get the tx_commit_ok from server.
> if commit on 100 publishes, the performance increases to above 1000 msg/sec.
> Is there anyway to speed up the performance for commit on every publish?  

Part of this can be nagling and general turnaround time. Tx.commit is
synchronous, unfortunately.

How close to exactly 20 msgs/sec was it? If it was startlingly close, we
could be seeing some kind of nagling-like delay being introduced by the
TCP stack: 20 msgs/sec is 50 ms/msg. Does that seem like a familiar
delay-constant to anyone?


More information about the rabbitmq-discuss mailing list