The following is a guest blog post by Michael Tomko, Production Director at The Able Few. Michael has been using CloudFlare for a number of his projects for the last few years.
A few years ago, amidst the final crunch of a project deadline, a friend and former colleague looked me directly in the eye and said, "It's like I don't even know how to build a website anymore." He was of course referring to the combination of configuration, tuning, testing, and other tedious tasks that are necessary to deploy an otherwise simple website in a world of CMS's, responsive images, and web fonts. That comment has stuck with me ever since because as a developer I often find it very difficult to stand up to the pressure of having to use the latest libraries and techniques, optimized to the hilt, just to do something very rudimentary.
Flash-forward to the night of September 30th...Having just finished watching The Voice — the TV was turned up way louder than usual — my wife and I found ourselves under siege by the roar of TV news personalities bickering about the imminent government shutdown. This obviously led to us discussing what the shutdown really meant and many comments about how ridiculous it all seemed.
I suddenly remembered the silly, single-serve websites like Is It Christmas or Is Mitt Romney The President and the idea popped into my head to see if there were any for the #shutdown. A few minutes later, I Instagrammed a screenshot of the Hover.com results for "isthegovernmentopen.com" showing that it was in fact available. This immediately led to a smattering of "Do It!" comments and the normal "You're Insane" glare from my wife, so of course I had to go for it.
Finding the perfect GIF
There was a big part of me though that wasn't going to do it. I really didn’t think that the typical giant "NO" was going to make it worth the time and if I was going to buy yet ANOTHER domain, it had to be worth it. That's when I re-stumbled upon this amazing, near-perfect loop of President Obama being locked out in the White House rose garden.
You see, I have a few other "giant GIF" website— Bummersauce.com and HowMuchIsMoney.com — which were created to be the perfect one-liner response to someone complaining on social media, and this GIF of the President was the absolute best response to people posting comments about the shutdown. Plus, I think that it brought a fairly unique sense of bipartisan levity to the situation.
Quick and easy
But, this is where I had to make myself comfortable with hitting the "Easy Button", so-to-speak, and to not waste a bunch of time over-engineering the thing. I didn't need a CMS. I didn't need any special fonts. I just needed a single HTML file, a few lines of CSS, and the GIF.
Within something like 30 minutes from the time that my initial Instagram went up, I had acquired the domain, built the site, run 2 simple commands to publish it to GitHub Pages, and had it on CloudFlare's worldwide CDN. IsTheGovernmentOpen.com was built and out the door in a matter of minutes.
Originally, I thought that it would get a few hundred hits and be passed around by my friends here in St. Louis. But, by time that I went to bed that night, it already had 3,500 page views. I woke up to another 3,000 and something like 7,000 came in just during my morning commute. Immediately I knew that this was bigger than I could have expected and I was basically waiting for GitHub to call and tell me that they were shutting me/it down.
Well, about 11:30am UTC New York Magazine included the site in their government shutdown liveblog and traffic soared to something like 1200 concurrent users — and stayed that way for over 6 hours. But GitHub never called and the site stayed up.
Throughout the first two days, IsTheGovernmentOpen.com survived being simultaneously linked to by NY Magazine, Mashable, The Verge, Pophangover, the Harvard Nieman Lab, Vice, and nearly every funny GIF site imaginable, two separate posts staying on the front page of Reddit for almost 24 hours, being shared on Facebook 5,177 times, and over 3,969 tweets from many highly influential Twitter users, including Anonymous.
How CloudFlare helped
Up until this week, CloudFlare had been the simple DNS provider and no-assembly-required CDN that I would use to keep my annual event's site up on commodity servers, the go-to recommendation for our clients when setting up DNS for their projects, and the cool suggestion as a starting place for my peers if they were complaining about issues with their site's performance. But, throughout the onslaught that IsTheGovernmentOpen.com threw at my free CloudFlare and GitHub accounts this week, this is where I truly realized the power of CloudFlare.
It sort of felt like that scene from X-Men 2 movie when Jean Grey turned into the Phoenix to save the rest of the X-Men from being swallowed by a giant tidal wave. CloudFlare quite literally had my back and they were taking quite a punch on my behalf.
All in all, this site never would have happened if CloudFlare — and GitHub — didn't provide such simple-to-use services that were also worth using, even on the free tier. Not only did they provide a very snappy and robust experience for my users but they also kept the site up for the entire duration of giant traffic spikes.
At The Able Few, pretty much none of our projects are just simple single-serve, GIF-based websites. In fact, we don’t really even build websites at all. Working with many early-stage startups — like Fizziology, Click With Me Now, and Tunespeak — we build a lot of very complicated and seemingly never-been-done-before type of applications. It is NOT our desire to spend time setting up and maintaining the things that CloudFlare provides with just a few clicks. And, if time is money, then CloudFlare basically pays you to use their service. I like that.
If you haven't yet signed up for an account, you can be up and running in a matter of minutes and will immediately see a benefit, but if you already have an account, well then you probably know what I'm talking about.