Hi William,
Thanks for the response.
Sorry yes you are correct I should have been more specific, with a
durable queue messages don't get persisted if the messages aren't marked
as durable however marking messages as durable is the default behaviour
(certainly for JMS producers) and I'm not really able to rely on
producers explicitly disabling this, so I'd quite like to be able to let
the queue make the choice.
Unfortunately there aren't two settings for queues, which is why I
raised the question.
So would queues marked as durable really have zero performance impact on
messages marked as non-durable?
Frase
On 11/02/12 18:47, William Henry wrote:
William
On Feb 11, 2012, at 2:42 AM, Fraser Adams<[email protected]> wrote:
This might be a slightly weird question, but what does making an exchange
persistent actually do?
What I mean is that one of the behaviours that I'd really like with Qpid is to
be able to have *configuration* persisted.
With queues if I make the queue durable then I end up with queue config that
survives broker restarts, but unfortunately (for my scenario) I also end up
with a queue that persists messages and gives me a performance hit etc. which I
don't want.
I didn't think this was the case if messages were not marked persistent. Are
you sure? Are you using JMS and is this an artifact of using JMS?
So what about exchanges? If I create an exchange marked as durable does this
simply persist the exchange configuration and allow it to be recreated
automatically on broker restart or does it also mess with messages (in other
words does a durable exchange do anything specific on the message flow
performance critical path that might affect message flow performance?)
No effect on messages. Just means exchange will survive a restart. Durable
queues were supposed to have the same behavior. Perhaps that has changed or
perhaps there are two settings for queues now (?)
William
Does anyone have any thoughts on how easy it might be to add a switch like
"durable-config" (as opposed to "durable") to queue creation. I've got a nasty
feeling that it might be harder than it sounds as I think that queues can be created via QMF and
also by underlying queueDeclare methods (I *think* qpid-config and Address parsing use the latter)
so I guess that one would have to be careful to avoid breaking anything that relies on the current
method signature.
MTIA
Frase
---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project: http://qpid.apache.org
Use/Interact: mailto:[email protected]
---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project: http://qpid.apache.org
Use/Interact: mailto:[email protected]
---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project: http://qpid.apache.org
Use/Interact: mailto:[email protected]