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

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

2013/6/18 Tim Watson <tim at rabbitmq.com>

> And message ordering between threads sharing that channel doesn't matter,
> presumably?

Good point.

Sharing channels between threads that publish is generally a bad idea: most
clients don't offer synchronization and frames may get interleaved in
an incorrect way. So for N publishers, you need N channels.

Sharing channels between threads that consume may be safe but it really
depends on whether you need message processing order guarantees
and if any of the consumers share a queue.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rabbitmq.com/pipermail/rabbitmq-discuss/attachments/20130618/93a1780f/attachment.htm>

More information about the rabbitmq-discuss mailing list