Message queue learning notes

Message queuing MQ I took notes for the first time. I hope to leave a message to correct the deficiencies. I will continue to improve later* 1. Why MQ 1. Flow peak elimination 2. Application decoupling When a business is composed of multiple system calls, the failure of any subsystem will lead to the abnormal operation of the whole busines ...

Added by Firestorm ZERO on Fri, 24 Dec 2021 10:29:19 +0200

RabbitMQ tutorial implements publishing confirmation PublishConfirm

Publisher confirms is an extension of RabbitMQ to realize reliable publishing. When publisher confirmation is enabled on the channel, if the messages published by the client are asynchronously confirmed by the proxy, it means that they have been processed on the server. In this tutorial, we will use publisher confirms to ensure that published m ...

Added by FredFredrickson2 on Thu, 23 Dec 2021 13:45:15 +0200

Message Middleware--RabbitMQ Summary

Basic knowledge Why use message middleware decoupling In applications with multiple systems, it is common that system A affects B, C, D data. The usual practice is to call the interfaces of other systems in A, so that the dependencies between systems are too large, and if new systems are added later, you need to add appropriate logic in ...

Added by webguy262 on Thu, 23 Dec 2021 04:33:49 +0200

RabbitMQ dead letter queue and message idempotent problem

Dead letter queue 1. Background of dead letter queue RabbitMQ dead letter queue, commonly known as spare tire queue; After the message middleware rejects the message for some reason, it can be transferred to the dead letter queue for storage. The dead letter queue can also have switches, routing key s, etc. 2. Causes of dead letter queue Th ...

Added by redesigner on Wed, 22 Dec 2021 16:36:28 +0200

ActiveMQ Message Queuing implements Point-to-Point (Queue) and Publish/Subscribe (Topic)

(Message Queue Message Queue) JMS Preface JMS, Java Message Service Application Interface, is a Java platform API for Message-Oriented Middleware (MOM), used to send messages between two applications for asynchronous communication JMS is a vendor-independent API for accessing and receiving system messages, similar to JDBC(Java Database Co ...

Added by Bac on Wed, 22 Dec 2021 07:36:45 +0200

Rabbitmq annotation and message serialization

Rabbitmq annotation and message serialization MessageConvert Application serialization involving network transmission is inevitable. The sender converts the message into a byte array for transmission according to some rules, and the receiver parses the byte [] array according to the agreed rulesThe serialization of RabbitMQ refers to the body ...

Added by jmabbate on Sat, 18 Dec 2021 16:05:02 +0200

How does docker container reduce image size

  Write in front In this short composition, we will learn another key problem of image construction. Why is the image created by others only 10MB and mine a few hundred MB? How to thin the mirror and reduce the mirror volume? We can cut into thin image from two aspects: Reduce the number of mirror layersReduced capacity 1, Reduce the nu ...

Added by TheMightySpud on Sat, 18 Dec 2021 07:57:34 +0200

rabbitmq private message queue

concept The dead letter queue, as its name implies, is a message that cannot be consumed. Sometimes some messages in the queue cannot be consumed due to specific reasons. If there is no subsequent processing, such messages will become dead letters and be added to the private letter queue. Source of dead letter Message TTL expiredThe queue ha ...

Added by cherubrock74 on Fri, 17 Dec 2021 07:36:20 +0200

RabbitMQ practical tutorial (video learning notes)

RabbitMQ practical tutorial In this paper, I personally experiment and modify some places for the notes in the video recorded when learning rabbitmq. The versions of centos and rabbitmq used are different from those in the video. You can give the video three links to support up master ha. The video address is: https://www.bilibili.com/video ...

Added by Crysma on Thu, 16 Dec 2021 23:50:23 +0200

Automatic creation mechanism of RocketMQ theme

problem When learning RocketMQ, I have several questions. If the subject does not exist, who will the client send the message to? When a message is sent to a topic that does not exist, when is the topic created? guess When I execute the following code, the topic does not exist, so when did I create the topic "TopicTest202112151152" ...

Added by AbsolutelyFreeW on Wed, 15 Dec 2021 15:41:23 +0200