RabbitMQ (1)-Introduction

Introduction

  RabbitMQ is an open source message broker software (also known as message-oriented middleware) that implements the Advanced Message Queuing Protocol (AMQP). RabbitMQ server is written in Erlang language, and clustering and failover are built on the framework of open telecommunications platform . All major programming languages ​​have client libraries that communicate with the agent interface . Support mainstream operating systems, multiple development languages.

 

What is MQ

  Message Queue (MQ), literally, is essentially a queue, FIFO first in, first out, but the content stored in the queue is only the message.
Its main purpose: communication between different processes Process / Thread Thread.

 

the term

Channel: A pipe connection, which is a connection within a tcp connection (broker), which uses an existing TCP connection for data transmission;

Exchange (Exchange): message routing, the messages sent by the producer are not directly sent to the queue but first to the specified route, and then the queue bound by the route according to the routing key is sent to the specified queue;

Binding: Establish the binding relationship between routing and queue container;

Message: Message data required by producers and consumers;

Connection (Connection): a tcp connection;

Production (Producing): The program that sends the message is the Producer (Producer), denoted by P

Queue: Messages are passed between RabbitMQ and the application, but they can also be stored in the queue. There is no size limit for the queue. You can store any number of messages into the queue to the unlimited buffer. Multiple producers can send messages to the same queue, or multiple consumers can receive messages from a queue.

Consuming: a program waiting to receive a message.

 

Features

  • Open source, excellent performance, stability guarantee

  • Provide reliability message delivery mode and return mode

  • Perfect integration with Spring AMQP, rich API

  • Rich cluster mode, expression configuration, HA mode, mirror queue model

  • Ensure high reliability and availability on the premise that data is not lost

 

 

 

 

 

Guess you like

Origin www.cnblogs.com/zousc/p/12725114.html
Recommended