← Back to team overview

openstack team mailing list archive

Re: various questinons about connections to rabbitmq

 

> Hi all,
> Could someone explain what's the relation between
> the internal threading and number of rabbitmq connections that
> can exist on a single service? (in diablo final)

> I'm wondering under what circumstances can I get multiple
> connections from a single compute or network manager to the
> rabbitmq server when using kombu library? Can it use any
> connection pooling mechanism instead? I can see that it's
> not used by default, since there are multiple connections
> started from both of those services at the moment.

Stanisław,

Kombu does have excellent support for connection and producer pools,
but it is something that you have to take use of.

See http://kombu.readthedocs.org/en/latest/userguide/pools.html
for more information.

(and maybe also the ConnectionPool and Resource classes:
http://kombu.readthedocs.org/en/latest/reference/kombu.connection.html#pools)


It seems like Nova implements its own pool functionality (that uses eventlet.pools),
but I can't be sure if that is used or not.  The Kombu pools also supports eventlet,
so maybe it could be used instead.



-- 
Ask Solem
Staff Engineer, RabbitMQ, VMware
twitter.com/asksol | +44 (0)7713357179





Attachment: signature.asc
Description: Message signed with OpenPGP using GPGMail