[rabbitmq-discuss] Should multithreaded application use single or multi channels
stammailbox at gmail.com
Sun Mar 9 16:34:40 GMT 2014
My app has multiple threads that publish messages to a single RabbitMQ
Reading the rabbit docs<https://www.rabbitmq.com/tutorials/amqp-concepts.html>:
i read the following:
For applications that use multiple threads/processes for processing, it is
very common to open a new channel per thread/process and not share channels
And I understand that instead of opening multiple connection (expensive)
it is better to open multiple channels.
But why not use a single channel to all threads?
What are the benefits of using multiple channels over a single channel?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the rabbitmq-discuss