<meta http-equiv="Content-Type" content="text/html; charset=utf-8"><meta name="ProgId" content="Word.Document"><meta name="Generator" content="Microsoft Word 11"><meta name="Originator" content="Microsoft Word 11"><link rel="File-List" href="file:///C:%5CDOCUME%7E1%5Cashley%5CLOCALS%7E1%5CTemp%5Cc%5Cmsohtml1%5C01%5Cclip_filelist.xml"><style>
<!--
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {mso-style-parent:"";
        margin:0cm;
        margin-bottom:.0001pt;
        mso-pagination:widow-orphan;
        font-size:12.0pt;
        font-family:"Times New Roman";
        mso-fareast-font-family:"Times New Roman";}
p.MsoPlainText, li.MsoPlainText, div.MsoPlainText
        {margin:0cm;
        margin-bottom:.0001pt;
        mso-pagination:widow-orphan;
        font-size:10.0pt;
        font-family:"Courier New";
        mso-fareast-font-family:"Times New Roman";}
@page Section1
        {size:612.0pt 792.0pt;
        margin:72.0pt 90.0pt 72.0pt 90.0pt;
        mso-header-margin:36.0pt;
        mso-footer-margin:36.0pt;
        mso-paper-source:0;}
div.Section1
        {page:Section1;}
-->
</style>
<p style="font-family: arial,helvetica,sans-serif;" class="MsoPlainText">Matthias</p>
<p style="font-family: arial,helvetica,sans-serif;" class="MsoPlainText"> </p>
<p style="font-family: arial,helvetica,sans-serif;" class="MsoPlainText">It's a 100Mbps network. </p>
<p style="font-family: arial,helvetica,sans-serif;" class="MsoPlainText"> </p>
<p style="font-family: arial,helvetica,sans-serif;" class="MsoPlainText">The messages are retrieved like this:</p>
<p style="font-family: arial,helvetica,sans-serif;" class="MsoPlainText">----- <br></p>
<p style="font-family: arial,helvetica,sans-serif;" class="MsoPlainText">BasicGetResult result = ch.BasicGet("tempQ",
false);</p>
<p style="font-family: arial,helvetica,sans-serif;" class="MsoPlainText">ch.BasicAck(result.DeliveryTag, false);</p>
<p style="font-family: arial,helvetica,sans-serif;" class="MsoPlainText">----- <br></p>
<p style="font-family: arial,helvetica,sans-serif;" class="MsoPlainText"> </p>
<p style="font-family: arial,helvetica,sans-serif;" class="MsoPlainText">I'll try out your suggested alternate method of basic.consume.</p>
<p style="font-family: arial,helvetica,sans-serif;" class="MsoPlainText"></p>
<p style="font-family: arial,helvetica,sans-serif;" class="MsoPlainText"> </p>
<p style="font-family: arial,helvetica,sans-serif;" class="MsoPlainText">Thanks for the info</p>
<p style="font-family: arial,helvetica,sans-serif;" class="MsoPlainText"> </p>
<p style="font-family: arial,helvetica,sans-serif;" class="MsoPlainText">Cheers</p>
<p class="MsoPlainText"><span style="font-family: arial,helvetica,sans-serif;">Ashley </span></p>
<br><br><br><div class="gmail_quote">On Thu, Apr 30, 2009 at 7:21 AM, Matthias Radestock <span dir="ltr"><<a href="mailto:matthias@lshift.net">matthias@lshift.net</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Ashley,<br>
<br>
Ashley van Gerven wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div class="im">
I'm fairly new to rabbitMQ - one of the tests I did was to read 1000 messages from rabbitMQ server running locally vs. reading 1000 messages from another server (using .NET client).<br>
<br>
Performance was approx 1000 per second connecting from the same server, vs approx 200 p/s connecting from another server (single-node broker).<br>
<br></div>
What would the bottleneck be here that's limiting the reads to 200 p/s? My guess would be the network hardware.<br>
</blockquote>
<br>
What network bandwidth do you have?<br>
<br>
And how exactly are you reading messages?<div class="im"><br>
<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Are there any tricks with setting up or connecting to minimise read times?<br>
</blockquote>
<br></div>
Are you using basic.get? If so then the throughput will be determined by the network latency, since basic.get incurs a full network round-trip per message. To avoid that use basic.consume to set up asynchronous "push" delivery that streams messages to the client.<div class="im">
<br>
<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
And what sort of performance benefits can there usually be realized for every node added to a cluster?<br>
</blockquote>
<br></div>
That very much depends on your routing topology. At one extreme, if you have a single producer sending messages to a single consumer then adding nodes will not help at all. At the other extreme, if you have many disjoint streams then near-linear scalability is achievable.<br>
<br>
<br>
Regards,<br><font color="#888888">
<br>
Matthias.<br>
</font></blockquote></div><br>