[rabbitmq-discuss] Producer eating up RAM

Ben Hood 0x6e6562 at gmail.com
Mon Oct 5 12:03:08 BST 2009


Suhail,

On Mon, Oct 5, 2009 at 2:08 AM, Suhail Doshi <suhail at mixpanel.com> wrote:
> Here's part of the queue code we use:

A few observations:

- Tickets and realms are toast in Rabbit now, so you can nuke that code;
- You set a lot of fields that are identical to the default values,
hence adding unnecessary extra code;
- You are also using a fairly old version of the Erlang client - you
are less likely to get any serious feedback when you are not using the
latest version;

In general the idea is to write the most concise piece of code that
you can that replicates the issue, even if it does take 5 hours to
reproduce - we can run the code for 5 hours locally if we need to as
well. Otherwise we have little hope of being able to help you.

Ben




More information about the rabbitmq-discuss mailing list