1, Overview of producer consumer issues
Description: two or more threads share the same buffer. One or more threads as a "producer" will constantly add data to the buffer, and the other or more threads as a "consumer" will take data from the buffer. Note the following:
Producers and consumers must use buffers that ar ...
Posted on Sun, 05 Dec 2021 13:33:42 -0500 by gingerboy101
It may take some time for a consumer to complete a task. What happens if one of the consumers processes a long task and only completes part of it, and suddenly it hangs up. Once RabbitMQ delivers a message to the consumer, it immediately marks the message for deletion. In this case, a consumer suddenly hangs up, and we will lose the me ...
Posted on Thu, 02 Dec 2021 15:51:23 -0500 by ikelove
In order to solve the problem of message loss caused by various reasons on the consumer side, we all know that the root cause is the automatic ack mechanism of RabbitMQ. Therefore, in order to avoid the above problems, we will select Manual ack to ensure that messages will not be lost for some reasons.
However, there is ...
Posted on Thu, 25 Nov 2021 13:49:51 -0500 by marty68
Message confirmation means that after the producer delivers the message, if the Broker (message entity) receives the message, it will give us a reply. The producer receives the response to determine whether the message is normally sent to the Broker. This method is also the core guarantee for the reliable delivery of the message!
Single confir ...
Fundamentals of Rabbitmq (I) introduction to Rabbitmq Rabbitmq Foundation (II) installation and configuration
1. RabbitMQ working mode
1.1 Work queues work queue mode and simple mode
1.1.1 mode description
Work Queues: compared with the simple mode of the entry program, there are one or more consumers, and multiple consumers co ...
Posted on Wed, 17 Nov 2021 22:05:15 -0500 by arunkar
1, What is a dead letter queue?
Dead letter queue is a message mechanism in RabbitMQ. Dead letter messages will be specially processed by RabbitMQ. If dead letter queue is configured, dead letter messages will be thrown into dead letter delivery queue. If not configured, dead letter messages will be discarded.
2, Situation of dead lette ...
Posted on Sat, 06 Nov 2021 23:31:07 -0400 by kbaker
The publish and subscribe model is shown in the figure below:
You can see that in the subscription model, there is an exchange role, and the process changes slightly:
Publisher: the producer, that is, the program that sends the message, but it is no longer sent to the queue, but to X (switch)
Exchange: switch, X in figure. On the one ...
Posted on Tue, 02 Nov 2021 14:53:58 -0400 by Akira
1. Overview of message queue
Objective: to be able to say what a message queue is; Why use message queuing; What are the common products
Message queue is a communication method between applications; Asynchronous processing without immediate return and time-consuming operations, so as to improve the throughput of the system; Decoupli ...
Posted on Sat, 30 Oct 2021 03:21:36 -0400 by TRI0N
1, Introduction to RabbitMQ
rabbitMQ official website: https://www.rabbitmq.com/
1. What is it
Reference article: https://zhuanlan.zhihu.com/p/157112243
Message queue is a container that holds messages during message transmission.
RabbitMQ is an open source message broker software (also known as message oriented middleware) that i ...
Posted on Sat, 30 Oct 2021 00:13:50 -0400 by john0117
This article will discuss how to install rabbitmq on linux, basic commands, common configurations, and how to use rabbitmq on java clients; We will compare some differences between activeMQ and the implementation of common usage principles.
Introduction to RabbitMQ
Is an open source
Posted on Wed, 27 Oct 2021 00:00:31 -0400 by Xproterg^vi