hard20 pts · first answer countsmessage-queuesidempotencybackground-jobs
Welcome email sent twice
A worker sends the welcome email, then crashes before acknowledging the queue message. The message is redelivered and the user gets two emails. What is the right approach?
Discussion 0
Join free to post in the discussion.
Related questions
- The non-idempotent methodBackend Developer
- Slow email during signupBackend Developer
- At-least-once deliveryBackend Developer
- More consumers than partitionsBackend Developer
- One bad message blocks the queueBackend Developer
- Worker crash with auto-ackBackend Developer
- Safe retries for paymentsBackend Developer
- Workers block each other on a jobs tableBackend Developer