3 ms·
Absolutely, although Domains are a new feature in 0.8 and will need some time for maturity.
by gnw 14y ago
Absolutely, although Domains are a new feature in 0.8 and will need some time for maturity.
- latchkey 14y agoWhen your nodejs instances are crashing several times an hour due to facebook randomly returning html instead of json and the 3rd party library crashing as a result, who has time for maturity? =)
- doomslice 14y agoWouldn't a simple uncaughtException handler be sufficient to prevent most crashes? process.on('uncaughtException', function (err) { // log it });
- latchkey 14y agoFrom the documentation: "Don't use it, use domains instead. If you do use it, restart your application after every unhandled exception!" http://nodejs.org/api/process.html#process_event_uncaughtexception http://nodejs.org/api/process.html#process_event_uncaughtexc...