For example with HAProxy (my favorite load-balancer and HTTP "router") this can be easily achieved by using `nbsrv`, creating an ACL and only routing requests to the backend based on that ACL. Based on the documentation bellow:
* http://cbonte.github.io/haproxy-dconv/2.1/configuration.html...
* http://cbonte.github.io/haproxy-dconv/2.1/configuration.html...
One can write this:
~~~~
frontend www
mode http
acl site_alive nbsrv(dynamic) gt 2
use_backend dynamic if site_alive
~~~~
[This article was linked from the original article described in (https://news.ycombinator.com/item?id=23099347).]