activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rob Davies (JIRA)" <>
Subject [jira] Resolved: (AMQ-791) support spool to disk for non-persistent topic consumers
Date Sat, 25 Nov 2006 07:12:02 GMT
     [ ]

Rob Davies resolved AMQ-791.

    Resolution: Fixed

This is SVN revision 479094

Use in mmeory list in FilePendingMessageCursor - until memory limit reached - then use disk.
USe FilePendingMessageCursor in TopicSubscription instead of LinkedList

> support spool to disk for non-persistent topic consumers
> --------------------------------------------------------
>                 Key: AMQ-791
>                 URL:
>             Project: ActiveMQ
>          Issue Type: New Feature
>          Components: Broker
>            Reporter: james strachan
>         Assigned To: Rob Davies
>             Fix For: 4.2.0
> Rather than just blocking when RAM is full we could have a high-water mark where we start
spooling messages to disk if there is not sufficient RAM to hold the messages.
> The good thing about this approch is that it avoids blocking the producers when RAM is
full; the downside is that once spooling starts, the producer will be slowed down to the speed
of the disk spooling (as due to RAM exhaustion under steady state, the producer will have
to wait for the message to be spooled to disk so that it can evict it from RAM so that it
can send the next message).
> Though the journal is quite fast so the slow down shouldn't be too many orders of magnitude
(and is better than making things appear to 'lock up' while we wait for the slowest consumer
to acknowledge more messages).

This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
For more information on JIRA, see:


View raw message