System design messaging
At-least-once vs exactly-once
Idempotent consumers, dedupe keys, and why exactly-once is a protocol, not a slogan.
Idempotent consumers, dedupe keys, and why exactly-once is a protocol, not a slogan.
Visibility timeout, DLQ, retry budget. What you do with a bad payload.
LC 239. Monotonic deque. Invariant: front is max of the window.
put/take, capacity, notify. Sketch Java/C# monitors or a condition variable.