[rabbitmq-discuss] rabbitmq-c how many channels I need?
Tim Watson
tim at rabbitmq.com
Tue Jun 18 12:44:09 BST 2013
On 18 Jun 2013, at 12:38, Michael Klishin wrote:
> 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.
And message ordering between threads sharing that channel doesn't matter, presumably?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rabbitmq.com/pipermail/rabbitmq-discuss/attachments/20130618/ae0dd02f/attachment.htm>
More information about the rabbitmq-discuss
mailing list