Quartz 5

Home

❯

raw

❯

notes

❯

Saga Pattern

Saga Pattern

Properties1
tagssoftware/architecture/microservice

Jun 28, 20261 min read

Saga Pattern

マイクロサービスでのサービス間トランザクションのパターン.

  • 決済(コイン -> チケット) を Saga Pattern でやってみるか
    • service1: walletサービス
      • User { id: uuid, balance: int }
      • Receipt { id: uuid, user: User, amount: int, date: Date }
    • service2: ticketサービス
      • User { id: uuid }
      • Ticket { id: uuid, owner: User }
    • event_queue: Redis Stream
      • Scalable event streaming with Redis Streams and Go | by Guillaume Rondon | Towards Dev
    • API: gRPC

Graph View

Backlinks

  • MOC: Web/インフラ
  • [読書メモ]『関数型ドメインモデリング』
  • Saga Pattern
  • マイクロサービス

Created with Quartz v5.0.0 © 2026

  • GitHub
  • Discord Community