[rabbitmq-discuss] Huge latency in Linux, compared with Leopard
bogon.choi at gmail.com
Fri Sep 26 18:32:16 BST 2008
I tested very basic end-to-end latency of RabbitMQ 1.4.0 on Mac OS X Leopard
and RHET Linux.
A publisher prints out a timestamp right before it publishes a message, and
a subscriber receives the messages and prints out a timestamp. Every 3
second one process published a 1KB message. This is the very basic and easy
latency test I am always doing before I deploy systems.
But, the result was surprisingly comic.
Mac OS X Leopard: 4 milliseconds average latency from a publisher to a
RHET5 Linux: 40.55 milliseconds average latency from a publisher to a
I am using Erlang R12B-4, and compiled it from "./configure" and "make".
There was an error like a "JInterface" and "ODBC" stuffs at configuring from
Linux. I just ignored it.
All publisher, server, and subscriber were running at the same machine. So,
we can ignore the network delay on this test.
I tried also from Ubuntu 8.1 and its latency was also 40.55 milliseconds.
What is wrong with between Linux and Erlang?
View this message in context: http://www.nabble.com/Huge-latency-in-Linux%2C-compared-with-Leopard-tp19692099p19692099.html
Sent from the RabbitMQ mailing list archive at Nabble.com.
More information about the rabbitmq-discuss