Bus of spring cloud 2020.0.4 series

1. General As the old saying goes: people who can rest can work better. Body is the capital of revolution. If their body breaks down, they can no longer work.   To get back to business, we talked about the distributed configuration center config of SpringCloud before. In this article, we talked about the dynamic refresh of config configuration, ...

Posted by mbdonner on Thu, 04 Nov 2021 13:54:57 -0700

RaabitMQ environment deployment (Windows, stand-alone, cluster)

1, windows installation 1.1. erlang Download erlang download page: https://www.erlang.org/downloads erlang download address: https://erlang.org/download/otp_win64_24.0.exe You can install directly in the next step. When you encounter the following figure, install visual C++ Configure environment variables after installation And add% Er ...

Posted by cringe on Tue, 02 Nov 2021 23:14:05 -0700

6, RabbitMQ release confirmation

1, Release confirmation principle         The producer sets the channel to confirm mode. Once the channel enters the confirm mode, all messages published on the channel will be assigned a unique ID (starting from 1). Once the message is delivered to all matching queues, the broker will send a confirmation to ...

Posted by Kitkat on Sat, 30 Oct 2021 06:38:54 -0700

RabbitMQ notes: small test demo about prefetch count

About rabbitmq prefetch count 1-1: cause I've always had a vague impression of prefetch count. I only know that instead of the original broker polling for consumer s, I can pull down n items at a time, but when I send message s one by one through the interface, I still poll, so I have this verification blog. 1-2: experimental code Configura ...

Posted by kornlord283 on Sun, 24 Oct 2021 06:20:25 -0700

python test development django-159.Celery asynchronous and RabbitMQ environment construction

preface Celery is a Python task queue system used to handle work task assignments across threads or network nodes. It makes asynchronous task management easy. Your application only needs to push messages to agents like RabbitMQ, and the Celery worker will pop them up and schedule tasks to execute. Celery Five roles of celery Task s are task ...

Posted by sargus on Fri, 22 Oct 2021 21:04:00 -0700

Detailed explanation of the use of message oriented middleware ActiveMQ

1, Introduction to message oriented middleware introduce Message queuing refers to the use of efficient and reliable messaging mechanism for platform independent data exchange, and the integration of distributed systems based on data communication. Features (functions) Application decouplingasynchronous communicationFlow peak clipping(massi ...

Posted by pstevereynolds on Tue, 19 Oct 2021 18:22:19 -0700

Use supervisor to guard the consumer process of RabbitMQ

When using RabbitMQ for asynchronous message processing, it is always found that after one or more consumer processes are started, they are automatically disconnected after a period of time, such as a few minutes or 10 minutes, resulting in a large number of messages in the queue and can not be processed. In order to ensure the continuous high ...

Posted by mikeblaszczec on Mon, 18 Oct 2021 17:18:27 -0700

RabbitMQ knowledge point record

1, Concept 1. Advantages Application decoupling: improving system fault tolerance and maintainability Asynchronous acceleration: improve user experience and system throughput Peak shaving and valley filling: improving system stability 2. Disadvantages Reduced system availability The more external dependencies the system introduces, ...

Posted by justcrapx on Mon, 18 Oct 2021 12:55:46 -0700

RabbitMQ cluster and message reliability

1, RabbitMQ cluster architecture          RabbitMQ cluster architecture has the following types: active / standby mode, remote mode, mirror mode and multi active mode. Active standby mode          It is an active / standby scheme (if the primary node hangs, the s ...

Posted by michalurban on Fri, 15 Oct 2021 20:28:11 -0700

RabbitMQ consumer ack mechanism

ACK mechanism What is a message acknowledgement ACK If an exception occurs when the consumer's server processes a message during message processing, the message being processed may not complete message consumption and data will be lost. To ensure that data is not lost, RabbitMQ supports message determination - ACK. Message confirmation mecha ...

Posted by autumn on Wed, 13 Oct 2021 18:04:45 -0700