[rabbitmq-discuss] RabbitMQ Latency

Emile Joubert emile at rabbitmq.com
Thu Aug 16 17:12:23 BST 2012


On 16/08/12 01:07, Tom Wrigg wrote:
> The first method uses two separate processes - one for the publishing
> app - one for the consuming app. It produces a latency of about at 4ms.
> The second method uses just one app to produce and consume. This
> produces a latency of about 40ms. Can anyone explain to me why? Thank
> you for your time.

In the one the publisher can publish as fast as it likes (within the
limits imposed by internal flow control in the broker) while with the
other publishing and consuming messages happen in lockstep - that's why
it's slower.


More information about the rabbitmq-discuss mailing list