[rabbitmq-discuss] New Persister merged into default

Aaron Westendorf aaron at agoragames.com
Wed Aug 11 12:23:42 BST 2010


Matthias,

I can't begin tell you how fantastic it is to hear that.  Is Rabbit
using mmap for those files to take advantage of kernel caching and
paging?

-Aaron


On Wed, Aug 11, 2010 at 2:18 AM, Matthias Radestock
<matthias at rabbitmq.com> wrote:
>
> Not quite. In the old/current persister, messages marked as persistent that
> are sent to durable queues are written to disk straight away (except for
> various buffering stages). They are *also* kept in memory, like all
> messages. Hence with the old persister rabbit requires enough memory to hold
> all messages, persistent or not. By contrast, the new persister can page
> messages to/from disk in response to changing memory conditions. This
> happens regardless of whether the messages are marked persistent. So the
> "new persister" is not just about message persistence, but message storage
> in general. Memory becomes an optional extra, though it's quite handy to
> have some :)
>
> Regards,
>
> Matthias.


-- 
Aaron Westendorf
Senior Software Engineer
Agora Games
359 Broadway
Troy, NY 12180
Phone: 518.268.1000
aaron at agoragames.com
www.agoragames.com


More information about the rabbitmq-discuss mailing list