<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Daniel Yokoyama on Medium]]></title>
        <description><![CDATA[Stories by Daniel Yokoyama on Medium]]></description>
        <link>https://medium.com/@dmyoko?source=rss-4516dac52aa1------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*-dxcBJSK5SHUpEhQ.jpg</url>
            <title>Stories by Daniel Yokoyama on Medium</title>
            <link>https://medium.com/@dmyoko?source=rss-4516dac52aa1------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Tue, 01 Dec 2026 10:26:09 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@dmyoko/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Enabling Fearless Coding in the Trunk]]></title>
            <link>https://medium.com/@dmyoko/enabling-fearless-coding-in-the-trunk-de7887b46613?source=rss-4516dac52aa1------2</link>
            <guid isPermaLink="false">https://medium.com/p/de7887b46613</guid>
            <category><![CDATA[devops]]></category>
            <category><![CDATA[continuous-integration]]></category>
            <dc:creator><![CDATA[Daniel Yokoyama]]></dc:creator>
            <pubDate>Tue, 18 Jul 2023 13:30:00 GMT</pubDate>
            <atom:updated>2023-07-18T15:51:15.261Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*deW-jqVDpLIE-Kd1LOGrew.png" /><figcaption>A typical branching maze from a GitFlow repository</figcaption></figure><p><em>Para os leitores brasileiros e outros que prefiram o português, tem uma versão traduzida deste artigo </em><a href="https://dev.to/dmyoko/codando-sem-medo-na-main-1a41"><em>aqui</em></a><em>.</em></p><p>No. That’s no bait. I mean it.</p><p>So, maybe you already do this, and if that’s the case, I hope it could still be helpful. But I’ll talk to those still not enjoying the cozy blanket of Continuous Integration. My team is not (although it is a specific scenario, and I will explore it later, but I still think they should). And if by any chance you think a good way to think of this would be “It depends!”, I’ll take the risk and say: “Yeah, but probably it doesn’t!”.</p><p>Let’s face it, why are you not making your changes directly in the trunk (or the mainline branch, whatever you call it)? I’ll assume most of you would answer one of the following:</p><ul><li>That’s the way I was taught! I didn’t even think about that ever since.</li><li>Are you crazy? People would be mad if I broke something.</li><li>I’m aware of where this is going, and I read that it would be the case to work in branches when the code is maintained by a big team, which is my scenario.</li></ul><p>If your reasons are different from those, I would like to know. Consider spending a minute to leave a comment.</p><p>The third case is probably the best for the “It depends!” scenario, although the definition of what would be a “big team” is relative and very questionable. But I don’t mean to pull any legs, so let’s get going. It is a hot topic surrounded by misconceptions and misguidance, despite it has been around for decades.</p><h3>(Re)Discovering Continuous Integration (CI)</h3><blockquote><em>Oh, come on, D! You can’t be serious. I already use _____ for years.</em></blockquote><p>- Maybe you (filling in the blank with Jenkins, Github Actions, TravisCI, CircleCI, or any other tool like those).</p><p>If you’re already using some build-automation tool to make some validations as new code is pushed to the source control, that’s great. Trust me, I still hear from teams that are not. But still, even though your build pipeline is put together, that’s not enough to say that you’re using Continuous Integration.</p><blockquote><strong><em>Continuous Integration</em></strong><em> refers to the practice of </em>frequently<em> integrating code changes into a shared repository. It involves automating the process of </em>merging<em>, </em>validating<em>, and </em>building code changes<em>, </em><strong><em>ensuring that the integration is seamless and reliable</em></strong><em>. CI empowers development teams to work concurrently, collaborate effectively, and catch integration issues early in the development cycle.</em></blockquote><p>If you’re not confident that your pipeline is doing a good job asserting that everything is just fine, and you can just go ahead and put it into production, you’re not benefiting from CI yet. And if it is safe to assume it does, it should allow you to code in the trunk without fear.</p><p>“And why does that matter?” you might ask. Do you remember the <a href="https://medium.com/@dmyoko/the-four-key-metrics-from-accelerate-a53f75c105b6">last post</a>? One of the <em>Four Key Metrics</em> from Accelerate is <strong>Lead time</strong>, that is, <em>the time it takes for a code change to be implemented and deployed to production</em>. The time it takes to implement the change is totally up to the software engineers, but once the task is done, the longer it takes to get into production, sitting in a queue, awaiting to be deployed, the bigger it makes the Lead Time to be. So this indicator gives us some clue of how much time accumulating digital dust a commit should wait before being deployed: Hours? Days? Maybe weeks… (I’ve seen scenarios where a single deployment could take up to six months to be done, with hundreds of commits).</p><p>And that’s a centric concern of DevOps: make code get to production smoothly and fastly. Hence the importance of the Lead Time indicator, and how crucial it is to make it depends heavily on the time it takes for the code to be implemented, and make the time it takes to be deployed lesser and lesser, as much as we can.</p><p>But, if making it fast is one of the biggest concerns, there’s a second one, as important as the first, which is making it reliable.</p><p>So, how can we make our build pipeline reliable enough to give us the benefit of CI?</p><h3>Use Version Control</h3><p>You probably use git. I know there are others (in my career I have used CVS, Visual Source Safe, Subversion, and even Perforce for a short time), but for quite some time Git has been well-established as a standard for programmers in a general sense. But using a Source Control Management tool is just the means to an end, and dealing with Version Control adds a new layer to how you use it.</p><p>For instance, most developers just use SCM to commit their application code, but ignore that they should be versioning together the code for system configuration, application configuration, and scripts for automating build and configuration for the whole application. So if your application is dependent upon a database, you should implement some automation to keep your database aligned with your code version (handling schema migration, required data to be available when the application runs, etc). Also, the Application Configuration should be equally versioned. Taking the case of database dependency, there should be easy to configure the database credentials and inject them into the application in runtime so the same version could be deployed in both productive and non-productive environments (for testing, QA, or staging concerns).</p><p><a href="https://learning.oreilly.com/library/view/accelerate/9781457191435/">Accelerate</a> describes this survey that was performed for Puppet’s “The State of DevOps” report, and they have found out that:</p><blockquote><em>What was most interesting was that keeping system and application configuration in version control was more highly correlated with software delivery performance than keeping application code in version control. Configuration is normally considered a secondary concern to application code in configuration management, but our research shows that this is a misconception.</em></blockquote><p>So, using Version Control, and managing System and Application configuration as part of your codebase, as well as automation scripts, not only is a necessary step towards Continuous Integration but also improves the team’s performance and make the pipeline more reliable.</p><h3>Test Automation</h3><p>By this time it may not be a surprise to you that I’m talking about stuff that has been discussed for a long time: CI, Version Control, and now Test Automation. You probably have heard of them, and you probably know what TDD is… maybe you have even read the eXtreme Programming book, attended some talk about it at a conference, or heard about it in some blog post or Youtube video. And maybe you have also seen other stuff rejecting it (sometimes, completely).</p><p>I am a big fan of TDD, but regardless of what you might think about it as a design tool, the fact is that to increase the build pipeline reliability you have to make use of test automation. And, for the sake of my sanity, I have to take this chance to give some advice: consider using it by doing TDD (I promise I won’t talk about it again).</p><p>Yes, Test Automation is a must. If you were considering stopping reading when I mentioned versioning system configuration because you thought that would be hard, you’re probably regretting continuing it now. Testing is hard. Especially when doing it lately in the development workflow (I’ll keep my promise). Even more, because we’re not only talking about tests that make us sure that our code is working well, we’re also talking about making the build pipeline reliable, and now we have configuration code being versioned with the application code and automation scripts being put together as well. And everything should be well-integrated (<em>Continuous </em><strong><em>Integration</em></strong>, remember?).</p><h3>Storytime:</h3><blockquote><em>In 2013, I was working on a project using .Net, and we chose to use Entity Framework’s Migration feature to handle the versioning of the Database’s Schema. One day, when we were trying to build a new version of the application and the pipeline attempted to generate the script for the database changes, we got a migration error and we had to postpone the deployment and investigate the issue.</em></blockquote><blockquote><em>We found out Entity Framework’s Migration feature relied upon a Timestamp to make sure all migrations were being kept in order, but then, people working on different tasks (using different branches) created different changes to the database, each one with different timestamps, but the way they merged the code afterward were not in the same order, and the entries were not following the right chronological order, making Entity Framework to panic. So, from that moment on, we decided that we should always check the migrations order when merging code to the trunk (we used GitFlow — I know, you don’t have to remind me of that).</em></blockquote><blockquote><em>But that was not enough. The whole point is to make the build pipeline reliable, and we can’t rely on people recalling to check the timeline of migrations to push their code. To be reliable, the build pipeline has to double-check everything. It is the ultimate guard preventing human errors to cause issues to the delivery stream.</em></blockquote><blockquote><em>So we started to create a new kind of automated test. People call it </em>Infrastructure Tests<em> (to distinguish them from others like unit tests, or integration tests). And the first test case was to create a brand new database from scratch using the codebase (which would make it compatible with the latest version of the code), then run every single migration downwards to the very first database version (testing the downgrade steps), and finally running all of them again, now upwards to the last one (testing the upgrade steps) and checking if everything was done ok.</em></blockquote><blockquote><em>We had to spend some time figuring out how to hack Entity Framework to work nicely with SQLite in-memory database to make it not take too long to run all the tests. So the build wouldn’t be affected by the time it would take to perform them.</em></blockquote><p>That’s how valuable it is to make the build pipeline reliable. Every time it would run, the pipeline would assure us that any issues regarding the migrations’ timeline would be detected, so we could just perform our work and rely on it.</p><p>Make sure your pipeline tests everything that could compromise the Integration of your application. Don’t neglect the value that it brings to your delivery stream. Consider not only creating Unit tests and having a nice code coverage from them, but also making integration tests, infrastructure tests, and any other tests that would increase the pipeline reliability.</p><h3>Build Quality in, and Shift Left on Security</h3><p>So, the application is being compiled, the configuration and automation scripts are being committed together with the application code, everything is being well tested and you have nice code coverage… look at you! Good job. What now?</p><p>Now we have to avoid other bottlenecks that could affect our Lead Time, hence, sabotaging the reliability of the pipeline. First, we have the check whether the code is compliant with any quality standards we have to follow. Maybe you and your team like to run some linter to check code standards, or to extract some code metrics reports to check cyclomatic complexity or other indicators. Maybe this is not a “No Go” issue to break the pipeline, but it would anticipate feedback on later inspections and reviews that could make the changes wait before being deployed.</p><p>The same applies to security. Maybe the company’s Infosec team has established security compliance that everyone has to follow. You should make your pipeline to check those inspections too. Maybe, you need to run vulnerability scans to check your code, the application dependencies, and its configuration… the more you bring into your pipeline, the more reliable it will be.</p><h3>Work in small batches and push code regularly</h3><p>Now your pipeline is doing everything it needs to make sure your whole application is well integrated, and you can rely on it.</p><p>The best thing you should do now to truly benefit from Continuous Integration is to avoid your code spending too long before being pushed into the trunk. And the best way to make this is to just code in the trunk. To avoid long-living branches and just code in the trunk you have to avoid making your work based on big batches of code being pushed all at once, and work in smaller, valuable, deliverable steps, pushing small batches of code regularly into the pipeline and watching your delivery stream as it runs to perform the integration iteratively and incrementally.</p><p>Also, you should never forget that things evolve, and there’s no such thing as “being done”, like an Ultimate Pipeline, <em>The one pipeline to rule them all</em>. You’ll probably face situations where the reliability of your build pipeline would be challenged, and find room for improvements. Take care of it. Don’t neglect it! It’ll help you sleep better.</p><h3>Additional Advice</h3><p>Some people (me included) like to keep a smaller version of the pipeline to run while pushing code to the origin repository as a way to make sure at the last moment that everything is fine before the code makes it there and breaks the trunk on GitHub (or similar). That’s useful, although you’ll probably have to be careful about how short it is compared to the original one.</p><p>Another option would be to run the whole thing locally, in your development environment (although that is not always possible, but if it is, it is also great).</p><p>Many people tend to be annoyed if the building makes them spend some time waiting. Especially when they have to run it on a before-push basis. Many think they should be spending this time coding more stuff. And it is funny to figure how relative it is to say it takes too long, as it makes sense if the whole thing takes more than 10 minutes to finish, but you’ll find people that would probably complain even if takes only 2.</p><h3>Conclusion</h3><p>I know… that was quite long… a lot.</p><p>But we have covered a lot of ground in one of the best practices we have to reduce Lead Time, which is one of the <em>Four Key Metrics</em>, <strong>Continuous Integration</strong>. We talked about how coding in the trunk is not a nonsense way of doing work, and through the pipeline reliability, we could be confident to do it without hesitation.</p><p>In the next post, I will talk about <strong>Continuous Delivery</strong>, which is another great practice to use for that matter.</p><p>I hope you find this post helpful, and I’m eager to see what y’all think about it.</p><p>Thank you.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=de7887b46613" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[The Four Key Metrics from Accelerate]]></title>
            <link>https://medium.com/@dmyoko/the-four-key-metrics-from-accelerate-a53f75c105b6?source=rss-4516dac52aa1------2</link>
            <guid isPermaLink="false">https://medium.com/p/a53f75c105b6</guid>
            <category><![CDATA[sre]]></category>
            <category><![CDATA[devops]]></category>
            <category><![CDATA[platform-engineering]]></category>
            <dc:creator><![CDATA[Daniel Yokoyama]]></dc:creator>
            <pubDate>Tue, 28 Mar 2023 02:10:00 GMT</pubDate>
            <atom:updated>2023-04-04T12:30:36.565Z</atom:updated>
            <content:encoded><![CDATA[<p><em>Para os leitores brasileiros e outros que prefiram o português, tem uma versão traduzida deste artigo </em><a href="https://dev.to/dmyoko/as-quatro-metricas-de-accelerate-3g41"><em>aqui</em></a><em>.</em></p><p>Last time we talked I was trying to explain <a href="https://medium.com/@dmyoko/nurturing-high-performing-teams-with-devops-culture-287684c99e84">how we can use a DevOps Culture to nurture High-performance teams</a>. I spent a while talking about “<em>The Three Ways</em>”, from Gene Kim’s <strong>The Phoenix Project</strong>, and I mentioned <strong>Accelerate</strong>, another book by Gene Kim (along with Jez Humble and Dr. Nicole Forsgren), like an idea for a more “<em>tactical</em>” approach to stimulate a <em>DevOps culture</em> within the organization. Today I want to delve deeper into this approach, by exploring <strong>Accelerate</strong> a little further and see how it can establish a general guideline to assess how mature the teams are regarding DevOps and how they can improve it.</p><p>In the world of <em>software development and operations</em>, high performance is key. But how do you measure performance, and what metrics are the most important?</p><h3>Measuring DevOps Maturity</h3><p>Let’s just make things clear: I’m not in favor of adopting any <em>DevOps maturity model</em> in order to measure it within an organization. <em>Accelerate</em> clarifies that we should focus on capabilities instead of maturity, and I’ll stick to the book on this matter. The whole first chapter describes the authors’ effort to come up with <em>measures</em> and <em>metrics</em> that could indicate good performance teams, and how reliable these are when used to understand how the organization grades in those measurements.</p><p>By focusing on capabilities we refer to a team’s <em>ability to perform certain technical practices</em> that are associated with high performance. These technical practices include things like <em>version control</em>, <em>automated testing</em>, <em>continuous integration</em>, and <em>deployment automation</em>, among others. Measuring capabilities involves assessing a team’s level of proficiency in each of these technical practices.</p><p>According to <em>Accelerate</em>, there are four key metrics that high-performing teams focus on:</p><ul><li>Lead Time</li><li>Deployment Frequency</li><li>Mean Time to Restore (MTTR)</li><li>Change Fail Percentage</li></ul><p>These metrics provide a comprehensive view of software delivery and operational performance and have been shown to be strong predictors of organizational performance.</p><p>According to Kim, “The most successful organizations are those that are able to achieve high levels of both throughput and stability.” Throughput refers to the ability to deliver new features and updates quickly, while stability refers to the ability to do so reliably and with high levels of quality.</p><p>Let’s take a closer look at each of the four key metrics:</p><h3>Lead Time</h3><p>“Elite performers have lead times of less than one day, while low performers have lead times of more than one month.” — Accelerate</p><p>Lead time for changes measures the time it takes for a code change to be implemented and deployed to production. High-performing teams have significantly shorter lead times than low-performing teams, allowing them to deliver value to customers more quickly and respond to changing market conditions faster.</p><p>To be able to quickly restore services, high-performing teams use practices such as continuous integration and delivery, automated testing, and small batch sizes. By automating repetitive tasks and breaking work into smaller pieces, teams can reduce the time it takes to get code changes into production.</p><h3>Deployment Frequency</h3><p>“Elite performers deploy code up to multiple times per day, while low performers deploy code once per month or less.” — Accelerate</p><p>Deployment frequency measures how often changes are deployed to production. High-performing teams deploy changes far more frequently than low-performing teams, enabling them to respond to customer needs more quickly and iterate on their product more rapidly.</p><p>However, it’s important to note that deployment frequency should not be pursued at the expense of stability and reliability. High-performing teams are able to achieve both frequent deployments and high levels of stability through the use of practices such as automated testing, continuous integration, and continuous delivery.</p><h3>Mean Time to Restore (MTTR)</h3><p>“Elite performers have times to restore service of less than one hour, while low performers have times to restore service of more than one day.” — Accelerate</p><p>Mean Time to Restore service measures the time it takes to restore service after a production incident or outage. High-performing teams are able to quickly diagnose and fix issues in production, minimizing the impact on customers and reducing downtime.</p><p>To achieve short times to restore service, high-performing teams use practices such as monitoring, alerting, and incident response processes. By proactively monitoring their systems, teams can quickly identify issues when they occur and respond to them before they impact customers. When an incident does occur, teams with strong incident response processes can quickly mobilize and work together to diagnose and fix the issue.</p><h3>Change Fail Percentage</h3><p>“Elite performers have change failure rates of less than 15 percent, while low performers have change failure rates of more than 46 percent.” — Accelerate</p><p>Change Fail Percentage measures the percentage of changes that result in a failure or defect that must be addressed. High-performing teams have significantly lower change failure rates than low-performing teams, indicating that they are able to deliver changes to production with higher levels of quality.</p><p>To achieve low change failure rates, high-performing teams use practices such as automated testing, continuous integration, and continuous delivery. By catching issues earlier in the development process and ensuring that changes are thoroughly tested before being deployed, teams can reduce the likelihood of defects and failures in production.</p><p>It’s also important to note that the change failure rate should not be viewed as a punitive metric. Instead, it should be used to identify areas for improvement and drive continuous improvement in the development process.</p><h3>DORA’s Fifth Metric: The Operational Performance Metric</h3><p>That’s right… there’s a fifth metric for the 4 Key Metrics, much like the Three Musketeers (which were actually four).</p><p>In addition to these four key metrics, DORA (DevOps Research and Assessment) has an additional metric for Operational Performance, based on Reliability. It is a measure of modern <em>operational practices</em>, indicating how well the services meet user expectations, such as <em>availability</em>, <em>latency</em>, <em>performance</em>, and <em>scalability</em>. According to the <a href="https://cloud.google.com/devops/state-of-devops/">2022 State of DevOps Report from DORA</a>, teams with varying degrees of <em>delivery performance</em> see better outcomes (e.g.: less <em>burnout</em>) when they also prioritize operational performance.</p><p><em>Fitness Functions</em> may be useful to run performance and scalability diagnosis within the development workflow, whilst <em>monitoring</em> would ensure that the production environment guarantees consistency compared to that diagnosis.</p><h3>What Does it Mean to Be a High-Performant Team?</h3><p>I’ve been talking a lot about using DevOps culture to create High-Performant teams through an organization, and have brought those metrics to the discussion. Obviously, measuring how often a team is able to deploy, or how long it takes for a new change to make its way into production gives the team solid feedback about its own maturity. In Accelerate, the authors describe how they used cluster analysis to categorize team performance based on the data provided by the surveyees. They applied this technique for four years of research (the results are published by Puppet as The State Of DevOps Report, from 2014 through 2017) and found out that every year, there were consistently similar categories of software delivery performance in the industry.</p><p>Here’s how 2016 results compared to the data findings in 2017 illustrate how the 4 key metrics have helped cluster analysis to categorize performance (source: Accelerate):</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/645/1*D3ceRwP7Opl7MAaVLswtiw.png" /><figcaption>2016 cluster analysis from Accelerate</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/643/1*8HRZF4qD_lKXFWtS1qvdKg.png" /><figcaption>2017 cluster analysis from Accelerate</figcaption></figure><p><em>* Low performers were lower on average (at a statistically significant level) but had the same median as the medium performers.</em></p><p>Note how the threshold that distinguishes performance categories for <em>Change Failure Rate</em> changes from 2016 data to 2017 data: Medium Performers improved their result from 21–45% in 2016 to 0–15% in 2017, being comparable to High Performers, while the opposite happened to the Low Performers, which had 16–30% in 2016, but in 2017 the analysis clustered them to be between 31–45%.</p><p>I recommend reading the book for more information about how the survey was designed and how the authors used the data. It is an excellent source of information, and it keeps going on explaining the whole research process.</p><h3>How Platform-Engineering teams and SRE can help to improve on those metrics?</h3><p>Now that we’re acquainted with the Four Key Metrics, let’s talk about how Platform-Engineering and SRE can contribute to teams improving their performance.</p><p>When it comes to stability, the “Operational Performance” metrics, and every good practice mentioned by DORA Report that contributes to this measurement, it turns out all boils down to what we call Reliability. It’s common sense that software fails once in a while, something wrong is going to happen, some piece of software is going to misbehave, or some arbitrary machine is going to malfunction, the internet connectivity is going to be lost, a number of things may happen (and they will, in Murphy we should trust). Reliability is a way to measure how solid is your monitoring systems and how capable you are to acknowledge that something is wrong and act fast, or even to prevent these scenarios from happening, by preparing automated tasks that anticipate such failures and make the whole system automatically reacts to failures itself (almost as if it would be capable to self-restore). That’s the purpose of Site Reliability Engineering (SRE).</p><p>First and foremost, the organization must be able to determine what kind of Performance Operation is considered “good enough” to maintain, and what is “bad enough” to act upon. That has to be defined based on how the user experiences the product: what is the latency baseline that impacts conversion, from which point availability is not worth to be improved, as it probably won’t be experienced by the user, how aware we are about the load capacity for the whole system, so we can respond when such load is exceeded, and we do this in a way that the system will be able to handle the new load.</p><p>To do this, SRE helps the organization define the Service-Level Indicators (SLIs) that are going to be measured, in order to define what would be considered “Good performance”, and when we should treat it as “bad”. These thresholds are called Service-Level Objectives (SLOs), and they help the teams to understand when something is off. In a future article, I hope to be able to talk more about SLIs and SLOs, as well as explore Error Budgets and explain about Observability.</p><p>Now, when it comes to Platform-Engineering, a lot could be achieved by the software delivery teams when a set of tools are in place to make the whole SDLC smoother and more reliable. It ranges from the simplest things like providing a Versioning Control System and Build-Automation tools, allowing Continuous Integration and Continuous Delivery, to bringing tools to the workflow to improve security (<em>shift-left on security</em>) and automate the whole operation for the system and its parts (<em>configuration management</em>, <em>rollout strategies</em>, <em>circuit-breaking</em>, etc), ideally abstracting all the <em>underlying plumbing</em> in order to make the whole process of publishing services into production easier over time.</p><p>There’s no doubt we’ll have a lot to talk about in the future to address how a Platform-Engineering team can contribute to creating High-Performance Software Delivery workflows.</p><p>However, Software Delivery Teams are still in charge of how to control the quality of their software, by automating tests and running code-quality checking tools (code standards and metrics).</p><h3>Conclusion</h3><p>The four key metrics presented in the book Accelerate — Lead Time, Deployment Frequency, Mean Time to Restore (MTTR), and Change Failure Rate — are powerful tools for evaluating the performance of software delivery teams and identifying areas of improvement. These metrics provide an overview of software delivery and operational performance and have been shown to be strong predictors of organizational performance.</p><p>By focusing on team capabilities rather than their DevOps maturity, companies can gain valuable insights into their ability to deliver high-quality software quickly and safely. With the proper practices, such as version control, automated testing, continuous integration, and deployment automation, among others, teams can improve these four key metrics and achieve high-quality performance.</p><p>In summary, adopting a DevOps culture is essential for companies seeking to achieve high performance in their software and operations projects. With the help of automation practices and appropriate tools, teams can significantly improve their ability to deliver software quickly and safely while maintaining high levels of quality and stability. An ongoing evaluation of the four key performance metrics can help ensure that teams are on the right track to achieve these goals.</p><p>P.S.: Special thanks to my friends: <a href="https://medium.com/u/c43228336a9f">Daniel Pilon</a> and <a href="https://medium.com/u/87f30126db91">Frederico Vitorino</a> for help with proofreading. I love you guys!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=a53f75c105b6" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Nurturing High-Performing Teams with DevOps Culture]]></title>
            <link>https://medium.com/@dmyoko/nurturing-high-performing-teams-with-devops-culture-287684c99e84?source=rss-4516dac52aa1------2</link>
            <guid isPermaLink="false">https://medium.com/p/287684c99e84</guid>
            <category><![CDATA[platform-engineering]]></category>
            <category><![CDATA[sre]]></category>
            <category><![CDATA[devops]]></category>
            <dc:creator><![CDATA[Daniel Yokoyama]]></dc:creator>
            <pubDate>Mon, 20 Mar 2023 18:19:15 GMT</pubDate>
            <atom:updated>2023-03-29T00:27:46.126Z</atom:updated>
            <content:encoded><![CDATA[<p><em>Para os leitores brasileiros e outros que prefiram o português, tem uma versão traduzida deste artigo </em><a href="https://dev.to/dmyoko/criando-equipes-de-alto-desempenho-com-a-cultura-devops-3d4o"><em>aqui</em></a><em>.</em></p><p>Have you ever asked yourself why is DevOps a topic so confusing, full of misdirections, and massive tutorials regarding all the “Ops” stuff, as if all a “Dev” should do to know DevOps, is to become a SysAdmin altogether?</p><p>In my daily job, I’m in charge of a Platform-Engineering team and one of my goals is to enrich the DevOps culture through the organization, which can be challenging depending on how crude the teams are regarding the principles and values that drive such culture. So, when people try to find out how to learn DevOps, they usually come across a huge amount of material concerning Operations.</p><p>I mean, try to put yourself in the shoes of a rookie and figure out how overwhelming that would be… as if it is not overwhelming already. I had a hard time trying to learn DevOps, and I have over 20 years of experience. And, just to be clear, I’m not saying that those things are not valuable matters to learn about. I’m just saying that DevOps is not about none of that.</p><h3>What is DevOps?</h3><figure><img alt="The cover of the book “The DevOps Handbook: How to create world-class Agility, Reliability, and Security in Technology Organizations”, by Gene Kim, Jez Humble, Patrick Debois and John Willis." src="https://cdn-images-1.medium.com/max/400/1*9VoOYujQDXAnYpeOe9oE4A.jpeg" /></figure><p>So I decided to write about DevOps, the challenges of implementing a DevOps culture, and discuss a little about what sort of topics should be considered when trying to implement DevOps across the organization.</p><p>Creating a DevOps culture is crucial for organizations that want to improve the speed, quality, and reliability of their software delivery. However, creating this culture can be challenging, especially when developers are unaware of the best practices and values that a DevOps culture is supposed to bring into the organization. In this article, we will explore the key principles and practices of DevOps, and how they can be applied to overcome these challenges.</p><h3>Gene Kim’s Three Ways</h3><figure><img alt="The cover of the book “The Phoenix Project: A Novel About IT, DevOps, and Helping Your Business Win”, by Gene Kim, Kevin Behr, and George Spafford" src="https://cdn-images-1.medium.com/max/400/1*yeXKRmsQxo7yNfGmjMvmWQ.jpeg" /></figure><p>I believe the most fundamental DevOps concept comes from <em>The DevOps Handbook</em> (2016, by Gene Kim, Jez Humble, Patrick Debois, and John Willis). I’m talking about the <em>Three Ways of DevOps</em>, introduced in a previous book: <em>The Phoenix Project</em> (2013, by Gene Kim, Kevin Behr, and George Spafford), but much better explored in the later one.</p><p>The First Way is about creating flow, from development through to operations and delivery by smoothing the whole way it takes for the code to leave the developer’s machine and get into production, applying any checks needed, and assessing how well it fits a functioning new version of the product.</p><p>The Second Way is about creating feedback loops so everyone can learn and improve from their experiences. So, how well is this code working? Are there any new bugs or issues regarding unexpected behavior? How long does it take to fix them? How is the user experiencing the product? What else can we learn from the product that could help us have an insight into what changes we should do to make it better?</p><p>Finally, the Third Way is about creating a culture of experimentation and learning, by celebrating successes and failures and creating a safe environment where people feel comfortable taking risks and trying new things.</p><p>In summary, if I had to give a short answer about what the heck is a DevOps Culture, I would happily say that it is an organization that values all Three Ways and let itself be driven by them.</p><h3>Nurturing High-Performing Teams</h3><figure><img alt="The cover of the book “Accelerate: Building and Scaling High Performing Technology Organizations”, by Nicole Forsgren, PhD, Jez Humble, and Gene Kim" src="https://cdn-images-1.medium.com/max/400/1*gmRp-UApYWP_av3uYv86Yg.jpeg" /></figure><p>But if you need a more tactical approach to learning how to implement a DevOps Culture, I can also mention another book by Gene Kim: <em>Accelerate — The Science of Lean Software and DevOps: Building and Scaling High Performing Technology Organizations</em> (2018, by Nicole Forsgren, Ph.D., Jez Humble, and Gene Kim). The book elaborates on how Kim, Humble, and Dr. Forsgren worked together to conduct the yearly survey for the <em>State of DevOps Report</em> by Puppet and to what conclusions they came with the data they got. It is an ode to all of the <em>Good Practices</em> we’ve been talking about for the last decades, but now with concrete data, research methodology, and science.</p><p>According to the book, a DevOps culture is critical for high-performing technology organizations. It’s characterized by a shared understanding of the goals and objectives of the organization, as well as a willingness to experiment and learn from failures. Leaders play a critical role in creating a DevOps culture, by creating a safe environment where experimentation and learning are encouraged, and promoting a culture of collaboration and shared responsibility.</p><p>When developers are unaware of good practices, it can create bottlenecks and delays in the DevOps process, slow down delivery, and cause frustration for everyone involved. To address this, organizations should focus on educating their developers about the best practices of DevOps, and why they are important. Here are some best practices that Kim and his colleagues have identified:</p><ul><li><strong>Continuous Integration</strong>: Developers should frequently integrate their code into a shared repository, and use automated testing to catch errors early.</li><li><strong>Continuous Delivery</strong>: Code changes should be automatically built, tested, and deployed to production.</li><li><strong>Monitoring and Logging</strong>: Organizations should have automated monitoring and logging systems in place to quickly identify and respond to issues.</li><li><strong>Infrastructure as Code</strong>: Infrastructure should be treated as code, and managed through version control systems so that changes can be easily tracked and managed.</li><li><strong>Collaboration</strong>: Teams should work collaboratively, and share responsibility for the delivery and support of their systems.</li></ul><h3>The Emergence of Platform-Engineering Teams</h3><p>Another key trend in DevOps is the ascension of Platform Engineering teams. These teams focus on building and maintaining the underlying infrastructure and platforms that enable software delivery teams to work more efficiently and effectively. They create standardization and automation around core infrastructure components, such as databases and networking, so that development teams can focus on building applications rather than worrying about the underlying infrastructure. By providing a solid foundation for DevOps teams to work on, Platform Engineering teams help to improve the speed, quality, and reliability of software delivery.</p><p>Consider for a minute what any backend developer has to worry about when creating a service for a REST API, and imagine all the buzz regarding DevOps added to that to make this service operational. So that’s the problem a Platform-Engineering team is supposed to solve. They get all the <em>plumbing</em> (quoting Armon Dadgar, Co-founder and CTO at Hashicorp) regarding networking, automation, security, Load balancers, Caching Services, Reverse Proxies, Firewalls, Cloud Services, Observability Services (logs, metrics, tracing) and make them available as services for the Software Engineers so that they don’t have to understand all of that stuff (containers, Kubernetes, service-mesh, everything else) in order to take their services and place them into production, benefiting from all the stability, security and availability delivered by the platform.</p><h3>SRE as an Engine for Feedback Loops</h3><p>Site Reliability Engineering (SRE) is another methodology that combines software engineering and operations to create highly scalable and reliable software systems. SRE emphasizes the importance of automating repetitive tasks, reducing the impact of failures, and designing systems for resilience and scalability. SRE teams work closely with development teams to ensure that applications are designed to be highly available and that they can quickly recover from failures.</p><p>More than that, SRE relies on the fact that Reliability can be engineered (no pun intended). I mean, how can you make a service more reliable? Well, SRE works toward understanding what indicators should be used to define reliability (SLIs), such as response time, or error rates. Then the team, alongside the business experts and stakeholders tries to figure what is the acceptable level of failure for those indicators (SLOs), meaning what is the turning point where everyone agrees it’s not worth trying to prevent failure (maybe because it makes it too expensive, or maybe because the user themself won’t notice any improvement on their experience). Finally, Error Budgets have a role to play, by helping the teams to know when to stop deploying and start reviewing their issues for a while. Observability is also at the heart of it all, by using tools to measure, monitor and alert the service’s unexpected behavior.</p><h3>Conclusion</h3><p>In summary, creating a DevOps culture is critical for organizations that want to deliver high-quality software quickly and reliably. However, creating this culture can be a challenge, especially when developers are not aware of the best practices and values that a DevOps culture should bring to the organization. By educating developers on DevOps best practices and encouraging a culture of experimentation and learning, organizations can overcome these challenges and create high-performing software delivery teams. The rise of Platform Engineering and Site Reliability Engineering teams can also help improve the efficiency and reliability of software systems.</p><p>P.S.: Special thanks to <a href="https://medium.com/u/87f30126db91">Frederico Vitorino</a> for help with proofreading. You are amazing!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=287684c99e84" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>