Interview Question
An event consumer is falling behind during traffic spikes. How would you recover safely?
What the interviewer is testing
- Evidence-driven diagnosis
- Safe scaling
- Downstream protection
Real-World Sample Answer
I would approach “An event consumer is falling behind during traffic spikes. How would you recover safely?” by clarifying the requirements first, then using these considerations: in a real interview, i would not jump straight to a technology choice. for “an event consumer is falling behind during traffic spikes. how would you recover safely?”, i would first measure queue depth and message age. then i would separate a traffic spike from a broken consumer and scale consumers without overwhelming dependencies. i would also bound retries and isolate poison messages. finally, i would watch recovery and downstream health. i would make the assumptions explicit and explain what evidence or production signals would make me revisit the decision.. I would state my assumptions and defend the trade-offs rather than presenting the choice as universally correct.
What a Strong Answer Should Cover
In a real interview, I would not jump straight to a technology choice. For “An event consumer is falling behind during traffic spikes. How would you recover safely?”, I would first measure queue depth and message age. Then I would separate a traffic spike from a broken consumer and scale consumers without overwhelming dependencies. I would also bound retries and isolate poison messages. Finally, I would watch recovery and downstream health. I would make the assumptions explicit and explain what evidence or production signals would make me revisit the decision.
Common Mistakes
- Scaling blindly
- Ignoring downstream limits
- Using unlimited retries
Interviewer Follow-ups
- What assumptions would you clarify before committing to the design?
- What changes if the scale, reliability target, security requirement, or budget changes?
- What is the biggest failure mode in your proposed approach?