qpid-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Robbie Gemmell <robbie.gemm...@gmail.com>
Subject Re: Automatic queue cleanup
Date Tue, 06 Aug 2013 19:32:03 GMT
Hi James,

Rob meant they would be evicted from memory if required (see [1] for a mail
that covers some background on a semi-related topic), the messages will
still be in the persistent store until they are removed from the queue.

The Java broker currently supports the following ways of removing messages
from queues:
1) Consuming them.
2) Expiration due to TTL.
3) Deleting/moving them using the management interfaces.
4) The queue itself being deleted.

If the messages being sent are persistent, the data/headers for these can
exceed theJVM heap size, but the broker requires heap memory to service
connections, to store non-persistent messages in their entirety, and to
store all the objects for queues etc and the messages on them (whether
persistent or not). You will need to size the JVM heap according to your
requirements, considering elemetns such as how many connections there will
be, how many messages you might expect to be backlogged, are there
non-persistent messages, etc etc. Using a 3-6GB heap can be fairly typical,
but what you need will depend on your use case. Out of interest, do you
have an idea of how many (and what type, size etc of) messages were on the
broker when it ran out of memory?



On 5 August 2013 22:57, jbelch <jamesbelch@verizon.net> wrote:

> Rob,
>    When you say the Broker will evict the messages, what exactly happens
> behind the scenes?  Does it evict the messages from the heap and also
> delete
> from the Berkeley DB store?  Do it evict the messages from the heap and
> retain the message in the Berkeley DB store so that the peristent messages
> can be reloaded when the Broker is cycle.  We would prefer that the
> messages
> get deleted from the Berkeley DB store and they are deleted from memory.
> Thanks,
> James
> --
> View this message in context:
> http://qpid.2158936.n2.nabble.com/Automatic-queue-cleanup-tp7596467p7596495.html
> Sent from the Apache Qpid users mailing list archive at Nabble.com.
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@qpid.apache.org
> For additional commands, e-mail: users-help@qpid.apache.org

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message