Amit Dusane
Amit Dusane

Reputation: 1454

How transactions can be managed in a micro-service architecture

I have multiple microservice say A, B, and C. A is the starting service that performs some operations and triggers B's endpoint which performs some operation and calls C's endpoint. If something goes wrong at C, all other means A and B work should be rolled back.

A few days ago I heard about using the SAGA pattern to achieve this, is there any SAGA implementation available in the market? Or any other approach to handle this scenario.

Upvotes: 1

Views: 65

Answers (1)

Related Questions