Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on Error handling in Node.js and Express.
throw new Error('Uh oh')
And then you want to make sure that a crash will not cause other concurrent connections to get abruptly disconnected.
I have a few things in place that I use to get zero-downtime deploys and crash handling.
https://github.com/mathrawka/express-graceful-exit
https://github.com/mathrawka/express-domain-errors
https://github.com/superjoe30/naught
And then you want to make sure that a crash will not cause other concurrent connections to get abruptly disconnected.
I have a few things in place that I use to get zero-downtime deploys and crash handling.
https://github.com/mathrawka/express-graceful-exit
https://github.com/mathrawka/express-domain-errors
https://github.com/superjoe30/naught