3 ms·
What happens when one or many Node processes die with items left in the queue? Related, how are graceful restarts handled? (These are issues solved by existin
by doublerebel 10y ago
What happens when one or many Node processes die with items left in the queue? Related, how are graceful restarts handled? (These are issues solved by existing message queues.)
- tron1k 10y agoNothing happens to items in the queue in such a case. New workers will automatically respawn, and the adapter that links all the workers on the back-end will re-attach to newly spawned workers. Clients formerly connected to workers that are now gone will have to re-attach to new workers by socket.io.