[rabbitmq-discuss] Possibly latency issues
Emile Joubert
emile at rabbitmq.com
Tue Feb 7 15:23:26 GMT 2012
Hi Sam,
On 07/02/12 02:45, Sam Crawley wrote:
> In these tests, I get an average of about 0.1s for the round trip. Does
> this seem unreasonably slow? In an identical test using Spread, I get
> times of around 0.01s (the application performance issue we're seeing is
> showing RabbitMQ about 3-4 times slower than Spread).
There are a few factors that will influence the latency on the broker.
Auto-acknowledgement and asynchronous delivery should be used.
Persistence, transactions, long queues and synchronous message delivery
should be avoided. Reducing the maximum frame size may help latency.
Make sure the difference you are measuring is due to the broker only and
not a change in network conditions. A quick unscientific test shows that
latencies of 0.001s are typical on my own workstation for messages of
5kb when using localhost (so very little network delay) and when queues
are short.
That said, RabbitMQ is not specifically aimed at the ultra low-latency
market. There are more suitable products available if latency is your
overriding concern.
-Emile
More information about the rabbitmq-discuss
mailing list