{"id":1065,"date":"2017-07-21T21:51:43","date_gmt":"2017-07-22T01:51:43","guid":{"rendered":"http:\/\/codefork.com\/blog\/?p=1065"},"modified":"2017-08-29T13:48:05","modified_gmt":"2017-08-29T17:48:05","slug":"whats-worse","status":"publish","type":"post","link":"https:\/\/codefork.com\/blog\/index.php\/2017\/07\/21\/whats-worse\/","title":{"rendered":"What&#8217;s Worse?"},"content":{"rendered":"<p>What&#8217;s worse: a website that is intermittently down or completely down?<\/p>\n<p>The latter is worse, right? Isn&#8217;t it better that a site serve, say, 80% of requests, than 0%? This is the cloud-think we&#8217;ve all become accustomed to.<\/p>\n<p>Here&#8217;s the thing: when a web application or service is intermittently down, it can hide the fact that there are any problems at all. It&#8217;s easy to dismiss problems as due to factors beyond your control, or momentary blips that will clear up on their own. In the meantime, what happens is that a user going through a sequence of, say, 6 requests to complete a workflow, will experience failure on that 6th request serviced by the one bad host or container in the cloud. And they will get frustrated and give up. And they&#8217;ll start to associate your application with being flakey and unreliable.<\/p>\n<p>And you won&#8217;t notice, because it&#8217;s not happening to everyone, and the problem persists for a long while before it&#8217;s detected and fixed.<\/p>\n<p>This is how the &#8220;high availability&#8221; mentality of the cloud lures you into a false sense of security.<\/p>\n<p>I&#8217;ve been seeing this happen with Docker Swarm, where, under certain conditions, some newly started containers will have intermittent connectivity problems with other containers. Unless you&#8217;re paying close attention to error logs, you may not notice any problems, even though some users are definitely experiencing them.<\/p>\n<p>But when a site is completely down, everyone knows, and you can&#8217;t help but address the problem.<\/p>\n<p>Okay, sure, the answer of which is worse depends a lot on the type of website or web application. My point is simply that there&#8217;s often the presumption that putting things in the cloud alleviates the pressure upon individual instances of an application or service to be up and functioning correctly. This just isn&#8217;t true. And at the point where you need to care about and closely monitor individual containers because you take availability seriously, well, at that point, the cloud maybe hasn&#8217;t bought you as much as you thought it would.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>What&#8217;s worse: a website that is intermittently down or completely down? The latter is worse, right? Isn&#8217;t it better that a site serve, say, 80% of requests, than 0%? This is the cloud-think we&#8217;ve all become accustomed to. Here&#8217;s the thing: when a web application or service is intermittently down, it can hide the fact &hellip; <a href=\"https:\/\/codefork.com\/blog\/index.php\/2017\/07\/21\/whats-worse\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;What&#8217;s Worse?&#8221;<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[29,9,12],"tags":[],"class_list":["post-1065","post","type-post","status-publish","format-standard","hentry","category-devops","category-software","category-work"],"_links":{"self":[{"href":"https:\/\/codefork.com\/blog\/index.php\/wp-json\/wp\/v2\/posts\/1065","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/codefork.com\/blog\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/codefork.com\/blog\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/codefork.com\/blog\/index.php\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/codefork.com\/blog\/index.php\/wp-json\/wp\/v2\/comments?post=1065"}],"version-history":[{"count":5,"href":"https:\/\/codefork.com\/blog\/index.php\/wp-json\/wp\/v2\/posts\/1065\/revisions"}],"predecessor-version":[{"id":1070,"href":"https:\/\/codefork.com\/blog\/index.php\/wp-json\/wp\/v2\/posts\/1065\/revisions\/1070"}],"wp:attachment":[{"href":"https:\/\/codefork.com\/blog\/index.php\/wp-json\/wp\/v2\/media?parent=1065"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/codefork.com\/blog\/index.php\/wp-json\/wp\/v2\/categories?post=1065"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/codefork.com\/blog\/index.php\/wp-json\/wp\/v2\/tags?post=1065"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}