<story><title>A self-killing web site requested by a customer (2011)</title><url>https://rachelbythebay.com/w/2011/06/28/sp/</url></story><parent_chain></parent_chain><comment><author>ciprian_craciun</author><text>I found it interesting because such a simple task (requiring at least a number of on-line servers before the load-balancer starts serving requests), required a custom binary controlled the webserver and had to cross-monitor each server.&lt;p&gt;For example with HAProxy (my favorite load-balancer and HTTP &amp;quot;router&amp;quot;) 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:&lt;p&gt;* &lt;a href=&quot;http:&amp;#x2F;&amp;#x2F;cbonte.github.io&amp;#x2F;haproxy-dconv&amp;#x2F;2.1&amp;#x2F;configuration.html#7.3.1-nbsrv&quot; rel=&quot;nofollow&quot;&gt;http:&amp;#x2F;&amp;#x2F;cbonte.github.io&amp;#x2F;haproxy-dconv&amp;#x2F;2.1&amp;#x2F;configuration.html...&lt;/a&gt;&lt;p&gt;* &lt;a href=&quot;http:&amp;#x2F;&amp;#x2F;cbonte.github.io&amp;#x2F;haproxy-dconv&amp;#x2F;2.1&amp;#x2F;configuration.html#4.2-monitor%20fail&quot; rel=&quot;nofollow&quot;&gt;http:&amp;#x2F;&amp;#x2F;cbonte.github.io&amp;#x2F;haproxy-dconv&amp;#x2F;2.1&amp;#x2F;configuration.html...&lt;/a&gt;&lt;p&gt;One can write this:&lt;p&gt;&lt;pre&gt;&lt;code&gt;    ~~~~
    frontend www
    mode http
    acl site_alive nbsrv(dynamic) gt 2
    use_backend dynamic if site_alive
    ~~~~
&lt;/code&gt;&lt;/pre&gt;
[This article was linked from the original article described in (&lt;a href=&quot;https:&amp;#x2F;&amp;#x2F;news.ycombinator.com&amp;#x2F;item?id=23099347&quot; rel=&quot;nofollow&quot;&gt;https:&amp;#x2F;&amp;#x2F;news.ycombinator.com&amp;#x2F;item?id=23099347&lt;/a&gt;).]</text></comment>
<story><title>A self-killing web site requested by a customer (2011)</title><url>https://rachelbythebay.com/w/2011/06/28/sp/</url></story><parent_chain></parent_chain><comment><author>nicbou</author><text>This is called a cascading failure. It&amp;#x27;s also a problem with the electric grid, and more terrifyingly with global finance.&lt;p&gt;&lt;a href=&quot;https:&amp;#x2F;&amp;#x2F;en.wikipedia.org&amp;#x2F;wiki&amp;#x2F;Cascading_failure&quot; rel=&quot;nofollow&quot;&gt;https:&amp;#x2F;&amp;#x2F;en.wikipedia.org&amp;#x2F;wiki&amp;#x2F;Cascading_failure&lt;/a&gt;</text></comment>