[rabbitmq-discuss] Best Practices using Connection and Channels

Marcus Vinitius Baffa mbaffa at opus.com.br
Fri May 6 15:40:48 BST 2011


I am new to RabbitMq and I need to develop an application that will have
something like 30 to 50 concurrent clients. Each client will send
commands to my server. The server applicaton, a .NET C# application,
will start a new thread to execute each command. 

 

I would like to know if you consider a good practice in using AMQP
Connections and Channels:

 

*         1 Connection per application or 1 Connection per Client;

*         1 Channel per Exchange/Queue and/or Thread. If the application
has more than one thread each one must create a new channel using the
same application/client connection. 

*         Some people advise to create a Channel Pools, is it a good
practice. 

 

What do you think about it ???

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rabbitmq.com/pipermail/rabbitmq-discuss/attachments/20110506/6bbacc02/attachment.htm>


More information about the rabbitmq-discuss mailing list