On 6/16/06, skarthik <[EMAIL PROTECTED]> wrote:

Thanks James,

The guide is useful. I have a couple of questions.

 Suppose we really don't need persistence as we don't use durable
subcribers, would there be any other reason to use persitent messages?

Durable queues in particular allow you to have massive queues; rather
than limit queues to a specific size defined in some RAM buffer.


 I got the impression from various posts, that enabling/using perisistence,
optimizes the activeMQ server memory usage in case of large volume of
messages, as the message would not be kept in memory once it is
check-pointed.

Yes. If you use pure in-RAM based queues then at some point the
configured RAM buffer fills up and our only option is to block
producers until it frees back up again. This is not the case with
persistent queues since we can spool to disk.

There's also the big difference that if you are using non-persistent
messaging and someone kills the broker, you loose messages.


--

James
-------
http://radio.weblogs.com/0112098/

Reply via email to