3 ms·
I wonder how one does this on nodejs across instances gracefully.
by amazingamazing 2y ago
I wonder how one does this on nodejs across instances gracefully.
- kolme 2y agoWell, there's RabbitMQ and the rest of the message queues out there. But I don't know if those fall in your definition of "graceful".
- amazingamazing 2y agoNo, I mean with just NodeJS only.
- l1am0 2y ago"easiest/low tech" would be some sort of unix file-locking and inode. Only works if you are on the same host machine though...AAAND sounds like it would be quite hacky.