The invention belongs to the technical field of message queues, and particularly discloses a local
message queue implementation
system and method and a storage medium, message production and message consumption capabilities are provided for an upper-layer application through a user layer, a producer and a
consumer are enabled to interact with a
bus, the producer sends a message to the
bus, the
bus transmits the message to a Broker, and the Broker transmits the message to the Broker. The Broker processes the message and then distributes the message consumption event to the
consumer through the bus, the Broker can be responsible for receiving, distributing and storing management of the message, the storage layer provides the storage capacity of the message, the bus bears the transmission work of all the message events of the
message queue, the producer, the
consumer and the Broker are decoupled, the asynchronous execution capacity is provided, and the
message queue can be used for receiving and distributing the message. Therefore, the whole message
queue architecture is loosely coupled, and the expansibility and robustness are improved. According to the method, the functions of traffic peak clipping,
asynchronous processing, module decoupling and the like can be realized by a single service of a
single application or a distributed application through the message
queue.