/replace-2pc-with-saga

A project to show how AWS Step Functions can be used to replace 2-Phase Commit using the SAGA pattern. Sample microservices will be used to simulate a complex transaction using an orchestration strategy.

Primary LanguageJavaScriptMIT LicenseMIT

replace-2pc-with-saga

A project to show how AWS Step Functions can be used to replace 2-Phase Commit using the SAGA pattern. Sample microservices will be used to simulate a complex transaction using an orchestration strategy.

The idea comes from this document and follows the ideas behind modernizing applications through different strategies of decomposing monolithic applications to microservices, as described in this whitepaper.

Another good source of information is about idempotent API. The Amazon Builder libray has a very good paper about it.