IT and Business Insights for SMB Solution Providers

Operation Super Fruits: Site Reliability Engineering vs. DevOps

<img src="/%3Ca%20href%3D"https://comptiacdn.azureedge.net/webcontent/images/default-source/blogs/the-strange-fruits-of-it_-site-reliability-engineering-vs-devops.png?sfvrsn=b2a661e5_6"">https://comptiacdn.azureedge.net/webcontent/images/default-source/blogs/... data-displaymode="Original" alt="A table of fruit. Text that says Site Reliability Engineering vs. DevOps" title="The Super Fruits of IT"><p>Running operations at scale has always been a fruit salad of uphill battles, especially in our expanding world of distributed teams across many geographic locations. We as an IT community are routinely reminded that if we continue to look at our IT operation as a cost center instead of the backbone of innovation, then we will not only be slow to improve but also miss out on transformative opportunities in the marketplace. Along comes site reliability engineering (SRE) and DevOps. </p> <h2>Site Reliability Engineering 101</h2> <p>Pioneered by Google, site reliability engineering (SRE) is defined as the following by its founders:</p> <p>“SRE is what happens when you ask a software engineer to design an operations team.”</p> <p>SRE doubles as both a job role and an ongoing practice that fights operational issues with well-thought-out software paradigms and cutting-edge software tools. </p> <h3>7 SRE Methods You Can Implement</h3><ol><li><strong>Identify Operations as a Software Problem</strong><p>“Doing operations well is a software problem,” according to Google’s <em><a href="/%3Ca%20href%3D"https://sre.google/workbook/table-of-contents/">The">https://sre.google/workbook/table-of-contents/">The Site Reliability Workbook.</a></em> In order for businesses to keep the pace of the market, software approaches and paradigms must be leveraged to achieve operational efficiency.</p></li><strong></strong><li><strong>Manage by Service Level Objectives</strong><p>There is no such thing as a service being 100% available. This misplaced target essentially halts innovation, is utterly impossible and would bring great strain to all involved. Instead, the business stakeholders should collaborate on acceptable service level objectives (SLOs) based on user happiness and business objectives.</p></li><li><strong>Systematically Minimize Toil</strong><p>“We believe that if a machine can perform the desired operation, then a machine often should,” &nbsp;again, according to <em>The Site Reliability Workbook.</em> Engineers are worth their weight in gold and should only be working on the most value-added sophisticated task that pushes the business forward.</p></li><li><strong>Automate This Year's Job Away</strong><p>At Google – the pioneers of SRE – and other pure SRE teams, an engineer is capped on how much time they can spend on toil. Instead of doing the mundane over and over, which adds little value to the business and limits scale, site reliability engineers (SREs) look to automate away all routine tasks within a service so they can move on to bigger and better things for the business in which they serve.</p></li><li><strong>Move Fast, but Contain the Blast Radius</strong><p>SRE also looks to improve product output. This is achieved by reducing the mean time to recovery, which is an industry term to quantify how quickly we bounce back from routine service disruptions. The automated discovery and remediation of issues is the lifeblood of a business’s ability to take on more velocity.</p></li><li><strong>Share the Burden with Developers</strong><p>SREs help take the burden off of the development team by focusing primarily on availability, latency, performance, efficiency, change management, monitoring, emergency response and capacity planning for services. The SRE team should have visibility of all components in order to collaborate, and more importantly, share responsibility with the product development team.</p></li><li><strong>Share Tools</strong> <p>Unify the codebase, and the team will follow. One of the biggest low-hanging fruits for collaboration is shared tooling. A mixed bag of tools lends to operational divergence and makes the ability to improve tooling extremely costly and difficult as you require more specialists.</p></li></ol> <p>Although SRE is made up of a multifaceted role and practices, it also usually results in a cultural shift similar to SRE’s complimentary companion, <a href="/%3Ca%20href%3D"https://www.comptia.org/blog/what-is-devops">DevOps.</a></p>">https://www.comptia.org/blog/what-is-devops">DevOps.</a></p> <h2>DevOps 101</h2> <p>In a nutshell, DevOps is the merger of methods, cultural doctrine and tools that increase an organization’s capability to deliver applications and services at both velocity and scale. This cultural evolution drastically enhances products at a break-neck pace compared to organizations leveraging traditional software development and IT management processes. This haste permits organizations to surpass customer expectations and heighten effectiveness in the marketplace. </p> <h3>5 DevOps Methods You Can Implement</h3> <ol><li><strong>Do Away with Silos</strong><p>Operations and developers used to be a house divided – similar to what you see in <em>Game of Thrones</em>. This casserole of knowledge isolation, one-sided optimizations and overall lack of organizational collaboration lends to toxic environments and limits business innovation.</p></li><li><strong>Normalize Accidents</strong><p>Whether it be an end user intentionally using a service in an unexpected way or an accidental fat-fingered command, things will inevitably break. Our job is not to prevent things so much that we can’t push the business forward. Our job is to make sure recovery is so quick that it goes unnoticed or is, at worst, a minor inconvenience.</p></li><li><strong>Piecemeal Changes</strong><p>Operations should look to make small but frequent changes. It’s better to have consistent, slow-risk changes versus gigantic updates that are complicated, multifaceted and expensive to roll back.</p></li><li><strong>Intertwine Tooling and Culture</strong><p>Our entire change management process lives and breathes based on our sophisticated tooling stacks. However, DevOps is a cultural shift and not just the tools we use day to day. As spoken in Google’s <em>The Site Reliability Workbook</em>, “A good culture can work around broken tooling, but the opposite rarely holds true.”</p></li><li><strong>Measure</strong> <p>If we don’t measure our progress, then we won’t be able to improve. Reality requires data. Objective management guided by data eliminates ego and pushes the organization forward.</p></li></ol> <h2>Operation Super Fruits: SRE vs. DevOps</h2> <p>If we think of SRE and DevOps as super fruits, there are similarities and differences. Like the saying goes, you can’t compare apples and oranges. While SRE and DevOps are inherently different, they are both good for us.</p> <p>SRE and DevOps agree on the following:</p> <ul><li>Change is unavoidable for improvement.</li><li>Cross organizational collaboration is key to marketplace success.</li><li>Change management should leverage automation for testing and deployment with a guideline of deploying small batches of value continuously.</li><li>Measuring your success at all layers is key.</li><li>Postmortems should be blameless to organize genuine team efforts and fix root issues.</li><li>Both methodologies are holistic in nature. Anything less than 100% adoption won’t work.</li></ul> <p>SRE and DevOps differ on the following:</p> <ul><li>DevOps has broad impactful principles that apply to the entire business but don’t dictate specifically how you run operations of services. SRE on the other hand is very regimented and user-oriented, which lends to it being very opinionated on how we run operations and services in favor of the end customer.</li><li>SRE is meant to be an actual role, whereas DevOps is a cultural phenomenon and philosophy adopted by the broader team or entire organization. </li></ul> <h2>Better Consumed Together: Where Do You Go from Here?</h2> <p>My hope is that this not only reinvigorated your love for DevOps but highlighted the sheer greatness of site reliability engineering. If you’re interested in diving deeper into DevOps, I recommend <a href="/%3Ca%20href%3D"https://www.amazon.com/DevOps-Handbook-World-Class-Reliability-Organizations/dp/1942788002"><em>The">https://www.amazon.com/DevOps-Handbook-World-Class-Reliability-Organizat... DevOps Handbook</em></a> by Gene Kim. If you want to learn more about site reliability engineering, I recommend Google’s <a href="/%3Ca%20href%3D"https://sre.google/workbook/table-of-contents/"><em>The">https://sre.google/workbook/table-of-contents/"><em>The Site Reliability Workbook</em></a> – &nbsp;which is the main source of this article.<br><br><strong><em>Get the in-demand skills you need with CompTIA certifications and training solutions.&nbsp;<a href="/%3Ca%20href%3D"https://www.comptia.org/training/resources/exam-objectives">Download">https://www.comptia.org/training/resources/exam-objectives">Download the exam objectives&nbsp;</a>to get started.</em></strong></p> <p><em>Joshua “TechDev” Walker is a certified Cloud Engineering Subject Matter Expert, Author of </em><a href="/%3Ca%20href%3D"https://www.amazon.com/Venti-Fried-Chicken-Joshua-Walker/dp/B08SN3K4V2/ref=tmm_pap_swatch_0?_encoding=UTF8&amp;qid=&amp;sr="><em>">https://www.amazon.com/Venti-Fried-Chicken-Joshua-Walker/dp/B08SN3K4V2/r...“Venti Fried Chicken”</em></a><em> and VP of </em><a href="/%3Ca%20href%3D"https://blackorlandotech.org/"><em>Black">https://blackorlandotech.org/"><em>Black Orlando Tech</em></a><em><u>.</u></em></p>

About the Author

With more than 2,000 members, 3,000 academic and training partners and tens of thousands of registered users spanning the entire information communications and technology (ICT) industry, CompTIA has become a leading voice for the technology ecosystem.

ChannelPro SMB Magazine
SUBSCRIBE FREE!

Get an edge on the competition

With each issue packed full of powerful news, reviews, analysis, and advice targeting IT channel professionals, ChannelPro-SMB will help you cultivate your SMB customers and run your business more profitably.