<div dir="ltr"><<Sorry. Finger hit cmd-enter>><div><br></div><div><font face="arial, sans-serif">So, in testing the use of publisher confirms in RabbitMQ I am seeing a significant (many orders of magnitude) decrease in performance when requesting publisher confirms. Based on my interpretation of the documentation, it appears that, in order to confirm each message queued was written to disc, I need to make a request to get the acknowledgment. In doing so, my publishing rates look like this:</font><br>
</div><div><font face="arial, sans-serif"><br></font></div><div><font face="arial, sans-serif">Without publisher confirms:</font></div><div><font face="arial, sans-serif"><br></font></div><div><font face="arial, sans-serif">~11k/mps</font></div>
<div><font face="arial, sans-serif"><br></font></div><div><font face="arial, sans-serif">With publisher confirms (including call for ack):</font></div><div><font face="arial, sans-serif"><br></font></div><div><font face="arial, sans-serif">187/mps</font></div>
<div><font face="arial, sans-serif"><br></font></div><div><font face="arial, sans-serif">I feel that I must be doing something wrong. The servers hosting RabbitMQ are quite robust with 16 cores, 32gb RAM and SSD drives.</font></div>
<div><font face="arial, sans-serif"><br></font></div><div><font face="arial, sans-serif">Is anybody aware of a good example doing publisher confirms, preferably in erlang but any language will do. Also, is it necessary to do it for each message? I know, theoretically, the answer is no. But I have a wrapper around Rabbit that must return synchronously to clients publishing messages so it appears to be the best option.</font></div>
<div><font face="arial, sans-serif"><br></font></div><div><font face="arial, sans-serif">Thanks in advance for any help.</font></div><div><font face="arial, sans-serif"><br></font></div><div><font face="arial, sans-serif">Best.</font></div>
</div><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Dec 17, 2013 at 4:06 PM, Ryan Brown <span dir="ltr"><<a href="mailto:ryankbrown@gmail.com" target="_blank">ryankbrown@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">So, in testing the use of publisher confirms in RabbitMQ I am seeing a significant (many orders of magnitude) decrease in performance when requesting publisher confirms. Based on my interpretation of the documentation, it appears that, in order to confrim each message queued was written to disc, I need to make a re<span class="HOEnZb"><font color="#888888"><br clear="all">
<div><br></div>-- <br>-rb
</font></span></div>
</blockquote></div><br><br clear="all"><div><br></div>-- <br>-rb
</div>