RabbitMQ delay queue, message delay push

Author: Hai Xiang source: RabbitMQ delay queue, message delay push - Haixiang - blog Park# Application scenario # At present, the common application software has the shadow of delayed message push, which is also widely used, such as: Taobao automatically confirms receipt within seven days. After we sign for the goods, the logistics system wi ...

Posted by deezerd on Fri, 29 Oct 2021 12:09:03 +0200

Concept and usage of message queue Rabbit MQ

The popular open source message middleware in the industry includes ActiveMQ, rabbitmq, RocketMQ, Kafka and ZeroMQ, among which rabbitmq, RocketMQ and Kafka are the most widely used. Redis can also be a mechanism similar to Queue and Pub/Sub to some extent, but it is not strictly a message oriented middleware. This article will talk about the b ...

Posted by monotoko on Wed, 20 Oct 2021 06:07:53 +0200

Working principle and application of distributed message queue RocketMQ

Chapter 4 RocketMQ application 1, General message 1 message sending classification Producer also has a variety of options for sending messages. Different methods will produce different system effects. Send messages synchronously Sending a message synchronously means that after the Producer sends a message, it will send the next message aft ...

Posted by waygood on Wed, 20 Oct 2021 03:58:20 +0200

RabbitMQ -- idempotent, priority queue, inert queue

Idempotency concept The results of one request or multiple requests initiated by the user for the same operation are consistent, and there will be no side effects due to multiple clicks. The simplest example is payment. The user pays after purchasing goods, and the payment deduction is successful. However, when the result is returned, th ...

Posted by hkucsis on Tue, 19 Oct 2021 21:33:10 +0200

On blocking queue

1. What is a blocking queue? The first is a queue. The second is blocking. In the producer consumer model, the producer produces while the consumer consumes, so imagine these two threads as two threads, one is plugging in and the other is taking out. When the production thread is full and the consumption thread is not taken out in time, ...

Posted by Bret on Sat, 16 Oct 2021 08:51:14 +0200

Easily implement RabbitMQ cluster construction

This paper is based on linux system to build rabbitmq cluster. By default, the installation is completed. If it is not installed, you can go to RabbitMQ simple installation See how to install. The following is the construction of single machine mode cluster Check whether it is running Make sure rabbitmq is running properly. ps aux|grep rabb ...

Posted by anto on Tue, 12 Oct 2021 07:55:39 +0200

Mad God says Rabbit Mq

1. What is middleware What is middleware Since the 1980s, Chinese enterprises have gradually carried out information construction. Due to the immature methods and systems and the changing market demand of enterprise business, an enterprise may run multiple different business systems at the same time. These systems may be based on differe ...

Posted by wherertheskips on Mon, 11 Oct 2021 22:11:20 +0200

RabbitMQ supports message mode

Introduction to the official website Refer to the official website: https://www.rabbitmq.com/getstarted.html web interface operation 03-1. Simple mode Interface operation process: create a queue, enter the default switch, initiate a message to the specified queue, and finally enter the queue for message preview. During preview, you should ...

Posted by BuzFortuna on Sat, 09 Oct 2021 04:30:49 +0200

High availability deployment of RabbitMQ cluster + HA + kept

1, Planning 1. Server OSapplicationHostnameremarksCentOS 7.4(192.168.139.162)HA + Keepalivedha_1Cluster high availability (master)CentOS 7.4(192.168.139.160)HA + Keepalivedha_2Cluster high availability (backup)CentOS 7.4(192.168.139.158)Erlang 23.2.5,RabbitMQ 3.9.7mq_1mq_1 disk nodeCentOS 7.4(192.168.139.137)Erlang 23.2.5,RabbitMQ 3.9.7mq ...

Posted by Crogge on Thu, 07 Oct 2021 06:38:20 +0200

Operating system 6 - producer consumer issues

Problem Description: One or more Producers place data in a buffer after productionA single consumer fetches data from the buffer for processingOnly one producer or consumer can access the buffer at any time Using semaphores to solve the producer consumer problem Problem analysis: Only one thread can operate the buffer at any time (mut ...

Posted by jfeather on Wed, 22 Sep 2021 20:23:59 +0200