[rabbitmq-discuss] Huge latency in Linux, compared with Leopard
rabbitmq-discuss_efine at usa.net
Sat Sep 27 06:30:18 BST 2008
Will you post your erl command line for the Erlang node running the Rabbit
Erlang client, on MacOS and Linux? I am curious to see the options you are
If you were able to post the code too, that would be interesting.
On Fri, Sep 26, 2008 at 2:37 PM, Bogon Choi <bogon.choi at gmail.com> wrote:
> That was my mistake, though. The result is same.
> I am figuring out why two systems have huge latency gap. Thanks.
> Martin Sustrik wrote:
> > I would say you are actually measuring how long printing of timestamp
> > takes rather than latency of RabbitMQ itself :)
> > Try to acquire timestamp first, then send the message then print the
> > timestamp.
> > Martin
> > Bogon Choi wrote:
> >> 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
> >> subscriber
> >> RHET5 Linux: 40.55 milliseconds average latency from a publisher to a
> >> subscriber
> >> 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
> >> What is wrong with between Linux and Erlang?
> > _______________________________________________
> > rabbitmq-discuss mailing list
> > rabbitmq-discuss at lists.rabbitmq.com
> > http://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss
> View this message in context:
> Sent from the RabbitMQ mailing list archive at Nabble.com.
> rabbitmq-discuss mailing list
> rabbitmq-discuss at lists.rabbitmq.com
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the rabbitmq-discuss