Polling versus events for Node background work
DEV Community
Polling versus events for Node background work
A setInterval that finds nothing to do is not free. When polling is the right answer anyway, how to make it cheap, and the overlap bug that turns a five-second poll into a pile-up.
0 comments
No comments yet.