MOFAKH.COM
← Back to profile
System design

Idempotent message consumers

unwrittenOutline
Note to self
Not written yet. This is the outline I am working from — it will be filled in as I go through the topic.
  • At-least-once delivery: duplicates are guaranteed, not rare
  • Idempotency keys and a processed-messages table
  • Making handlers commutative where ordering cannot be trusted
  • Poison messages, retry policy and dead-letter handling