2 ms·
> Yes, you would have a load balancer in front of several instances running on several machines. Same as Haskell. If you do an internal N-M process fanout, wil
by KirinDave 10y ago
> Yes, you would have a load balancer in front of several instances running on several machines. Same as Haskell.
If you do an internal N-M process fanout, will you also stop accepting connections on the individual box level if you're queueing? How tight are your health check timings to make sure this doesn't result in shitty performance when a pathological workload comes up? Will you disable the TCP connection queue here as well?
- spion 10y ago> Will you also stop accepting connections on the individual box level if you're queueing? I would not. And I agree, it will be worse than Haskell, which will only choke if the cpu intensive processes are all calculating things without allocating memory or doing IO (as opposed to node where IO is the only yield point). And if the article talked about when Haskell green threads yield and compared that with node, as well as measured just how worse things are with a clustered setup, with several example problems, and by varying the parameters (such as number of processes)... then that would've been really awesome.