RabbitMQ quick start
Basic concepts of MQ
1.1 MQ overview
The full name of MQ is Message Queue, which is a container for saving messages during message transmission. It is mostly used for communication between distributed systems
We call from system A to system B directly and remotely. Although this is A simple call, it also has limitations, such as excessiv ...
Posted by rachybaby on Tue, 12 Oct 2021 21:14:16 -0700
Why does the producer consumer pattern use a while loop instead of an if statement
1, Producer consumer mode (there are only two threads, one is producer thread and the other is consumer thread)
a key!!!!!!! When reading this blog, first describe the wait mechanism of the wait () method. When the first thread is waiting, it will release the lock. When the thread is awakened, it will continue to execute from the code behin ...
Posted by socratesone on Mon, 11 Oct 2021 14:30:22 -0700
High level part of RabbitMq release confirmation
High level part of RabbitMq release confirmation
1. Why is it necessary to release the confirmation advanced part?
In the production environment, RabbitMQ is restarted due to some unknown reasons. During RabbitMQ restart, the delivery of producer messages fails, resulting in message loss, which needs to be processed and recovered manually. So ...
Posted by DusterG20 on Sun, 10 Oct 2021 03:16:44 -0700
RabbitMQ super detailed configuration process ErLang24.1+RabbitMQ3.9.7 (Linux CentOS8)
1, Foreword
First, declare that the configuration process can allow you to configure your RabbitMQ.
Secondly, I'm pure white. If you have any questions in the article, please point them out in the comment area. Thank you very much.
2, Configure ErLang
If ErLang is not well equipped, you can't engage in RabbitMQ. Even if you install the corr ...
Posted by metroblossom on Wed, 06 Oct 2021 05:58:13 -0700
Twenty thousand word long text and detailed explanation of RabbitMQ6 working modes (combination of theory and code)
preface
RabbitMQ introduction: RabbitMQ is a message oriented middleware based on AMQP standard and Erlang language.
Tip: the following is the main content of this article
1, RabbitMQ infrastructure
Producer: as the generator of the message.Consumer: the consumer of the message.Connection: the TCP connection between the message pu ...
Posted by kol090 on Thu, 30 Sep 2021 16:57:03 -0700
Operation mode of RabbitMQ
1. Introduction to the working mode of rabbitmq
The working mode of RabbitMQ refers to the process implemented in the actual caching of messages.
RabbitQM official website provides six working modes:
https://www.rabbitmq.com/getstarted.html
1. Hello Word simple working mode 2. Work queues work queue mode 3. Publish/Subscribe publish an ...
Posted by p-co on Tue, 28 Sep 2021 12:23:05 -0700
RabbitMQ (point-to-point direct connection and parameter description)
Core dependencies:
<!--introduce rabbitmq Correlation dependency-->
<dependency>
<groupId>com.rabbitmq</groupId>
<artifactId>amqp-client</artifactId>
<version>5.7.2</version>
</dependency>
The first model: direct connection
In the model above, there are the followi ...
Posted by arth on Sun, 26 Sep 2021 11:07:10 -0700
Message queue rabbitMQ
Main functions of message queue: traffic peak clipping
If the order system can process 10000 orders at most, this processing capacity is more than enough to deal with the order in the normal period. In the normal period, we can return the results one second after we place the order. However, in the peak period, if 2 ...
Posted by mwq27 on Sat, 25 Sep 2021 12:06:25 -0700
springboot integrates RabbitMQ messaging middleware
Springboot integrates RabbitMQ
Learning reference website
Installing RabbitMQ
1. Install Erlang language pack
https://www.erlang.org/downloads [official website download address]
2. Install rabbitMq
https://www.rabbitmq.com/download.html
The installation path cannot have Chinese, otherwise the path cannot be found
3. Restart rabbitmq ...
Posted by Rykin on Wed, 22 Sep 2021 07:25:18 -0700
How to ensure the reliability of Rabbitmq?
person one is in love with
Recently, I met such a demand in the company's development: how to realize regular order? And you can interrupt, restart and delete this task at any time. I thought of the following technologies at that time
@Scheduling annotation + Cron expression. Hahahahahaha, maybe many small partners will do the same, but later ...
Posted by stylezeca on Fri, 17 Sep 2021 14:10:54 -0700