[thelist] Which http status code for error in load balancing decision?

David Kaufman david at gigawatt.com
Thu Sep 16 17:58:37 CDT 2010


Hi Bill,

On 9/11/2010 12:39 AM, Bill Moseley wrote:
> ...I have a load balancer [and] a request is sent to the wrong backend
> server [...] what is the correct response code [...]Is it
> a 500?  Or something in the 400 range?

A 502 Bad Gateway, I would think:

http://en.wikipedia.org/wiki/List_of_HTTP_status_codes#5xx_Server_Error

-dave


More information about the thelist mailing list