Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • Events/Choreography: When there is no central coordination, each service produces and listen to other service’s events and decides if an action should be taken or not.

...

Command/Orchestration: when a coordinator service is responsible for centralizing the saga’s decision making and sequencing business logic

...

.

In this post we will take care of the second approach, as it is the most scalable, simple to understand, and consistent one.

...