[rabbitmq-discuss] erlang: shared direct connection
mklishin at gopivotal.com
Sun Jun 15 23:06:31 BST 2014
On 15 June 2014 at 22:13:31, Mailinglist Recipient (real.recipient at hotmail.com) wrote:
> > According to list of AMQP errors on connection level I would
> say very few of them can happen using direct erlang connection
> (if any).
If you share a connection + channel between publishing processes, you can (and will)
get incorrect frame interleaving, which is a connection-level error.
> This way I would not need to handle connecting and handling
> connection fails again and again.
> Is it a reasonable way or should i stay with many individual direct
> connections? Thanks for help.
1 channel per process sounds like a good plan.
Software Engineer, Pivotal/RabbitMQ
More information about the rabbitmq-discuss