Graceful Shutdown

Talk it through out loud with your AI coach.

The problem

  • hard
  • Pro

Every time you deploy, a handful of users get connection errors and some background jobs are left half finished. Explain how a server should shut down gracefully.