Breaking News: Grepper is joining You.com. Read the official announcement!
Check it out

Single-receiver Message-based Communication (one-to-one model-queue)

Anjali Sharma answered on February 2, 2023 Popularity 1/10 Helpfulness 1/10

Contents


More Related Answers

  • Multiple-receiver Message-based Communication (one-to-many model-topic)
  • Single-receiver Message-based Communication 1-1
  • Multiple-receiver Message-based Communication

  • Single-receiver Message-based Communication (one-to-one model-queue)

    0

    Message-based asynchronous communication with a single receiver means there's point-to-point communication that delivers a message to exactly one of the consumers that's reading from the channel, and that the message is processed just once. However, there are special situations. For instance, in a cloud system that tries to automatically recover from failures, the same message could be sent multiple times. Due to network or other failures, the client has to be able to retry sending messages, and the server has to implement an operation to be idempotent in order to process a particular message just once.

    Single-receiver message-based communication is especially well suited for sending asynchronous commands from one microservice to another as shown in Figure 4-18 that illustrates this approach.

    Once you start sending message-based communication (either with commands or events), you should avoid mixing message-based communication with synchronous HTTP communication.

    https://learn.microsoft.com/en-us/dotnet/architecture/microservices/architect-microservice-container-applications/asynchronous-message-based-communication

    Popularity 1/10 Helpfulness 1/10 Language whatever
    Source: Grepper
    Link to this answer
    Share Copy Link
    Contributed on Feb 02 2023
    Anjali Sharma
    0 Answers  Avg Quality 2/10


    X

    Continue with Google

    By continuing, I agree that I have read and agree to Greppers's Terms of Service and Privacy Policy.
    X
    Grepper Account Login Required

    Oops, You will need to install Grepper and log-in to perform this action.