最近試著實作Microservices的SAGA Orchestration Pattern,以建立訂單和更新(扣減)庫存數量來練習。
參考「微服務 SAGA Orchestration Pattern 建立訂單練習 循序圖」整體說明。
參考github。
- 微服務瞎談(8) Saga, Choreography vs Orchestration
- Chapter 4. Managing transactions with sagas
- Saga distributed transactions pattern
- Modelling Saga as a State Machine : An orchestrator driven approach for managing distributed and long-running transactions
- Saga Pattern with Golang Examples
- github.com/microservices-patterns/ftgo-application
沒有留言:
張貼留言