Hi,<br><br>We are in the process of evaluating middleware and choosing which middleware we pick for a potentially large scale distributed application. We did an evaluation between activemq and rabbitmq with different test cases. So far activemq has outperformed rabbitmq using the default out-of-box configuration especially on the latency side. We use activemq openWire protocol vs. rabbit AMQP, Here is one example result of the test we did on 1 publisher/1 consumer and we measure the latency from send to receive time. Similar results we get from multiple consumers as well. Any one has done the similar benchmark? Could you please share your experience? And if anyone knows the tips to boost rabbitmq performance, please let us know. The rabbit test client is using fanout exchange and MINIMAL_BASIC to publish messages.<br><br>
<table border="0" cellpadding="0" cellspacing="0" width="1402"><colgroup><col style="mso-width-source:userset;mso-width-alt:10934;width:224pt" width="299">
<col style="mso-width-source:userset;mso-width-alt:2048;width:42pt" width="56">
<col style="mso-width-source:userset;mso-width-alt:3291;width:68pt" width="90">
<col style="mso-width-source:userset;mso-width-alt:3913;width:80pt" width="107">
<col style="mso-width-source:userset;mso-width-alt:2889;width:59pt" width="79">
<col style="mso-width-source:userset;mso-width-alt:2998;width:62pt" width="82">
<col style="mso-width-source:userset;mso-width-alt:3876;width:80pt" width="106">
<col style="mso-width-source:userset;mso-width-alt:3181;width:65pt" width="87">
<col style="mso-width-source:userset;mso-width-alt:3840;width:79pt" width="105">
<col style="mso-width-source:userset;mso-width-alt:2852;width:59pt" width="78">
<col style="mso-width-source:userset;mso-width-alt:2998;width:62pt" width="82">
<col style="mso-width-source:userset;mso-width-alt:2816;
width:58pt" span="3" width="77">
</colgroup><tbody><tr style="height:15.0pt" height="20">
<td class="xl64" style="height:15.0pt;width:224pt" height="20" width="299">
<table border="0" cellpadding="0" cellspacing="0" width="1402"><colgroup><col style="mso-width-source:userset;mso-width-alt:10934;width:224pt" width="299">
<col style="mso-width-source:userset;mso-width-alt:2048;width:42pt" width="56">
<col style="mso-width-source:userset;mso-width-alt:3291;width:68pt" width="90">
<col style="mso-width-source:userset;mso-width-alt:3913;width:80pt" width="107">
<col style="mso-width-source:userset;mso-width-alt:2889;width:59pt" width="79">
<col style="mso-width-source:userset;mso-width-alt:2998;width:62pt" width="82">
<col style="mso-width-source:userset;mso-width-alt:3876;width:80pt" width="106">
<col style="mso-width-source:userset;mso-width-alt:3181;width:65pt" width="87">
<col style="mso-width-source:userset;mso-width-alt:3840;width:79pt" width="105">
<col style="mso-width-source:userset;mso-width-alt:2852;width:59pt" width="78">
<col style="mso-width-source:userset;mso-width-alt:2998;width:62pt" width="82">
<col style="mso-width-source:userset;mso-width-alt:2816;
width:58pt" span="3" width="77">
</colgroup><tbody><tr style="height:15.0pt" height="20">
<td class="xl65" style="height:15.0pt;width:224pt" height="20" width="299">
<table border="0" cellpadding="0" cellspacing="0" width="1402"><colgroup><col style="mso-width-source:userset;mso-width-alt:10934;width:224pt" width="299">
<col style="mso-width-source:userset;mso-width-alt:2048;width:42pt" width="56">
<col style="mso-width-source:userset;mso-width-alt:3291;width:68pt" width="90">
<col style="mso-width-source:userset;mso-width-alt:3913;width:80pt" width="107">
<col style="mso-width-source:userset;mso-width-alt:2889;width:59pt" width="79">
<col style="mso-width-source:userset;mso-width-alt:2998;width:62pt" width="82">
<col style="mso-width-source:userset;mso-width-alt:3876;width:80pt" width="106">
<col style="mso-width-source:userset;mso-width-alt:3181;width:65pt" width="87">
<col style="mso-width-source:userset;mso-width-alt:3840;width:79pt" width="105">
<col style="mso-width-source:userset;mso-width-alt:2852;width:59pt" width="78">
<col style="mso-width-source:userset;mso-width-alt:2998;width:62pt" width="82">
<col style="mso-width-source:userset;mso-width-alt:2816;
width:58pt" span="3" width="77">
</colgroup><tbody><tr style="height:15.0pt" height="20">
<td class="xl65" style="height:15.0pt;width:224pt" height="20" width="299">BrokerType</td>
<td class="xl65" style="width:42pt" width="56">Publishers</td>
<td class="xl65" style="width:68pt" width="90">Consumers</td>
<td class="xl65" style="width:80pt" width="107">SlowConsumers</td>
<td class="xl65" style="width:59pt" width="79">TgtMsgRate(mps)</td>
<td class="xl65" style="width:62pt" width="82">TgtMsgLimit</td>
<td class="xl65" style="width:80pt" width="106">AvgMsgSentRate(mps)</td>
<td class="xl65" style="width:65pt" width="87">AvgSentTime(ns)</td>
<td class="xl65" style="width:79pt" width="105">AvgMsgRcvRate(mps)</td>
<td class="xl65" style="width:59pt" width="78">MinLat(ns)</td>
<td class="xl65" style="width:62pt" width="82">MaxLat(ns)</td>
<td class="xl65" style="width:58pt" width="77">AvgLat(ns)</td>
<td class="xl65" style="width:58pt" width="77">MedLat(ns)</td>
<td class="xl65" style="width:58pt" width="77">90%Lat(ns)</td>
</tr>
<tr style="height:15.0pt" height="20">
<td style="height:15.0pt" height="20">Activemq@middlewarebench</td>
<td align="right">1</td>
<td align="right">1</td>
<td align="right">0</td>
<td align="right">25000</td>
<td align="right">1000000</td>
<td align="right">20776</td>
<td align="right">5644</td>
<td align="right">20776</td>
<td align="right">99484</td>
<td align="right">7959080</td>
<td align="right">259337</td>
<td align="right">255760</td>
<td align="right">316848</td>
</tr>
<tr style="height:15.0pt" height="20">
<td style="height:15.0pt" height="20">Rabbit@middlewarebench</td>
<td align="right">1</td>
<td align="right">1</td>
<td align="right">0</td>
<td align="right">25000</td>
<td align="right">1000000</td>
<td align="right">20749</td>
<td align="right">5440</td>
<td align="right">20749</td>
<td align="right">171994</td>
<td align="right">46140955</td>
<td align="right">870211</td>
<td align="right">913283</td>
<td align="right">988979</td>
</tr>
<tr style="height:15.0pt" height="20">
<td style="height:15.0pt" height="20"><br></td>
<td><br></td>
<td><br></td>
<td><br></td>
<td><br></td>
<td><br></td>
<td><br></td>
<td><br></td>
<td><br></td>
<td><br></td>
<td><br></td>
<td><br></td>
<td><br></td>
<td><br></td>
</tr>
<tr style="height:15.0pt" height="20">
<td style="height:15.0pt" height="20">Activemq@middlewarebench</td>
<td align="right">1</td>
<td align="right">1</td>
<td align="right">0</td>
<td align="right">100000</td>
<td align="right">1000000</td>
<td align="right">62695</td>
<td align="right">5347</td>
<td align="right">62695</td>
<td align="right">100634</td>
<td align="right">19872040</td>
<td align="right">491588</td>
<td align="right">359763</td>
<td align="right">510862</td>
</tr>
<tr style="height:15.0pt" height="20">
<td style="height:15.0pt" height="20">Rabbit@middlewarebench</td>
<td align="right">1</td>
<td align="right">1</td>
<td align="right">0</td>
<td align="right">100000</td>
<td align="right">1000000</td>
<td align="right">56850</td>
<td align="right">6790</td>
<td align="right">54512</td>
<td align="right">315808</td>
<td align="right">822398215</td>
<td align="right">487403726</td>
<td align="right">487170082</td>
<td align="right">696265654</td>
</tr>
</tbody></table></td>
<td class="xl65" style="width:42pt" width="56"><br></td>
<td class="xl65" style="width:68pt" width="90"><br></td>
<td class="xl65" style="width:80pt" width="107"><br></td>
<td class="xl65" style="width:59pt" width="79"><br></td>
<td class="xl65" style="width:62pt" width="82"><br></td>
<td class="xl65" style="width:80pt" width="106"><br></td>
<td class="xl65" style="width:65pt" width="87"><br></td>
<td class="xl65" style="width:79pt" width="105"><br></td>
<td class="xl65" style="width:59pt" width="78"><br></td>
<td class="xl65" style="width:62pt" width="82"><br></td>
<td class="xl65" style="width:58pt" width="77"><br></td>
<td class="xl65" style="width:58pt" width="77"><br></td>
<td class="xl65" style="width:58pt" width="77"><br></td>
</tr>
<tr style="height:15.0pt" height="20">
<td style="height:15.0pt" height="20"><br></td>
<td align="right"><br></td>
<td align="right"><br></td>
<td align="right"><br></td>
<td align="right"><br></td>
<td align="right"><br></td>
<td align="right"><br></td>
<td align="right"><br></td>
<td align="right"><br></td>
<td align="right"><br></td>
<td align="right"><br></td>
<td align="right"><br></td>
<td align="right"><br></td>
<td align="right"><br></td>
</tr>
<tr style="height:15.0pt" height="20">
<td style="height:15.0pt" height="20"><br></td>
<td align="right"><br></td>
<td align="right"><br></td>
<td align="right"><br></td>
<td align="right"><br></td>
<td align="right"><br></td>
<td align="right"><br></td>
<td align="right"><br></td>
<td align="right"><br></td>
<td align="right"><br></td>
<td align="right"><br></td>
<td align="right"><br></td>
<td align="right"><br></td>
<td align="right"><br></td>
</tr>
<tr style="height:15.0pt" height="20">
<td style="height:15.0pt" height="20"><br></td>
<td><br></td>
<td><br></td>
<td><br></td>
<td><br></td>
<td><br></td>
<td><br></td>
<td><br></td>
<td><br></td>
<td><br></td>
<td><br></td>
<td><br></td>
<td><br></td>
<td><br></td>
</tr>
<tr style="height:15.0pt" height="20">
<td style="height:15.0pt" height="20"><br></td>
<td align="right"><br></td>
<td align="right"><br></td>
<td align="right"><br></td>
<td align="right"><br></td>
<td align="right"><br></td>
<td align="right"><br></td>
<td align="right"><br></td>
<td align="right"><br></td>
<td align="right"><br></td>
<td align="right"><br></td>
<td align="right"><br></td>
<td align="right"><br></td>
<td align="right"><br></td>
</tr>
<tr style="height:15.0pt" height="20">
<td style="height:15.0pt" height="20"><br></td>
<td align="right"><br></td>
<td align="right"><br></td>
<td align="right"><br></td>
<td align="right"><br></td>
<td align="right"><br></td>
<td align="right"><br></td>
<td align="right"><br></td>
<td align="right"><br></td>
<td align="right"><br></td>
<td align="right"><br></td>
<td align="right"><br></td>
<td align="right"><br></td>
<td align="right"><br></td>
</tr>
</tbody></table></td>
<td class="xl64" style="width:42pt" width="56"><br></td>
<td class="xl64" style="width:68pt" width="90"><br></td>
<td class="xl64" style="width:80pt" width="107"><br></td>
<td class="xl64" style="width:59pt" width="79"><br></td>
<td class="xl64" style="width:62pt" width="82"><br></td>
<td class="xl64" style="width:80pt" width="106"><br></td>
<td class="xl64" style="width:65pt" width="87"><br></td>
<td class="xl64" style="width:79pt" width="105"><br></td>
<td class="xl64" style="width:59pt" width="78"><br></td>
<td class="xl64" style="width:62pt" width="82"><br></td>
<td class="xl64" style="width:58pt" width="77"><br></td>
<td class="xl64" style="width:58pt" width="77"><br></td>
<td class="xl64" style="width:58pt" width="77"><br></td>
</tr>
<tr style="height:15.0pt" height="20">
<td style="height:15.0pt" height="20"><br></td>
<td align="right"><br></td>
<td align="right"><br></td>
<td align="right"><br></td>
<td align="right"><br></td>
<td align="right"><br></td>
<td align="right"><br></td>
<td align="right"><br></td>
<td align="right"><br></td>
<td align="right"><br></td>
<td align="right"><br></td>
<td align="right"><br></td>
<td align="right"><br></td>
<td align="right"><br></td>
</tr>
<tr style="height:15.0pt" height="20">
<td style="height:15.0pt" height="20"><br></td>
<td align="right"><br></td>
<td align="right"><br></td>
<td align="right"><br></td>
<td align="right"><br></td>
<td align="right"><br></td>
<td align="right"><br></td>
<td align="right"><br></td>
<td align="right"><br></td>
<td align="right"><br></td>
<td align="right"><br></td>
<td align="right"><br></td>
<td align="right"><br></td>
<td align="right"><br></td>
</tr>
</tbody></table><br>