fine
🧹 Gracefully shutdown Node.js application: help you handle exit signals and cleanup (by simonecorsi)
runsv
By runsvjs
SurveyJS - Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App
With SurveyJS form UI libraries, you can build and style forms in a fully-integrated drag & drop form builder, render them in your JS app, and store form submission data in any backend, inc. PHP, ASP.NET Core, and Node.js.
surveyjs.io
featured
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
fine
Posts with mentions or reviews of fine.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-01-19.
- Gracefully shutdown Node.js application: handle process exit signals and close pending connections/jobs
- Graceful shutdown Node.js application: handle process exit signals and close pending connections/jobs
- Gracefully shutdown Node.js application, helper to handle process exit signals and close pending jobs
runsv
Posts with mentions or reviews of runsv.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-01-19.
-
Gracefully shutdown Node.js application: handle process exit signals and close pending connections/jobs
I have built something similar https://gitlab.com/runsvjs/runsv. My 2 cents: * On "uncaughtexception" trying to gracefully shutdown is not the recomended practice. See https://nodejs.org/dist/latest-v16.x/docs/api/process.html#event-uncaughtexception * When you call (http) server.close(), it stops the server from accepting new connections, but it keeps the existing connections open indefinitely. You can keep an array of connections to close them later. This is what modules like http-terminator, http-graceful-shutdown or http-close do for you.
What are some alternatives?
When comparing fine and runsv you can also consider the following projects:
githook-lint-staged-example - Git 2.9+(`core.hooksPath`) + Lint Staged without extra dependencies.
vscode-powertools - A swiss army knife with lots of tools, extensions and (scriptable) enhancements for Visual Studio Code.
fkill - Fabulously kill processes. Cross-platform.