#327: 99.999% Uptime

CodePen Radio

Episode | Podcast

Date: Wed, 04 Aug 2021 13:47:18 +0000

<p>Chris &amp; Alex talk about DevOps, servers, and keeping CodePen online at all times. We were are 100% for the year until a few weeks ago when we had a 10 minute drop. That still keeps us in the realm of 99.99% uptime, where we get 52 minutes and 35 seconds of downtime per year, but next year we're shooting for 5-nines, that is, 99.999% uptime, where we only get 5 minutes and 16 seconds of downtime. Of course, our goals (and eventually, promises) can only be as strong as the service providers we use. Thankfully with providers like AWS and Cloudflare, we're in good hands.</p> <p>There are a number of things that have traditionally got in the way of this high of uptime, like database manipulation work. These days, we have the tech and the strategies for that, like seeding a newly manipulated database alongside the existing one and cutting over. We also have code in place for doing intelligent things like cutting off services if they become unreliable, rather than letting them bog down or kill the site entirely. </p> <h3 id="h-time-stamps">Time Stamps</h3> <h3 id="h-sponsor-netlify">Sponsor: Netlify</h3> <p><a href="https://www.netlify.com/">Netlify</a> is the Jamstack hostess with the mostest. <a href="https://www.netlify.com/products/dev/">Netlify Dev</a> allows you to run their entire platform on your own machine. That means being able to test things like cloud functions, redirects, form submissions, etc without even having to do a preview build. Another aspect of Netlify, that is fundamental, is that you don't really have to worry about scaling on Netlify. Your static-based site is ready to scale to any level, and that includes all the cloud functions too, as they are lambdas and designed to scale. </p>