Inter-process communication (Message Queue)

Source: Internet
Author: User

1. All processes share one message queue group.

2. The message queue group contains a sending message queue and a receiving message queue.

3. The request process actively sends messages to the sending queue and receives messages from the receiving queue. The processing process reads the request from the sending message queue and sends the processing result to the receiving queue.

4. The same process group is the same process.

5. process all processes in the Process Group to read requests from the message queue in a competitive manner.

5. The function to be implemented is to send messages to the Process Group for processing results. From the perspective of the Process sending the request, you only need to know the process group to which the request is sent. From the perspective of the receiving process, you need to know which process the request is sent to accurately return the request results.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.