Node.js Graceful Shutdown: SIGTERM in Express and Fastify
Handle SIGTERM in Express and Fastify: fail readiness, drain keep-alive sockets, close resources in order, and exit before the orchestrator's SIGKILL.
18 min read
Tag
Handle SIGTERM in Express and Fastify: fail readiness, drain keep-alive sockets, close resources in order, and exit before the orchestrator's SIGKILL.
18 min read