activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rob Davies <rajdav...@gmail.com>
Subject Re: Topic and Queue performances
Date Mon, 15 Jan 2007 21:46:49 GMT

Messages are swapped to disk  in version 4.2

cheers,

Rob
On 15 Jan 2007, at 21:39, Rainer Klute wrote:

> Rob Davies schrieb:
>> The big difference between topics and queues is that for queues, if
>> the messages have a persistent delivery mode, they are always  
>> added to
>> the message store. This is only true for topics if a durable
>> subscriber exists and is interested in that topic.
>
> Which is not good. If many messages are added to the topic without  
> being
> taken off from the broker by consumers, the memory is soaked up  
> quickly,
> OutOfMemoryErrors occur, and the whole application gets corrupted. If
> the topic is too full, ActiveMQ should start to swap messages to
> external memory  (disk). Sure, performance would be degraded but at
> least nothing will break.
>
> Best regards
> Rainer Klute
>
>                            Rainer Klute IT-Consulting GmbH
>   Dipl.-Inform.
>   Rainer Klute             E-Mail:  klute@rainer-klute.de
>   K├Ârner Grund 24          Telefon: +49 172 2324824
> D-44143 Dortmund           Telefax: +49 231 5349423
>
> OpenPGP fingerprint: E4E4386515EE0BED5C162FBB5343461584B5A42E
>
>


Mime
View raw message