[rabbitmq-discuss] Limit number of concurrent connections

Matthias Radestock matthias at rabbitmq.com
Thu May 22 11:09:26 BST 2014


On 22/05/14 11:04, Michael Klishin wrote:
> On 22 May 2014 at 13:55:11, Navdeep Singh (navdeep.bhogal at gmail.com)
> wrote:
>>> But Michael, I have a question here that if I have to limit
>>> connections
>> at the vhost level how I will be able to do it. As haproxy maxconn
>> parameter is at the member pool level but I am sure it will not be
>> able to understand vhost.
>
> TCP proxies are unaware of vhosts. For that, you need to monitor
> connections over HTTP API as Simon suggested.

Or use a proxy that is AMQP-aware and can thus track connections by 
vhost. No idea whether such a thing exists, but it wouldn't be hard to 
write.

Matthias.


More information about the rabbitmq-discuss mailing list