All Questions
Managing Long Running Tasks hard

When deploying new worker code, how should the old worker process shutdown?

  1. A Kill -9 immediately.
  2. B Stop accepting new tasks. Finish processing the current task. Then exit. (Graceful Shutdown/Drain).
  3. C Reboot the machine.
  4. D Crash.

One system design question a day, with spaced repetition so the ones you miss come back.

Get the app

Related questions