When it comes to the job hunting phase, you must have been asked how MQ guarantees the reliability of messages or how MQ guarantees that messages are not lost. We all know that MQ sending messages is generally divided into three phases: producer sending messages to MQ, MQ storing mes ...
Posted by efegue on Tue, 08 Mar 2022 18:07:04 +0100
1 what is MQ
MQ (message queue): translated into message queue. Through the typical producer and consumer model, producers constantly produce messages to the message queue, and consumers constantly get messages from the queue. Because the production and consumption of messages are asynchronous, and only care about the sending and receiving of ...
Posted by tekkenlord on Tue, 22 Feb 2022 13:39:53 +0100
RocketMQ source code – 4 – NameServer source code
1. Start NameServer with source code
Starting the source code is actually quite simple. First, you go to the official website of RocketMQ, download the source code package, then use idea to open it and start it directly. You will find that the console prompts you to configur ...
Posted by RJDavison on Mon, 31 Jan 2022 12:48:26 +0100
This article analyzes the open source version 4.8.0 of rocketMq; The rocketMq process is briefly described as follows:
Nameserv: as a registration center, the broker starts to register with nameserv. At the same time, it regularly sends heartbeat to nameserv to tell nameserv that it is still alive. Then, in addition to maintaining ...
Posted by artist-ink on Sat, 22 Jan 2022 04:03:15 +0100
The last article introduced that there are two dispatchers in the} dispatcherList, one of which is buildIndex. As the name suggests, this is to establish an index to facilitate developers to query messages through keywords and judge whether the message content is correct or missing. This is also an advantage over kafka.
Posted by pyrodude on Thu, 20 Jan 2022 10:28:41 +0100
According to personal analysis and understanding, does the project need MQ technology
Order item - > order specification - > fulfillment set - > fulfillment process - > OPU
The above is the order framework process structure abstracted by the company according to the order business.
The OPU here is the smallest execution unit, whi ...
Posted by Sgarissta on Sat, 15 Jan 2022 17:09:12 +0100
Concept of delay queue
The delay queue is orderly. Its most important feature is reflected in its delay attribute. The elements in the delay queue * * want to be taken out and processed after or before the specified time. In short, the delay queue is a queue used to store the elements that need to be processed at the specified time.
Delay que ...
Posted by sickness01 on Fri, 14 Jan 2022 08:12:01 +0100
Quickly build RocketMQ cluster
Prepare three machines, root password root; IP address:
passwd oper (Password entry 123 qweasd)
Switch the oper user and generate a key ...
Posted by Cragsterboy on Thu, 30 Dec 2021 00:48:08 +0100
Routing center NameServer
What data is stored in the routing center?How to avoid a single point of failure of nameserver?How is it different from eukera and zookeeper?
1, NamesServer architecture design
How do producers know which server to send messages to in a multi broker server?When a server goes down, how can producers perceive it ...
Posted by sup on Sun, 24 Oct 2021 20:59:41 +0200
RocketMQ provides transaction messages to resolve issues where the program rolls back abnormally but the message has been sent, such as service B needs to modify user data after service A inserts a data, service A sends a message and program exception causes data insertion rollback, while service B listens for messages and modifies ...
Posted by merrydown on Tue, 28 Sep 2021 18:04:57 +0200