Can Node.js hold a million setTimeouts? Measure memory, accuracy and the restart problem yourself
DEV Community
Can Node.js hold a million setTimeouts? Measure memory, accuracy and the restart problem yourself
Keeping delayed work in in-process timers is tempting. Here's a small benchmark you can run to see what it costs in memory and lateness, plus the failure mode no benchmark number captures.
0 comments
No comments yet.