How best to organize communication of a large number of NodeJS scripts on one server?

There are 10 pieces of scripts on nodejs in the same server, it is necessary that they all spoke with one script at the same North. Communication needs a two-way. What to use better? I think socket.io make
July 8th 19 at 12:12
1 answer
July 8th 19 at 12:14
Depends on what these scripts do.
socket.io don't need, its main purpose is the fallback of websockets.
In your case you just need a TCP or unix socket.
In some cases, you can use Redis servers and queues (RabbitMQ, ActiveMQ, etc), it all depends on the task.

Find more questions by tags Node.js