[rabbitmq-discuss] Expected msg/s per CPU core

Nikola Savic niks at osic.rs
Sun May 19 08:55:59 BST 2013


Hi,

Thank you for prompt reply!

Web application is coded in PHP. We tried both PHP AMQP extension and 
php-amqplib. We ended up using AMQP extension, because it works much 
faster, since php-amqplib took 80-100ms to connect and send single 
message (but that's different issue).

With every execution, PHP scripts connects to RabbitMQ and post 1-3 
messages. Since we're tracking banner displaying, additionally when 
displayed to user, each page generates 3-5 more messages.

So, on producer side, we have many connections being made and 1-3 short 
messages sent on single queue.

On consumer side we have worker PHP processes, which are connected once 
and receive messages. From time to time, we're sending ECHO (loopback 
messages) from producers to themselves, because we noticed that 
producers do not recognize RabbitMQ server has gone away or that VIP has 
switched to different server. With each ECHO message new connection is 
established.

Regards,
Nikola


On 05/18/2013 10:33 PM, Michael Klishin wrote:
> 2013/5/18 nikolasavic77 <niksav at osic.rs <mailto:niksav at osic.rs>>
>
>     What is expected value of consumed msg/s per CPU code running at
>     2.4GHz?
>
>     We're using 4 core VM running only RabbitMQ. When under load of
>     about 500msg/s, IDLE is only about 50%. This sounds like far away
>     from high performance, since we're expecting much much more msg/s :(
>
>
> It depends on message size but 500 sounds way too low. However, 
> consumer throughput greatly depends on the client
> and consumer code. Can you post any? What are your prefetch settings?
> -- 
> MK
>
> http://github.com/michaelklishin
> http://twitter.com/michaelklishin
>
>
> _______________________________________________
> rabbitmq-discuss mailing list
> rabbitmq-discuss at lists.rabbitmq.com
> https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rabbitmq.com/pipermail/rabbitmq-discuss/attachments/20130519/6efb4f77/attachment.htm>


More information about the rabbitmq-discuss mailing list