MikeTrendsTrends right now

search

Node.js

Trends

  1. 1
    Graceful shutdown handlers fail when kill -9 strikes●You write a graceful shutdown handler in Node.js, Python, or Go. You catch SIGTERM and SIGINT , close your database connMmastodonTechnologySoftware416 min ago

    Developers are discussing a common gap in software reliability: applications written in Node.js, Python, or Go often include shutdown handlers that catch SIGTERM and SIGINT, close database connections, flush files, and exit cleanly. But these handlers never run when a process receives SIGINT's harsher cousin, kill -9, or when Kubernetes force-kills a container after a timeout, leaving cleanup unfinished and potentially corrupting state.

Repos