[rabbitmq-discuss] Beginner Question.

Michael Klishin mklishin at gopivotal.com
Wed Mar 12 09:00:33 GMT 2014

On 12 March 2014 at 12:56:23, ratheesh kannoth (ratheesh.ksz at gmail.com) wrote:
> > http://www.rabbitmq.com/tutorials/amqp-concepts.html  
> (section
> "Channels" ) talks about "For applications that use multiple  
> threads/processes for processing, it is very common to open  
> a new
> channel per thread/process and not share channels between them"  
> I understand your point that still we can share this channel.  
> What is the comparison and difference between rabbitMq socket  
> and
> connection ?

Channel there means AMQP 0-9-1 channel.

AMQP 0-9-1 connection involves a TCP connection, user authentication
and one or more channels over which protocol methods are sent and received.

> That webpage contains below line.
> Thirdly, have a strategy to pivot the load to other queues on others  
> machines if the worst comes to the worst

Right, this is what federated queues are about:

Note that you can also publish messages over one protocol (say, MQTT)
and consume them using another protocol (AMQP 0-9-1 or STOMP). There
are some limitations to this because protocol features don’t necessarily
match but for the proverbial 80% of cases it should work well. 

Software Engineer, Pivotal/RabbitMQ

More information about the rabbitmq-discuss mailing list