3 ms·
I think this would simplify implementing a load-balancing proxy in some ways. If a server responds with a 503 generated by node-toobusy, the load balancer will
by gfloyd 14y ago
I think this would simplify implementing a load-balancing proxy in some ways. If a server responds with a 503 generated by node-toobusy, the load balancer will know immediately to reroute the request to another server, rather than having to wait for a timeout or some other threshold.
- toong 14y agoSo this load-balancer is balancing between A&B. Now A gives back a few 503's, you are going to send everything over to B ? [edit] I do get your point, I was just saying: don't start implementing a naive load-balancer :-)