3 ms·
I'd also love to see support for draining - and it seems like we might be in luck in the near future: https://forums.aws.amazon.com/thread.jspa?threadID=61278&
by felixge 13y ago
I'd also love to see support for draining - and it seems like we might be in luck in the near future:
https://forums.aws.amazon.com/thread.jspa?threadID=61278&start=75&tstart=0 https://forums.aws.amazon.com/thread.jspa?threadID=61278&sta...
^-- BenF@AWS commented on June 10th saying that amazon is now actively working on it!
- dsl 13y agoDraining is easy. Your health check should be hitting a url like '/ping' anyway which responds with an OK if the box is in a reasonable state and willing to serve traffic. I always add an additional check to see if a file called /tmp/down exists, and if it does, return a 500 for the health checks. Existing clients will continue to be served but that instance will get no new connections.