Showing posts with the label architecture

Resilience in Node.js: Managing Uncaught Exceptions and Promise Rejections

TL;DR: When an unhandled error occurs, the Node.js process is in an undefined state. You must log the stack trace synchronously, trigger a graceful shutdown of external resources (DBs, sockets), a…
Resilience in Node.js: Managing Uncaught Exceptions and Promise Rejections
OlderHomeNewest