Microservices — Controlling transactions with SAGA pattern — Choreography

Andre Lucas
ProgrammingOnMars
Published in
6 min readNov 5, 2023

--

Let’s imagine a scenario where we have a logistic application.

The context is three services:

order-service: In charge of creating orders

trip-service: In charge of managing trips, collecting and delivering orders.

restaurant-service: In charge of managing the restaurant list and its products.

I already wrote about communication between microservices. There are a lot of ways to communicate a service with…

--

--

Software Engineer 8-year experience. Drummer since 7 years old. I love to create new things