Interview practice question
Messages disappear when a worker crashes
System Design · Messaging and Queues · Beginner
When a worker crashes mid-job, the job is never completed. Your worker acknowledges messages as soon as it receives them. What should change?
What a strong answer covers
Your AI report card counts how many of these ideas you cover.
- Acking early loses work on crash.
- Ack only after successful processing.
- Unacked messages redelivered.
- Make processing idempotent.
- Add DLQ for repeated failures.
Practise this topic
Start without signing up. Sign in free to get an AI report card on your answer.