[rabbitmq-discuss] Channel performance question

Michael Klishin mklishin at gopivotal.com
Fri Nov 22 09:17:50 GMT 2013

On 22 Nov 2013, at 02:29, ku3ia <demesg at gmail.com> wrote:

> 1. Open one connection and for each thread in application open a channel and
> keep it alive during thread is live, or
> 2. Open one connection and for each operation in threads, for example,
> publish or message consuming open and close a channel.

#1 will be faster because you avoid a network roundtrip (channel.open, channel.open-ok) per

Keep in mind that channels are also units of error handling (for soft/recoverable errors)
in the protocol, so performance should not be your only consideration.


Software Engineer, Pivotal/RabbitMQ

More information about the rabbitmq-discuss mailing list