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

How do we coordinate the operations?

Sumit Rawal answered on May 21, 2023 Popularity 3/10 Helpfulness 2/10

Contents


More Related Answers

  • slope of coordinates
  • how to get city whit cordinates
  • coordinate system
  • coordinate
  • spherical coordinates
  • Coordinate translation to GPS
  • X & Y coordinates
  • other names of location coordinates

  • How do we coordinate the operations?

    0

    here are two ways to do it:

    Choreography. In a microservice architecture, all the services involved in the Saga distributed transaction do their jobs by subscribing to other services’ events. So it is fully decentralized coordination.

    Orchestration. A single coordinator instructs all services to do their jobs in the correct order.

    The choice of which coordination model to use is determined by the business needs and goals. The challenge of the choreography solution is that services communicate in a fully asynchronous way, so each service has to maintain an internal state machine in order to understand what to do when other services emit an event. It can become hard to manage when there are many services. The orchestration solution handles complexity well, so it is usually the preferred solution in a digital wallet system. 

    Popularity 3/10 Helpfulness 2/10 Language whatever
    Source: Grepper
    Link to this answer
    Share Copy Link
    Contributed on May 21 2023
    Sumit Rawal
    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.