On 10 Sep 2015 at 21:28:53, Nikos Skalis (
nskalis....@gmail.com) wrote:
> but what i would to ask you is; performance-wise is there any
> difference between durable and transient queues ?
> or durability in the queue context is only about the configuration
> of the broker ?
There is some but there is no an easy “yes” or “no” answer if you ask me.
Transient messages will be moved to disk when a node is under memory pressure.
Of course, not moving messages to disk when there’s RAM available should in
theory lead to better throughput and possibly lower latency, however, in practices
things are a lot more nuanced.
So you will see somewhat higher throughput with transient messages and/or non-durable
queues but not particularly significant. There are also RAM vs. disk nodes that determine
how metadata about queues, bindings, exchanges is stored. 99% of the time you don’t
need RAM nodes but some users with very high binding churn found them useful.
--
MK
Staff Software Engineer, Pivotal/RabbitMQ