[rabbitmq-discuss] Bleeding edge persister and Erlang R13B03

Matthew Sackman matthew at lshift.net
Mon Nov 30 17:42:47 GMT 2009


Hi,

For those of you testing the new persister (branch bug21673), you are
well advised to use Erlang R13B03, and not any version prior to this.
The reason is that in R13B02 and earlier, the garbage collector doesn't
seem to do much. This has a very bad effect on the new persister. R13B03
behaves quite wonderfully in comparison.

Typically, for a process state of about 20MB in size, in R13B02, we see
around 500MB allocated, and manually calling garbage_collect doesn't
shrink it much. In R13B03, for the same amount of process state, we see
about 40MB allocated - i.e. about twice as much as strictly necessary
(which seems to be sensible given garbage collection), as opposed to
more than 20 times as much.

In fact, for those of you using v1.7.0 or any other version of Rabbit,
it's quite likely the improvements to garbage collection in R13B03 are
going to be beneficial.

Matthew




More information about the rabbitmq-discuss mailing list