I am developing a chat application and for some reasons I though of configuring the elastic load balancer
on aws
to use sticky sessions.
Does the load balancer in case of sticky sessions checks for the health of the server required for the request or because the load balancer uses sticky sessions It doesn't care for the health of the server as It will not need any different routing ?
The Load balancer does care about the health of a server before routing any new request.
http://docs.aws.amazon.com/elasticloadbalancing/latest/classic/elb-sticky-sessions.html
There is also an option of connection draining which allows your in flight requests to be routed to new server.
http://docs.aws.amazon.com/elasticloadbalancing/latest/classic/config-conn-drain.html