And what is default prefetch_count? 0(unlimited) or 1? I believe it depends on client but cant find function that return its value.<div><br></div><div>Thanks,<br> Pavel<br><br><div class="gmail_quote">On Tue, Jan 15, 2013 at 5:14 PM, Matthias Radestock <span dir="ltr"><<a href="mailto:matthias@rabbitmq.com" target="_blank">matthias@rabbitmq.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Pavel,<div class="im"><br>
<br>
On 15/01/13 21:56, Pavel Kogan wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
I am playing now with basic.qos setting but I am not seeing 200Hz. I<br>
see 124Hz which is distributed 100 + 24 and not 62 + 62.<br>
</blockquote>
<br></div>
No idea why that would happen. Could be a quirk of the stats reporting since evidently you are receiving more acks than messages, which cannot possibly be true for anything other than brief periods.<div class="im"><br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
What is recommended value for prefetch_count for maximal throughput?<br>
</blockquote>
<br></div>
As high as possible, though I doubt anything much higher than 100 will be beneficial in your case.<br>
<br>
The downsides of high prefetch counts are:<br>
<br>
- increase in client buffering requirements<br>
<br>
- work load imbalance at consumers when work loads are non-uniform<br>
<br>
- increased cost at broker when consumer connections are interrupted<br>
<br>
Regards,<br>
<br>
Matthias.<br>
</blockquote></div><br></div>