Re:Building A Node.js Server That Won't Melt
by gfloyd on Tuesday January 15, 2013 @02:18PM
(#5062270)
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.
[ Parent
| on HN ]
Re:Building A Node.js Server That Won't Melt
by toong on Tuesday January 15, 2013 @05:36PM
(#5063545)
So 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 :-)