2 ms·
I think you can just run one node.js per core (or whatever the optimal balance is) and tell your load balancer that there are instances of your service availabl
by jrockway 7y ago
I think you can just run one node.js per core (or whatever the optimal balance is) and tell your load balancer that there are instances of your service available at hostname:8080, hostname:8081, etc. A lot of people are going to get this "for free" when they tell their container orchestrator that they want 8 replicas that each request 1 cpu, and the scheduler finds a node with 8 free cpus.