Posts - All
All the articles I've posted.
-
Part 2: Dual-Write and Retries - the Transactional Outbox, Backoff, Circuit Breakers
🇺🇸 ENThe database write succeeds but the event publish fails - dual-write has no atomicity across two systems. Then, on retry, a client without backoff+jitter can trigger a retry storm that takes down the very downstream it's waiting to recover.
-
Phần 2: Dual-Write Và Retry - Transactional Outbox, Backoff, Circuit Breaker
🇻🇳 VIGhi database xong, publish event thất bại - dual-write không có atomicity xuyên hệ thống. Rồi khi retry, một client thiếu backoff+jitter có thể tự tạo ra retry storm đánh sập chính downstream nó đang chờ hồi phục.
-
Part 3: Poison Messages and Out-of-Order Events - Dead Letter Queues, Partition Keys, Version Numbers
🇺🇸 ENA broken message retried forever jams an entire partition - its fate is the Dead Letter Queue. And when two causally related events travel down two parallel lanes at different speeds, their order can flip with no exception ever thrown.
-
Phần 3: Poison Message Và Sai Thứ Tự - Dead Letter Queue, Partition Key, Version Number
🇻🇳 VIMột message hỏng, retry vô hạn, chặn nghẽn cả partition - số phận của nó là Dead Letter Queue. Và khi hai event có quan hệ nhân quả đi hai làn song song khác tốc độ, thứ tự có thể đảo ngược mà không ai throw exception nào.