RabbitMQ and rabbitmq Installation
Introduction
RabbitMQ: a message system developed by erlang Based on the AMQP system protocol.
Advantages: robust, easy to use, open-source, and support for various popular languages.
MQ (Message Queue): Short for Message Queue, is a communication mechanism between applications.
Purpose: To improve the server throughput and performance by asynchronous processing, you do not need to call back immediately to obtain results and perform time-consuming operations.
Simple communication mode: Figure 1 Evolution of simple communication mode and addition to MQ (Queue): Figure 2 Communication Mode added to MQ
End A: The producer writes (inserts) messages to the queue. MQ (Queue): middleware, message carrier. End B: the consumer reads (retrieves) messages from the queue. MQ features: a form of consumer-producer model. Glossary: Exchange: vswitch, routing rules, control message transmission; Queue: Message Queue, message carrier. Channel: A Message channel for reading and writing messages. Multiple channels can be created in each connection of the client. Each channel represents a session task. Bind: Bind Queue and Exchange according to routing rules, that is, the Queue to which a message conforms to the routing rules. Broker: the entity of the MQ server. Exchange: the message switch, which specifies the rules of the message and the queue to which the message is routed. Routing Key: The route keyword. exchange ships messages based on this keyword. Producer: Producer and message Releaser. Consumer: Consumer, message receiver. [Blogger] Anti-bone Aberdeen [original] http://www.cnblogs.com/liqingwen/p/6412089.html