Graceful shutdown and Kubernetes readiness / liveness checks for any Node.js HTTP applications
-
Updated
May 2, 2024 - JavaScript
Graceful shutdown and Kubernetes readiness / liveness checks for any Node.js HTTP applications
Examples of Error Handling and reaching High Reliability with vanilla JavaScript
Gracefully shutdown your modular NodeJS application.
Zero dependencies, gracefully terminates HTTP(S) server.
💀 Shut down server gracefully
Ensure that during shutdown Koa returns correctly with a 503
hapi plugin that gracefully stops the hapi server (for graceful process reloads, e.g. with PM2)
A long polling example
A Polka app template to serve SPA for Node.js with the graceful shutdown running in Kubernetes.
Examples of Error Handling and reaching High Reliability with vanilla JavaScript
when your node.js process uses too much memory, allow it to gracefully exit
Add a description, image, and links to the graceful-shutdown topic page so that developers can more easily learn about it.
To associate your repository with the graceful-shutdown topic, visit your repo's landing page and select "manage topics."