MQ Communication Mode

Source: Internet
Author: User

1) point-to-point communication: the point-to-point mode is the most traditional and common communication mode. It supports one-to-one, one-to-many, multiple-to-many, multiple-to-one, and other configuration methods, supports tree, mesh, and other topology structures.

2) Multi-Point broadcast: MQ is applicable to different types of applications. The important and developing application is the "Multi-Point broadcast" application, which can send messages to multiple destination sites (destination list ). You can use an MQ command to send a single message to multiple target sites and ensure reliable information for each site. MQ not only provides the multi-point broadcast function, but also provides the smart message distribution function. When a message is sent to multiple users on the same system, MQ sends a copy version of the message and the receiver list on the system to the target MQ system. The target MQ system replicates these messages locally and sends them to the queue on the list to minimize the amount of network transmission.

3) publishing/subscription (publish/subscribe) mode: The Publish/subscribe function allows message delivery to break through the geographical limitations of the target queue, so that messages can be distributed according to specific topics and even content, user or applicationProgramYou can receive the required message based on the topic or content. The Publish/subscribe function makes the coupling relationship between the sender and receiver more loose. The sender does not have to care about the recipient's destination address, and the receiver does not have to care about the message sending Address, instead, send and receive messages based on the message topic. In the MQ family, MQ event broker is a product dedicated to data communication using the publish/subscribe technology, it supports publishing and subscription Based on queues and directly based on TCP/IP.

4) Cluster: MQ provides a cluster solution to simplify the system configuration in point-to-point communication mode. A cluster is similar to a domain. A message channel does not need to be established between the queue managers in the cluster. Instead, the cluster channel is used to communicate with other members, this greatly simplifies the system configuration. In addition, the queue managers in the cluster can automatically perform load balancing. When a queue manager fails, other queue managers can take over its work, thus greatly improving the high reliability of the system.

 
 

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.