Showing posts with the label Saga Pattern

Idempotency & Consistency in Distributed EDA

Consider the following production log snippet from a Payment Service consuming messages from a Kafka topic. The service received a PAYMENT_INITIATED event, processed the credit card charge, and su…
Idempotency & Consistency in Distributed EDA

イベント駆動設計:データ整合性と冪等性の完全保証

分散システムにおける悪夢は、サービスダウンではありません。データの不整合です。以下のようなログが深夜3時に発生するシナリオを想像してください。決済サービスが PaymentProcessed イベントを消費しましたが、ネットワークの瞬断によりブローカーへのACK(確認応答)がタイムアウトしました。ブローカーは未処理と判断し、同じイベントを再送します。 Critical Inc…
イベント駆動設計:データ整合性と冪等性の完全保証
OlderHomeNewest