[rabbitmq-discuss] PubSub - all bindings have to be in memory?
ben.browitt at gmail.com
Mon Feb 1 15:56:14 GMT 2010
On Mon, Feb 1, 2010 at 4:44 PM, Matthew Sackman <matthew at lshift.net> wrote:
> Firstly, I made a mistake in my previous post - it's 24 *words*, not
> bytes. Sorry!
> On Mon, Feb 01, 2010 at 04:01:06PM +0200, Ben Browitt wrote:
> > Let's say RAM can fit all my bindings and that I'm using fixed sized
> > with direct exchanges.
> > Assuming that the incoming and outgoing number of messages is constant,
> > should I expect the performance to degrade as the number of bindings
> > increases or will it stay the same?
> It'll degrade. If you use topic exchanges then it can degrade linearly
> (which needn't be the case - we have bugs open to fix this), but if you
> use a direct exchange then it'll be O(log_2 N) as the bindings are
> indexable by a b-tree.
> > In other words, does a large number of queues, exchanges and bindings
> > the load even when most of them aren't being used?
> Yes. I would not recommend that you keep bindings around which are not
> used for long periods of time if they impact the performance of the
> system overall. It depends on what kind of throughput you're needing to
> rabbitmq-discuss mailing list
> rabbitmq-discuss at lists.rabbitmq.com
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the rabbitmq-discuss