Andrea,<br><br><div class="gmail_quote">On Fri, Nov 16, 2012 at 3:41 AM, Rosa, Andrea (HP Cloud Services) <span dir="ltr"><<a href="mailto:andrea.rosa@hp.com" target="_blank">andrea.rosa@hp.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br>I am really surprised that you have the same results. The configuration with RAM nodes should have an impact on the performance.<br>
</blockquote><div> <br>
<p class="MsoNormal"><span style="color:#1f497d">My guess as to why performance
did not improve with RAM nodes in my testing is that the dynamically
created queues and exchanges are defined as auto delete. They go away
when the RabbitMQ server/node is stopped. Guessing that auto-delete
things don’t need their configuration information written to disk is why I
don’t see disk I/O during their dynamic creation/deletion and thus no
improvement when going to RAM nodes.</span></p>
<p class="MsoNormal"><span style="color:#1f497d"> </span></p>
<p class="MsoNormal"><span style="color:#1f497d">Here are the options used for
the dynamically created call response queues/exchanges (from impl_kombu.py):</span></p>
<p class="MsoNormal"><span style="color:#1f497d"> </span></p>
<p class="MsoNormal"><span style="color:#1f497d">
options = {'durable': False,</span></p>
<p class="MsoNormal"><span style="color:#1f497d">
'auto_delete': True,</span></p>
<p class="MsoNormal"><span style="color:#1f497d">
'exclusive': True}</span></p>
<p class="MsoNormal"><span style="color:#1f497d"> </span></p>
<p class="MsoNormal"><span style="color:#1f497d">Here are the options used for
the static call request queues/exchanges (also from impl_kombu.py):</span></p>
<p class="MsoNormal"><span style="color:#1f497d"> </span></p>
<p class="MsoNormal"><span style="color:#1f497d">
</span><span style="color:#1f497d" lang="FR">options =
{'durable': conf.rabbit_durable_queues,</span></p>
<p class="MsoNormal"><span style="color:#1f497d" lang="FR">
</span><span style="color:#1f497d">'auto_delete': False,</span></p>
<p class="MsoNormal"><span style="color:#1f497d">
'exclusive': False}</span></p>
<p class="MsoNormal"><span style="color:#1f497d"> </span></p>
<p class="MsoNormal"><span style="color:#1f497d">That durable conf option is
defined as false:</span></p>
<p class="MsoNormal"><span style="color:#1f497d"> </span></p>
<p class="MsoNormal"><span style="color:#1f497d">
cfg.BoolOpt('rabbit_durable_queues',</span></p>
<p class="MsoNormal"><span style="color:#1f497d">
default=False,</span></p>
<p class="MsoNormal"><span style="color:#1f497d">
help='use durable queues in RabbitMQ')</span></p>
<p class="MsoNormal"><span style="color:#1f497d"> </span></p>
<p class="MsoNormal"><span style="color:#1f497d">So, all queues are defined as
non-durable, but the auto-delete-ness of them varies by what they are used for.</span></p>
<br>Ray<br><br><br><br><br></div></div><br>