[rabbitmq-discuss] rabbitmq-c how many channels I need?

Michael Klishin michael.s.klishin at gmail.com
Tue Jun 18 12:38:51 BST 2013


2013/6/18 3k4b251 <314992959 at qq.com>

> If  I need to offer more than  ten thousand  consumer...... I like to
> create
> channel  for every  consumer, is that  right?
>

You can use a single channel for any number of consumers. Keep in mind that
error handling
is per-channel and channels are fairly cheap in general, although tens of
thousands of channels
may add up to a noticeable amount of RAM on the server.

When in doubt, start with 1 channel.
-- 
MK

http://github.com/michaelklishin
http://twitter.com/michaelklishin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rabbitmq.com/pipermail/rabbitmq-discuss/attachments/20130618/5662f941/attachment.htm>


More information about the rabbitmq-discuss mailing list