3 ms·
From the day node.js was released you could run multiple instances on different ports and stick a load balancer in front of it. Even now, I think that is a heal
by postfuturist 16y ago
From the day node.js was released you could run multiple instances on different ports and stick a load balancer in front of it. Even now, I think that is a healthier option than baking the number of processes into the script itself.
- sh1mmer 16y agoDoing it using Node allows you to use application logic to balance rather than just raw traffic. This entirely depends on the use cases you have.