Communication mode of MQ (excerpt)

xiaoxiao2021-03-06  57

MQ communication mode 1) Point-to-point communication: Point-to-point mode is the most traditional and common communication method, it supports one-to-one, one-to-many, more, more, multi-configuration, support tree, mesh, etc. A variety of topologies. 2) Multicast: MQ is suitable for different types of applications. It is important, and it is also a "multi-point broadcast" application, you can send messages to multiple target sites (Destination List). You can use a MQ instruction to send a single message to multiple target sites and make sure that information is reliably provided for each site. The MQ not only provides a multi-point broadcast function, but also has a smart message distribution function, when sending a message to multiple users on the same system, MQ sends a copy version of the message and the list of receiver on the system. Target MQ system. The target MQ system replicates these messages locally and sends them to the queue on the list, thereby minimizing the amount of transmission of the network. 3) Publish / Subscribe (Publish / Subscribe) mode: Publish / Subscribe Function Make the message distribution can break the limitations of the destination queue, making the message to distribute, users or applications according to the subject or content, according to the subject or content To the required message. The release / subscription function makes the coupling relationship between the sender and the recipient becomes loose, and the sender does not have to care about the receiver's destination address, and the recipient does not have to care about the send address of the message, but only according to the topic of the message. Transceiver. In MQ family products, MQ Event Broker is a product that is specifically used to communicate with publish / subscription technology, which supports queue and direct TCP / IP publishing and subscriptions. 4) Cluster: In order to simplify system configuration in point-to-point communication mode, MQ provides a CLUSTER solution. The cluster is similar to a domain (Domain), and there is no need to establish a message channel between two or two, but a cluster channel is used to communicate with other members, thereby greatly simplifying the system configuration. In addition, the queue manager in the cluster can automatically load balancing. When a queue manager fails, other queue managers can take over its work, which greatly improves the system's high reliability.

转载请注明原文地址:https://www.9cbs.com/read-114329.html

New Post(0)