Skip to main content
友田 陽大

Category

信頼性・非同期・リアルタイム処理の設計ガイド

分散システムの信頼性は「少なくとも1回」「順不同」「失敗する」を前提に設計してこそ守れます。Transactional Outboxで二重発行・取りこぼしを防ぎ、冪等な非同期処理でリトライを正常系にし、リアルタイム配信は要件で選ぶ——イベント駆動と非同期の回復性を扱います。

5 articles in total

Foundational guide

Foundational guide (start here)

アーキテクチャ設計
AWS
冪等性
決済
メッセージング

The Transactional Outbox Pattern: Make the DB Update and Event Publishing Atomic, and Cut Off Lost Events and Double Publishing

An implementation guide to the transactional outbox pattern that solves the dual-write problem of distributed systems. Write to the outbox in the same transaction as the business update, publish reliably with a relay (polling/CDC), and make downstream idempotent. We explain ordering guarantees, at-least-once, and reconciliation in real code.

22 min read

Related practical articles