{"id":144,"date":"2017-02-16T12:01:53","date_gmt":"2017-02-16T17:01:53","guid":{"rendered":"http:\/\/blog.law.cornell.edu\/tech\/?p=144"},"modified":"2017-02-16T13:29:40","modified_gmt":"2017-02-16T18:29:40","slug":"the-new-normal-how-we-stay-fast-by-being-slow-and-steady","status":"publish","type":"post","link":"https:\/\/blog.law.cornell.edu\/tech\/2017\/02\/16\/the-new-normal-how-we-stay-fast-by-being-slow-and-steady\/","title":{"rendered":"The new normal: How we stay fast by being slow and steady"},"content":{"rendered":"<p><a href=\"http:\/\/blog.law.cornell.edu\/tech\/files\/2017\/02\/Screen-Shot-2017-02-16-at-11.57.02-AM.png\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-145 aligncenter\" src=\"http:\/\/blog.law.cornell.edu\/tech\/files\/2017\/02\/Screen-Shot-2017-02-16-at-11.57.02-AM.png\" alt=\"\" width=\"257\" height=\"195\" \/><\/a><\/p>\n<p><span style=\"font-weight: 400;\">In the fall of 2015, <\/span><a href=\"https:\/\/blog.law.cornell.edu\/tech\/2015\/10\/30\/a-day-in-the-life-traffic-spike\/\"><span style=\"font-weight: 400;\">we wrote about a traffic spike<\/span><\/a><span style=\"font-weight: 400;\"> that had occurred during one of the Republican primary debates. Traffic on the night of Sept. 16, 2015 peaked between 9 and 10pm, with a total of 47,025 page views during that interval. For that day, traffic totaled 204,905 sessions and 469,680 page views. At the time, the traffic level seemed like a big deal &#8211; our server had run out of resources to handle the traffic, and some of the people who had come to the site had to wait to find the content they were looking for &#8211; at that time, the 14th Amendment to the Constitution.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">A year later, we found traffic topping those levels on most weekdays. But by that time, we barely noticed. Nic Ceynowa, who runs our systems, had, over the course of the prior year, systematically identified and addressed unnecessary performance-drains across the website. He replaced legacy redirection software with new, more efficient server redirects. He cached dynamic pages that we knew to be serving static data (because we know, for instance, that retired Supreme Court justices issue no new opinions). He throttled access to the most resource-intensive pages (web crawlers had to slow down a bit so that real people doing research could proceed as usual). As a result, he could allow more worker processes to field page requests and we could continue to focus on feature development rather than server load.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">Then came the inauguration on January 20th. Presidential memoranda and executive orders inspired many, many members of the general public to read the law for themselves. Traffic hovered around 220,000 sessions per day for the first week. And then the President issued the executive order on immigration. By Sunday January 29th, we had 259,945 sessions &#8211; more than we expect on a busy weekday. On January 30th, traffic jumped to 347,393. And then on January 31st traffic peaked at 435,549 sessions &#8211; and over 900,000 page views. <\/span><\/p>\n<p><span style=\"font-weight: 400;\">The servers were still quiet. Throughout, we were able to continue running some fairly resource-hungry updating processes to keep the CFR current. We&#8217;ll admit to having devoted a certain amount of attention to checking in on the real-time analytics to see <a href=\"https:\/\/blog.law.cornell.edu\/blog\/2017\/02\/16\/lii-in-the-news-this-is-what-we-do\/\">what people were looking at<\/a><\/span><span style=\"font-weight: 400;\">, but for the most part it was business as usual. <\/span><\/p>\n<p><span style=\"font-weight: 400;\">Now, the level of traffic we were talking about was still small compared to the traffic we once fielded when <\/span><a href=\"https:\/\/www.law.cornell.edu\/supct\/html\/00-949.ZPC.html\"><span style=\"font-weight: 400;\">Bush v. Gore<\/span><\/a><span style=\"font-weight: 400;\"> \u00a0was handed down in 2000 (that day we had steady traffic of about 4000 requests per minute for 24 hours). And Nic is still planning to add clustering to our bag of tricks. But the painstaking work of the last year has given us a lot of breathing room &#8211; even when one of our fans gives us a <\/span><a href=\"https:\/\/www.reddit.com\/r\/explainlikeimfive\/comments\/1wne3s\/why_do_sites_break_due_to_the_reddit_hug_of_death\/\"><span style=\"font-weight: 400;\">really big internet hug<\/span><\/a><span style=\"font-weight: 400;\">. In the meantime, we\u2019ve settled into the new normal and continue the slow, steady work of making the website go faster when people need it the most.<\/span><\/p>\n<!-- AddThis Advanced Settings generic via filter on the_content --><!-- AddThis Share Buttons generic via filter on the_content -->","protected":false},"excerpt":{"rendered":"<p>In the fall of 2015, we wrote about a traffic spike that had occurred during one of the Republican primary debates. Traffic on the night of Sept. 16, 2015 peaked between 9 and 10pm, with a total of 47,025 page views during that interval. For that day, traffic totaled 204,905 sessions and 469,680 page views. <a href='https:\/\/blog.law.cornell.edu\/tech\/2017\/02\/16\/the-new-normal-how-we-stay-fast-by-being-slow-and-steady\/'>[&#8230;]<\/a><!-- AddThis Advanced Settings generic via filter on get_the_excerpt --><!-- AddThis Share Buttons generic via filter on get_the_excerpt --><\/p>\n","protected":false},"author":3,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[7430,6],"tags":[],"class_list":["post-144","post","type-post","status-publish","format-standard","hentry","category-infrastructure","category-lii"],"_links":{"self":[{"href":"https:\/\/blog.law.cornell.edu\/tech\/wp-json\/wp\/v2\/posts\/144","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.law.cornell.edu\/tech\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.law.cornell.edu\/tech\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.law.cornell.edu\/tech\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.law.cornell.edu\/tech\/wp-json\/wp\/v2\/comments?post=144"}],"version-history":[{"count":2,"href":"https:\/\/blog.law.cornell.edu\/tech\/wp-json\/wp\/v2\/posts\/144\/revisions"}],"predecessor-version":[{"id":147,"href":"https:\/\/blog.law.cornell.edu\/tech\/wp-json\/wp\/v2\/posts\/144\/revisions\/147"}],"wp:attachment":[{"href":"https:\/\/blog.law.cornell.edu\/tech\/wp-json\/wp\/v2\/media?parent=144"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.law.cornell.edu\/tech\/wp-json\/wp\/v2\/categories?post=144"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.law.cornell.edu\/tech\/wp-json\/wp\/v2\/tags?post=144"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}