Glossary term
What is graceful shutdown? Meaning for developers
In Backend in Depth
When the process gets SIGTERM: stop taking new connections, finish the running requests, close the database, then exit.
Learn it properly · Backend in DepthLesson 4: Error Handling: Operational vs Programmer ErrorsOne central error handler, typed error classes, how Express 5 treats rejected promises, and when to let the process crash and restart.In Full-Stack Questions
Stopping a server by finishing current requests and closing connections before the process exits.
Learn it properly · Full-Stack QuestionsLesson 6: Node.js & Express Interview QuestionsEvent loop, streams, workers, Express 5, security, graceful shutdown and performance.In Node.js From Zero
Stopping new work, finishing in-flight requests, closing resources, and then exiting.
Learn it properly · Node.js From ZeroLesson 6: Errors, Logging and Graceful ShutdownOperational versus programmer errors, uncaught exceptions, structured logs, health checks, and shutting down without dropping requests.