<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix"><br>
Hi,<br>
<br>
Thank you for prompt reply!<br>
<br>
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).<br>
<br>
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. <br>
<br>
So, on producer side, we have many connections being made and 1-3
short messages sent on single queue.<br>
<br>
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.<br>
<br>
Regards,<br>
Nikola<br>
<br>
<br>
On 05/18/2013 10:33 PM, Michael Klishin wrote:<br>
</div>
<blockquote
cite="mid:CAE3HoVTT_bgQkpe_=E=X+FHtgAWZr4=rkehEmMS+=MKk51a+bg@mail.gmail.com"
type="cite">
<div dir="ltr">
<div class="gmail_extra">2013/5/18 nikolasavic77 <span
dir="ltr"><<a moz-do-not-send="true"
href="mailto:niksav@osic.rs" target="_blank">niksav@osic.rs</a>></span><br>
<div class="gmail_quote">
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">
<div>What is expected value of consumed msg/s per CPU code
running at 2.4GHz?</div>
<div><br>
</div>
<div>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 :(</div>
</blockquote>
</div>
<br>
It depends on message size but 500 sounds way too low.
However, consumer throughput greatly depends on the client</div>
<div class="gmail_extra">and consumer code. Can you post any?
What are your prefetch settings?<br>
-- <br>
MK<br>
<br>
<a moz-do-not-send="true"
href="http://github.com/michaelklishin" target="_blank">http://github.com/michaelklishin</a><br>
<a moz-do-not-send="true"
href="http://twitter.com/michaelklishin" target="_blank">http://twitter.com/michaelklishin</a><br>
</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
rabbitmq-discuss mailing list
<a class="moz-txt-link-abbreviated" href="mailto:rabbitmq-discuss@lists.rabbitmq.com">rabbitmq-discuss@lists.rabbitmq.com</a>
<a class="moz-txt-link-freetext" href="https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss">https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss</a>
</pre>
</blockquote>
<br>
</body>
</html>