RabbitMQ and rabbitmq Installation

Source: Internet
Author: User

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.