Arrested DevOps

Arrested DevOps

By Matt Stratton, Trevor Hess, Jessica Kerr, and Bridget KromhoutTechnologyTech News
Download on the App Store

All Arrested DevOps episodes

  • Kubernetes & the Future

    Bridget talks with Kelsey Hightower, who describes themselves as "a minimalist" who enjoys "learning in public and helping other people do the same." The conversation grows out of a Twitter post where Kelsey said they wanted to go on podcasts and talk about where Kubernetes is going. Kelsey's answer is that it's "not the future, it's the now."

    The 56K Modem Era of Kubernetes

    Kelsey compares Kubernetes to the 56K modem: some people liked the dial-up sound because it meant they were getting on the internet, and people now look at their nodes and clusters and feel like they're doing computing. The internet got interesting when that went away, with DSL and wireless routers, and now "the internet is now just a thing." Kelsey says "Things tend to get better when they disappear," and that we're in the 56K modem era of Kubernetes, and hiding it will let more people use it without learning to manage it.

    Bridget raises the fast-moving release cadence, and someone stuck on 1.12 or with no Kubernetes yet. Kelsey says that's a good place to be, because "if you don't have this problem, you don't really need this solution quite yet." Linux went through the same transition, from rolling your own distributions to Red Hat and Canonical, and Android users benefit from Linux without touching the kernel. Kelsey says it's early: Kubernetes is only 6 years old, VMs still work, and some people will skip containers and go straight to serverless, but Kubernetes-style APIs are resonating, and some people will use parts of it without ever being a cluster administrator. Kelsey describes GKE, AKS, Fargate and K3s as "checkpoints" in an ever-moving project, and says Kelsey is now a consumer of Kubernetes who goes to the checkpoints and uses it as is.

    Kubernetes the Hard Way

    Asked what people can still learn from Kubernetes the Hard Way, Kelsey recalls that early on there were no docs, and learning how to install it came before the first line of code or PR, which revealed what the scheduler did and what went where. Kelsey's argument is "you can't really fix a system that you don't know how it works." The guide goes step by step with no scripts, so people see what the kubelet does, how it connects to the API server, and where the certificate goes, and gain the foundation to troubleshoot and debug.

    For production, Kelsey says there are many layers, and security is number one, since performance can be tuned later but "once that security hole is too big, it's a little too late to go rewind the clock on a breach." Most clusters come out of the box with flexibility and not security, so you can run random images and run things as root, and Kelsey compares it to SELinux, which every system admin turns off. Kelsey says 30% of Kubernetes the Hard Way comes from security feedback, which is why it generates certificates for each component and encrypts secrets in etcd, and why it leaves the dashboard out. Bridget says they show the dashboard in workshops with a giant disclaimer about cryptocurrency miners. Kelsey is encouraged that KubeCon talks and docs now say to do exactly 4 or 5 things, raising the security profile for many people at once. Bridget mentions Ian Coldwater's keynote and Gareth Rushgrove's work with Open Policy Agent.

    Complexity Moves

    Kelsey uses CDNs as the model. People once glorified FTP and then SFTP, and thought FTP would just become more robust, but CDNs took the problem of getting files close to people and made it disappear as the complexity grew and the number of people who understood it shrank. Compute is slower because so many people believe they understand the compute problem, so a new person invents a new platform every couple of years. Serverless says there are about 80% of compute use cases that are understood and never need to be built again, but mainframes and VMs don't go away either. Kelsey says "I really look at this as we're going to have multiple things in parallel," and that if starting from scratch, "I would probably try to go as high as I could and focus on building my app and the product before going to play infrastructure again."

    On trust and lock-in, Kelsey says nobody digs up a wire to connect to the backbone of the internet, and compute needs providers that earn trust with open interfaces. On compliance, Kelsey says some banks are 100% online and see a single building with a door as too much risk, so it's "different degrees of understanding the risk."

    Stop Saying Legacy

    Kelsey asks engineers and executives to stop using the word legacy, since it has a derogatory context, and says "classic infrastructure" instead: "It's the stuff that actually worked cutting everyone's paycheck." Bridget calls it "the place where all the customers and money are." Kelsey asks what problems they have now, such as service discovery or scripts and large on-call rotations for failing over, which is the opportunity, since a part of Kubernetes solves that specifically. They may not need all of Kubernetes, and Kelsey asks them to have a good reason why: if 15 people maintain a scheduler that looks like Kubernetes, those people could work on another problem, or half of them could contribute to Kubernetes.

    Kelsey likes to spend time on-site asking what's on the backlog, often observability and security, and says even if Kubernetes automated you out of a job, "which it won't," it would give you time back. For people deciding whether to adopt, Kelsey says the world will continue to move with or without you, so put the tool through its paces, and if the answer is no, write an internal doc on the reasons and revisit if they get solved. That's "just engineering."

    Infrastructure as Data

    Kelsey has worked at Puppet Labs, used Ansible and contributed to Ansible and Terraform, and describes the last 10 to 15 years as an attempt at infrastructure as code, with DSLs, for loops and then the problems of any codebase. Kubernetes tries something slightly different: "No more infrastructure as code. Now, we're doing infrastructure as data." The logic and state machine live in the controller, which some people call operators, and on the front end you restrict yourself to data, which is YAML, even though Kubernetes itself only supports JSON and protocol buffers. The drawback is a lot of YAML, but like assembly language, any language can compile down to it. Helm can run as a preprocessor, pipe to Kustomize to patch, and go through an admission controller, which is "the dream come true" of describing infrastructure with a type system and interchanging tools.

    Bridget asks whether the flexibility makes the complexity unapproachable. Kelsey says Kubernetes is "formalizing the complexity," so it can be seen in one place, and people deal with it at different levels. Someone managing the environment can create a custom resource definition that says deploy my app across 50 countries, and control loops do the heavy lifting. Kelsey says that if you just want to deploy containers, "writing CRDs and operators is the equivalent of writing kernel modules," a job for the people who need to extend the system and not for most people, who need only declare a load balancer, a certificate, a DNS name and a container.

    The End Game

    Bridget says picking the technology first is resume-driven development. Kelsey says it's hard when you don't know what question to ask and every deploy goes wrong for 10 years in a row, and then you go to KubeCon and see someone deploying all over the world, and think you need some Kubernetes, which Kelsey admits to being partly responsible for. Bridget jokes, "Ask your doctor if Kubernetes is right for you."

    Kelsey's story is teaching their daughter to make a GeoCities-style web page in a text editor, viewed in Chrome. When the daughter asked why a friend couldn't see it at 127.0.0.1, Kelsey used Firebase, and "she said Firebase deploy and it spit out a URL." Kelsey calls that the end game: people with an idea and finished code who want to see it come to life, and any platform that gets closer to that moment is exciting. Kubernetes will evolve that way from the ground up and serverless will work its way down to support other workloads. Bridget adds that we should remember we're building things that produce actual value, and Kelsey agrees, adding that the middle layers matter and aren't the end game. Kelsey is on Twitter, DMs open, and on YouTube, with meetups announced about two weeks ahead.

    Bridget chats with Kelsey Hightower about Kubernetes and the future.

    • Kubernetes the Hard Way
    • If you have an upcoming conference you would like to see promoted on ADO, you can fill out the handy form at arresteddevops.com/conf

      Open CFPs
      • lots of DevOpsDays
      • Discount codes
        • ADO2019 or ADO2020 for discounts on lots of devopsdays
        • 45 min
        • Kubernetes Security

          Bridget talks with Ian Coldwater, recorded live at a meetup, about their KubeCon North America keynote and Kubernetes security. The cold open is Ian's line that "Attackers actually generally are unconcerned with whether or not you have your compliance boxes checked."

          Possible, But Not by Default

          Bridget asks if Kubernetes security is possible. Ian says yes, but Kubernetes is not secure by default, so if you assume it's secure out of the box you may be unpleasantly surprised. Asked for the over-under on new CVEs between finishing the keynote and giving it, Ian says they don't personally know of anything anybody is sitting on, so the number is completely unknown. For learning, Ian points to the engineering blogs from Aqua Security, StackRox and Twistlock, the Kubernetes security announce list, the Kubernetes documentation, past KubeCon talks, and people on Twitter. Ian acknowledges it's a pile of stuff, because Kubernetes has a lot of moving parts, but "you can do it."

          Before You Go to Production

          Ian's top item is admission control, "the biggest thing that you can do to stop attackers from being able to compromise your cluster." It's a set of policies that dictate what privileges get run and who is allowed access, and pod security policies are part of it. The user experience could use work, with pod security policies particularly notorious, but it's worth learning. Ian's second item is being careful about what's exposed to the internet, and suggests looking at Shodan, which indexes every 24 hours, so the idea of being too small to be a target isn't true. If SSH ports are exposed, use SSH bastions.

          What Developers Can Do

          For developers who don't run the cluster, Ian says one way in is supply chain attacks. Software has a supply chain, and Ian uses npm as the example, where a Node module has dependencies that have dependencies. Libraries and container registries are all potential vectors, so know what you're running and keep it up to date. Ian adds that people are a vector too, including yourself: developers know they're smart and may be more vulnerable to phishing than marketing or sales, since they're confident and may "pay less attention to those trainings by the numbers," and they often have more access, so they make exciting targets.

          On pinning versus staying current, Ian says containers done correctly make patching much easier, since you can spin down a container and spin up an updated one. In Kubernetes, have a plan for upgrading, and especially for upgrading in place, since newer security features may not come into an existing cluster to avoid breaking changes.

          Defenders Think in Lists, Attackers Think in Graphs

          Bridget calls back to the keynote line. Ian explains that people who aren't attackers think in lists: a list of compliance boxes, or sprint points, and "did we get them all?" They aren't necessarily looking at the layout of what's running and how things connect. Attackers want to get in, find out what's there, how it talks to other things and whether anything is vulnerable, to get "a lay of the land." If you don't know the connections between your resources but the attackers do, "that's a disadvantage for you." For building the graph, Ian recommends a VMware tool (the transcript garbles its name) that's useful both to administrators and to pen testers, since you can run it locally with the privileges you have. Ian has heard of cluster visualization resources in Visual Studio Code but hasn't tried them. Bridget notes the Kubernetes extension for VS Code is open source and plugs colleagues who work on it.

          Not the Team of No

          Bridget asks why Ian is "suspiciously positive for a security person." Ian says security people are notorious for being the team of no, and that it doesn't help relationships, since people who don't like you won't talk to or listen to you, and doesn't help security either, because developers and operators have their ears to the ground. Ian has worked in DevOps and knows what sprints are like, thinks most people mean well, and says "being a negative jerk doesn't really seem like it helps with that, so I just don't do it."

          Getting Into Offensive Security

          For people who want to become pen testers or red team members, Ian recommends capture the flag games, in which the flags are on servers you're sanctioned to compromise, and mentions overthewire.org as a beginner-friendly site. Ian has put on CTFs internally for developers and operators, and it's amazingly effective when people find out how fast it is, like "you can literally just hit that button?" Ian warns that some developers get bit by the bug and want to do it all the time.

          Ian is @IanColdwater on Twitter, says Twitter is a good place to learn about security, and warns that their LinkedIn says it's only good for phishing. Ian's parting thought: "You don't have to be anybody other than who you are," diversity is strength, and it's important to step into other people's shoes, whether a security person stepping into a developer's or an operator stepping into an attacker's. "Lead with empathy, it's important."

          Bridget chats with Ian Coldwater at the devops Minneapolis meetup about their KubeCon North America 2019 keynote.

          Video from KubeCon: Hello From the Other Side: Dispatches From a Kubernetes Attacker

          Art credit: Sarah Becan - original tweet, threadless store, website

          If you have an upcoming conference you would like to see promoted on ADO, you can fill out the handy form at arresteddevops.com/conf

          Open CFPs
          • lots of DevOpsDays
          • Discount codes
            • ADO2019 or ADO2020 for discounts on lots of devopsdays
            • 23 min
            • Kubernetes Best Practices

              Bridget talks with all four authors of the forthcoming O'Reilly book Kubernetes Best Practices: Brendan Burns, Eddie Villalba, Dave Strebel and Lachlan Evenson. Brendan writes because "I like to teach," a legacy of once being a professor. Eddie has been at Microsoft for 10 years and wants to spread what the big organizations learn, good and bad, to startups that can't get that help. Dave helps customers succeed with Kubernetes daily and never aspired to write a book, but likes breaking down complex technology. Lachlan wanted to give back to the community, remembering Brendan standing in a hallway in late 2014 or early 2015 answering all of Lachlan's questions, and to write the book Lachlan wished existed in 2015. The cold open is Brendan's line: "It's a powerful tool, but it's also kind of a footgun."

              Short Essays, Not a Narrative

              Brendan says the project has moved from something people heard about to something everyone wants to implement, but people struggle with specific tasks, and hands-on help doesn't scale. They've seen "lots of people sort of shoot themselves in their foot." Unlike general introductions to Kubernetes, the book is focused on specific topics, to dip into when working on machine learning or setting up a cluster for a bunch of developers, so it's "a series of short essays rather than a whole put-together book." The 258-page PDF Bridget has in front of them has no narrative flow, which is on purpose.

              Lachlan says now is the right time because adoption has grown, the ecosystem has become more complex, and Kubernetes has a sprawling variety of APIs, so the book shows where to start on topics like policy, rolling upgrades, governance and security. Eddie says organizations are already down the path and don't want another step-by-step walkthrough, and the authors tried not to make it a snapshot of one version. Dave says users need to focus on the core concepts and often skip them to over-engineer. Lachlan likes the mix of philosophy, meaning why you'd want policy, and the tactical how.

              Chapter Favorites

              Lachlan's favorite was Chapter 11, on policy. Lachlan notes "everybody loves hearing Chapter 11 for anything," and says enterprises moving workloads to Kubernetes ask how to make sure workloads conform to policy, whether regulated or just wanting to understand configuration. Bridget notes the chapter covers the open source project Gatekeeper, and Lachlan says it's a Kubernetes-native implementation of OPA, the Open Policy Agent.

              Dave's was resource management, which "doesn't sound really exciting at all" but is something users struggle with and affects scaling. The book covers best practices around requests and limits and how workloads behave when capacity runs out. Lachlan says most of the outages Lachlan was paid to handle in the early days came from resource management, as clusters got to 80, 90, 100%, and would have liked to have had the chapter in 2015, to avoid a cluster going into cascading failure at 3:00 AM.

              Eddie's was Chapter 9, covering networking, network security and service meshes, which was the most challenging to fit into a concise format. Eddie calls networking the foundation, where little things trip people up, like the move from kube-dns or SkyDNS to CoreDNS, and describes a customer where divisions put Kubernetes in without telling anyone, and then security asked why their controls were gone. Eddie says people want a service mesh as an "easy button" for observability, security and policy, and find it's "Thousands of little buttons that you have to press in the right combination." The chapter describes what all service meshes should do, what to prioritize, and the SMI spec, a common API for those things.

              Brendan's favorite, after the first chapter on laying out a service, is the one on developer workflows. Brendan worries that operators love the technology, or it's great for continuous delivery, "but we've made the developers' lives miserable." The chapter covers partitioning a cluster with namespaces, onboarding a new developer, RBAC so people don't step on each other, cluster-level logging and monitoring that's just there, and testing and debugging, since "if it's not easy, people will do less of it, and then you ship buggier software."

              Will Organizations Do This?

              Bridget asks whether people in the field actually follow these recommendations. Brendan says people want to, and "the recipes just aren't there, necessarily." Eddie describes a customer creating a new division to build patterns for developers and ops so onboarding is easy and everything is automated. Dave says there's a big cultural impact, since you leave control to Kubernetes that you used to hold tightly, much like adopting a DevOps culture. Lachlan says there's no single right answer, but a set of tools and techniques that have worked, which the book offers as blueprints, so you aren't "left scrounging."

              Best Advice

              Lachlan's advice: this is a journey and not a destination, there will never be a point where the system is perfect, and people paralyzed by indecision should use best practices to make a decision and keep adjusting. Dave's is to walk before you run, and get good at the core capabilities, network security, resource management and policy before layering on tools like a service mesh installed with one Helm command. Eddie's is to keep an open mind, since practices from on-premises servers and VMs may no longer fit, and the bias of "that's not how we did things" is the biggest challenge in the field.

              Brendan's is to understand why you're making every decision, including Kubernetes itself, and not adopt it because "Everybody needs a Kubernetes strategy" appeared in a magazine. Brendan says Kubernetes makes deploying easy without helping you understand the system, and that things hard to manage over time are easy to start, so people assume the ease will continue. Brendan's summary: Kubernetes "is alive," a living thing and not a static one, that "could turn on you at any moment." Bridget calls it the Admiral Ackbar principle: "it's a trap if you think that it's going to be easy." The episode closes with a joke about putting a paper copy in a time machine, or a DeLorean, so Biff can't steal it.

              Bridget chats with the authors of Kubernetes Best Practices: Brendan Burns, Eddie Villalba, Dave Strebel, and Lachlan Evenson. (Kindle version available now!)

              Community & Events & Stuff

              Dave:

              • All Things Open - Talk on Non-Code Contributions To OSS
              • KubeCon NA - Lightning Talk on Non-Code Contributions to Kubernetes
              • Brendan:

                • K8s meetup in Heidelburg Germany
                • Microsoft Ignite
                • KubeCon North America
                • Eddie:

                  • Medium Blog
                  • Kubernetes on Azure Best Practices Series
                  • KubeCon NA and Contributors Summit in November
                  • Austin Kubernetes Meetup
                  • Lachie:

                    • OSS Unboxing on Youtube
                    • At KubeCon and the Kubernetes contributor summit in San Diego in November
                    • Bridget:

                      • Twin Cities Startup week, devopsdays Philly, devopsdays Ghent, Velocity Berlin, KubeCon
                      • Van Moof ebikes! Joe and I just got these.
                      • If you have an upcoming conference you would like to see promoted on ADO, you can fill out the handy form at arresteddevops.com/conf

                        Upcoming conferences
                        Open CFPs
                        • lots of DevOpsDays
                        • Discount codes
                          • ADO2019 or ADO2020 for discounts on lots of devopsdays
                          • 40 min
                          • devopsdays Philadelphia 2019

                            Bridget records live at devopsdays Philadelphia 2019 with Peter Shannon, a senior software engineer at Instacart and head organizer of the event, Jocelyn Harper, a senior associate software engineer at Capital One who gave the opening keynote, and Tim Gross, a software engineer at HashiCorp working on Nomad, who has keynoted Philly in past years. The conversation is about ethics, data and the responsibility of technologists.

                            Curating a Single Track

                            Peter says the program is single-track, in its fourth year, so it has to balance culture talks, technical talks and talks that feel timely. Attendees complain in both directions, that it's too cultural and that it's not cultural enough. Peter tries to make the opening talks lean cultural and relevant to the moment, and if possible frames other talks around that theme.

                            Indifference and Software Defining Culture

                            Jocelyn's keynote was about ethics in technology and the responsibility technologists have. Jocelyn says technologists can seem indifferent to the problems that larger tech companies they use or work for cause for people who aren't technologists. These conversations aren't new, and Jocelyn says social media, Twitter especially, has been a vehicle for people who might not have been heard inside companies.

                            Tim's earlier talk at Philly turned Conway's Law around: the systems we build and the choices around them also shape our organization's culture and the wider culture. That includes building for reliability so people trust each other, and which technical communities you join, such as a language community with toxic behavior. Tim continued the theme at devopsdays Minneapolis the year before, on whether we build technologies with a good purpose or a neutral one that can be used in bad ways.

                            Do You Need This Data?

                            Bridget says technologists tend to look at the happy path and ask how realistic it is that something will never be abused. Peter says engineers look at data as inputs to a service, where the inputs can be extremely sensitive and could harm the people the data is about if they got into the wrong hands. Jocelyn says we've reached the point where we take all the data because it comes with it, and should ask "do we really need this data in order to perform the function that we have?"

                            Tim gives an example from a job a couple of jobs back, a sensor that counted people and detected movement through a space. The designers saw how individual tracking could be abused and designed it so that identifying individuals was impossible, which became a competitive advantage because customers also didn't want their workers tracked. It also detected mannequins moved through a doorway as people, which Peter confirms meant people carrying mannequins in retail. Peter says the general consensus is the opposite, recalling Etsy's "if it moved, graft it" for metrics, and that for customer data it's "Storing bits is cheap." Bridget answers that it's cheap until the lawsuit, and cites a line Bridget can't attribute, that PII is like toxic waste, something you have to carefully corral.

                            Peter has worked at two organizations with HIPAA data and says the care was amazing, with legal review, access controls and training, but most other data gets a shrug. Tim adds that seemingly meaningless data points can be combined in harmful ways, and says data lakes are a blob of data with models applied that aren't magic, since "we're really encoding like, all the biases of the people who are doing that work into those models." Tim's example is parole models, and "oh, weird, it turns out that that algorithm is completely racist." Peter adds "And they blame the algorithm, not the people who wrote it." Jocelyn says the question is also why the data is collected, and that "just collecting data just to have it" isn't a good enough reason.

                            Neutral Tools and Responsibility

                            Tim says some technologies are neutral, like Kubernetes, and all can be turned to bad ends, but asks whether there are any good uses for facial recognition. Jocelyn says many engineers see it as a job and don't think about the impact, and hopes people take away that "it's your responsibility to think about that," and that not being on the executive board doesn't mean you can't have an opinion about what your work is used for. Bridget says you don't need a dramatic splash, and that if you think about operability and how systems break, that extends to data breaches and privacy, such as a provider who emailed that everything had been in an S3 bucket open to the world.

                            Money, Regulation and GDPR

                            Peter says it comes down to money: if a breach would be company-ending it gets bolted down, but if the cost of fixing is more than the cost of the damage, it doesn't. Tim says companies have been allowed to externalize these costs, like pollution, and that if technologists don't fix it themselves, lawmakers may eventually decide how technology works, which probably won't be a good technical solution. Jocelyn thinks it will take federal law with real penalties. Bridget notes GDPR has penalties with teeth, and that some US companies respond by dropping Europe. Tim says California enacted a similar law, and most US companies won't cut off California. Peter says a toothless law won't work, and fines need to scale per infraction, not be a one-time fee.

                            What Individuals Can Do

                            Tim says technologists have a lot of privilege and power, and "if I were to ask who here is hiring, everybody would raise their hand." That power includes choosing who to work with, which projects and who the customers are, and Tim says it's time to exercise it together. Jocelyn says to start at work by being the squeaky wheel, and outside work, to start on Twitter, where Jocelyn began before podcasts and talks, and says "Twitter activism does work." Peter echoes the "vote with your wallet" idea for where people work, acknowledges leaving a job on principle is hard for some, and says that if people banded together and left companies that don't meet their standards, it "would really, really send ripples through the industry."

                            Bridget chats with guests Peter Shannon, Jocelyn Harper, and Tim Gross in front of a live studio audience at devopsdays Philadelphia 2019.

                            • Jocelyn Harper's keynote at devopsdays Philly 2019: CI/CD (Constantly Ignoring, Constantly Deflecting): A Case Study of Pervasive Indifference in Technology
                            • Tim Gross's talk at devopsdays Minneapolis 2018: They Didn't Stop to Think if They Should: Machine Learning and the Internet of Unpatched Things
                            • Community & Event Stuff

                              If you have an upcoming conference you would like to see promoted on ADO, you can fill out the handy form at arresteddevops.com/conf

                              Upcoming conferences
                              Open CFPs
                              • lots of DevOpsDays
                              • Discount codes
                                • ADO2019 for 20% off lots of devopsdays
                                • Velocity Berlin Nov 4-7 2019 - discount code "ADO2019" gives 20% off for Gold, Silver, and Bronze passes
                                • 32 min
                                • The Meltwater Transformation

                                  In this episode, host Jessica Kerr is joined by guests Gene Connolly and Joan Freed to discuss DevOpsiCon and their DevOps transformation at Meltwater.

                                  DevOps at Meltwater

                                  The panel discusses how DevOps has transformed the working environment at Meltwater. When Joan started at Meltwater, engineering and operations were kept entirely separate.

                                  Joan: “There was this huge wall because engineering knew how things were built and operations knew the production systems...but there wasn’t any cross-pollination there.”

                                  The lack of communication between the teams caused friction and slowed down product delivery. The process could take as long as six months.

                                  Joan: “We’re a Software as a Service company so we always want to build products that are sticky and keep our customers around.”

                                  Joan discusses how Meltwater began to move to a more agile business model. Getting engineers and operations people in the same physical location to work this out was important. Creating truly cross-functional teams couldn’t happen over Skype alone. DevOpsiCon was born to facilitate this transition.

                                  DevOpsiCon!

                                  Buy-in wasn’t immediate throughout the firm. Teams were updating legacy systems throughout the company and some were more focused on work than enablement.

                                  Joan: “The first one was a little bit sneaky. The next one was in Manchester and that one was a little less sneaky.”

                                  The panel discusses the importance of investment in enablement. This allows the feature teams to focus on the features they were actually building instead of all the underlying infrastructure.

                                  Joan: “Having them build everything they need is not realistic.”

                                  The fact that Meltwater has offices all over the globe makes any wholesale shift of company culture difficult. The panel discusses the need for face-to-face interaction to facilitate change.

                                  Gene: “There are these events like DevOpsiCon where we solve the problem by bringing a broad set of people together.”

                                  DevOpsiCon has grown beyond just developers. Product, UX, support, and even sales have joined the event to help build relationships and give insight.

                                  Jessica: “That is very DevOps in the sense that DevOps says that you need to take these concerns that cannot be separated...and you can’t put those responsibilities on different teams and make them fight.”

                                  Unconference

                                  The panel discusses the value of DevOpsiCon as an unconference. Attendees collectively set the agenda on each day of the event.

                                  Gene: “That format has been so much fun and created so much value.”

                                  Gene: “The event becomes the conference you didn’t know you needed at the start. It adapts collectively to what the organization needs at that moment.”

                                  Ongoing Transformation

                                  Gene discusses how allowing teams the freedom to experiment can yield results that a top-down structure could not provide.

                                  The panel talks about the structure of mission, framework and support teams.

                                  Joan: “By keeping things loosely coupled, it gives teams a lot more freedom to make the technology choices that are best for them.”

                                  Ownership Challenges

                                  The panel discusses the ownership challenges of moving from the datacenter to the cloud specifically and large enterprise changes more generally. The investment in enablement is critical.

                                  Joan: “There’s very much a not built here mentality that can take place.”

                                  Gene: “Software can benefit from being owned by many people.”

                                  The panel talks about overhead costs to both software and human changes.

                                  Gene talks about the challenges of moving to a full mission responsibility model.

                                  Gene: “You need to find efficiencies more effectively than you’ve ever had to find efficiencies before.”

                                  So! Has It Worked?

                                  Gene: “Oh wait, you’re looking to me for an answer?”

                                  The panel discusses the results of the ongoing DevOps transformation at Meltwater. The six month process for production changes has transitioned to a constant stream. Beyond the productivity, it has also been a quality of life improvement for the employees.

                                  Gene: “We’ve got a Slack channel for all the production changes and it is constant activity in it all week long of changes going out.”

                                  Joan: “We’re now getting hundreds of features out every six months to our customers.”

                                  The panel discusses the ways in which transformation is, or should be, a constant process. The change goes on.

                                  Find out more about Meltwater, their DevOps transformation, and the process of an unconference on their blog.

                                  Episode art by Evelyn Kerr.

                                  1 hr 1 min
                                • DeliveryConf

                                  Matty talks with two organizers of a brand new conference, DeliveryConf, which runs January 21st and 22nd, 2020 in Seattle. Ken Mugrage is a Technology Advocate at ThoughtWorks who works on DevOps and continuous delivery and helps organize devopsdays Seattle. Sasha Rosenbaum is a Program Manager on the Azure DevOps team at Microsoft and co-organizes devopsdays Chicago with Matty, who says this isn't paid programming. The date was chosen to avoid the heavy conference season in a city where they probably won't have snow.

                                  The Gap Between Advice and Implementation

                                  Sasha says devopsdays keeps having non-technical conversations, partly because the audience is so mixed that you don't know who is dev, ops or PM, and partly because as an open source event it doesn't want to endorse products or go deep on technology. People leave with amazing ideas and "have not seen anybody do any implementation of stuff." Ken says every conference has a DevOps track, but the talks say to do security testing, not how it was done on a specific project. Looking around, there were DevOps conferences and language conferences "but not CD conferences."

                                  Ken picks on the talks Ken gives, which stay at a high level because the audience's tech stacks are unknown and 30 minutes isn't enough to go deep. The hope is that what was 5 minutes of a talk becomes a 30-minute talk on how compliance was done on one specific project. Sasha adds that the conference aims to be vendor-neutral, so people can showcase products and techniques and compare them. It's for hands-on practitioners, closer to "hone your craft" than an introduction, and Sasha says a first-timer is probably better off at devopsdays. One gap Sasha hopes to close is continuous delivery for databases: "you can't really continuously deliver your entire software application if you're not able to continuously deliver your database."

                                  Discussions as First-Class Content

                                  The format is a 30-minute talk followed by a 20-minute facilitated discussion, which will be recorded. Sasha says they love open spaces and wanted to make the conversation first-class content, so people who couldn't attend can listen. Ken says the conversation is about the topic, not the talk, and the aim is "to take the speakers off the pedestal," though the speaker can join or not. The facilitator will ask what challenges people have, what successes they can share, and the magic wand question: what would you want to see in the next two to five years, in product or culture, to make this easier. Sasha notes that Q&A isn't for arguing with the speaker, and this gives people with a different opinion a place to voice it, with rooms to continue offline.

                                  The recordings are audio only, to respect privacy, with a microphone used as a totem, and participation is optional. Ken's hard metric for success is that the discussions get at least as much traffic as the talk videos. Sasha's softer one is seeing the light bulbs go on and people learning they're not alone in their experience. Ken adds that it's a "paid focus group after every talk" for vendors.

                                  Program

                                  The tagline is learning from today and shaping tomorrow. The opening keynote is Jez Humble and Dave Farley, co-authors of the book Continuous Delivery, which has its 10-year anniversary next year. Heidi Waterhouse from LaunchDarkly will speak on feature toggles. Ken teases machine learning in pipelines and hands-on security sessions, and a second-day panel of executive-level people on what CD will be in the future. The CFP closes the night of the recording.

                                  Fast Versus Safe

                                  Matty asks where the state of the art is. Ken says the industry is at a crossroads: there's a focus on how long a pipeline takes from commit to production, and a 3-minute pipeline can't have done compliance and security checks. Jez's definition of continuous delivery on continuousdelivery.com "specifically says safely," and Ken was glad DORA now says "on-demand" for the top tier. Matty's version is that it's not as fast as possible but as fast as you need it to be. Matty also tells of an e-commerce boss who said the target for a site performance dashboard was "not slower than last month," which is good while you're improving and less useful once you reach what's appropriate.

                                  Ken argues that what you measure isn't the business value of deploying on demand but the value of the thing you deployed, framed as a hypothesis, and wonders whether machine learning in the pipeline could learn what a change did to the business and kill the canary automatically. Ken also says "I don't think hardly anything that we call AI is AI." Sasha says not everyone is a startup deploying straight to production: people have different compliance requirements and levels of legacy, and "I don't even like the word legacy because like, hey, this is software that's making money for you." Matty supplies "heritage systems."

                                  Matty brings up incident response, where you'd like to restore service without bypassing your normal checks. Ken describes a pipeline on the most recent team that was fairly long with all the security checks, but had a short circuit for emergencies. Basic unit tests and fast tests ran and produced the installer, and someone with the right permissions could click a button to reach production, with the rest of the pipeline tailing it. It was still the same pipeline with things skipped.

                                  Tickets, Sponsors and Who's Missing

                                  Tickets are at deliveryconf.com, and the code ADO gets 10% off. Ken says the price, about $400 to $450, is higher than most community events because of three tracks and all the recordings, and people who can't attend for financial reasons should reach out, since some sponsors may help. The conference is a not-for-profit backed by devopsdays Seattle, and Ken says it lacks the budget for big promotions. Sasha says hearing that people who didn't know of Sasha's involvement call it a solid conference means "we're actually hitting the mark."

                                  Gold sponsorship includes a sponsored talk, and the goal is deep technical talks and not product pitches. Sponsors submit decks two weeks ahead for review. Ken tells sponsors to bring engineers and product managers, not just sales staff, and says the aim is real solutions to real problems, without requiring live coding. Sasha closes by citing a study that only 3% of women identify as technical in the Dev/CICD space, says it's proving hard to find non-male speakers for the CFP, and invites diverse participants onto the stage.

                                  Matty Stratton talks with guests Ken Mugrage and Sasha Rosenbaum about their new event DeliveryConf.

                                  35 min
                                • devopsdays Cape Town 2019

                                  Bridget records on day 2 of devopsdays Cape Town 2019 with two organizers and two speakers. Cobus Bernard is a technical evangelist at AWS, and Adrian, who does DevOps-type work at Salesloft, co-organizes with Cobus. This is the fourth year of the event, which came together after Bridget visited in March 2016 and held its first event that November. Daniel, who works at Datadog, was the opening keynote speaker at that first event and is back to speak this year. Devi Moodley heads up the DevOps team at Nedbank, one of South Africa's four biggest banks.

                                  Transforming a Bank Founded in 1888

                                  Devi's talk went straight to the practicalities of transformation at a giant organization. Devi says "we were not a Spotify": Nedbank is a traditional bank established in 1888, with traditional values and local and international regulation, which makes bringing in "a sense of looseness" very difficult. The approach was to embrace those traditional concepts, accept who they were, and start from there. A bank has to demonstrate value before anyone adopts anything, so they went in with evangelists who had credibility and used them as poster boys for the message. Devi says it's about generating financial value, doing things cheaper and better, and that as long as they generated value they could get more investment. That is how they're growing "slowly but surely, one pipeline at a time."

                                  Adrian says it's easy to find good stories from unicorn companies, so the program needed balance, and if a big enterprise known for moving slowly can adopt DevOps, "it's possible anywhere." Devi's bank is a sponsor and has spoken at the event for the past few years, and Adrian notes many South African banks have adopted DevOps. Bridget says Minneapolis likewise has people from large local retailers, since it isn't only for the tech vendors.

                                  What MMA Taught Me About Working in Tech

                                  Daniel's talk title was What MMA Taught Me About Working in Tech. Computers and mixed martial arts have both been big parts of Daniel's life, and Daniel realized that a lot of how they act, make decisions and interact with people came from martial arts training. Cobus says balancing technical and cultural talks is always fun, because "tech is never the problem. It's always people," and the organizers were surprised how much culture showed up even in talks they expected to be technical. Bridget says that's also true of open source: adoption depends on the people deciding whether to trust a project, and a technically excellent tool with no documentation and six months of silent pull requests looks risky.

                                  Adrian agrees that if a project's pull requests sit for months and the last commit was six months ago, "if there's no community around it, it's not going to happen." Daniel pushes back that vitality is worth checking but doesn't settle it, since some software Daniel uses hasn't been updated for 10 years because it still does what it was designed to do, unless there's a security problem. Daniel adds that tooling is getting better at flagging that, and suggests building checks into pipelines or occasionally looking at the CVE list.

                                  How a Bank Picks Its Tools

                                  Bridget asks how Nedbank decides whether an open source tool is okay. Devi says open source is allowed in principle, subject to tight security checks. The method starts with the community that will use the tool: unpack their problems, map the whole value stream, have the team prioritize the biggest issues, then look for tools that would solve them. A proof of concept runs for open source and paid tools alike, and the outcomes are evaluated against the original problems. Where timing matters they "literally stopwatch our developers" before and after a learning cycle, rate the tools on a Harvey Ball scale of 1 to 4, and sometimes test two tools in parallel with different teams.

                                  An easy tool takes about two weeks, starting at the beginning of a team sprint after a few days of training, and a heavier one about six weeks. Sign-off takes longer than the proof of concept "because we're a bank." Devi says a full process map can be done by locking people in a room for four hours. Bridget likes that it happens inside the sprint, since for the period of the decision it has to be the work, and Devi says that makes it practical and not "a science experiment scenario." Daniel says the depth of the answer was impressive and unexpected.

                                  Cape Town, Joburg and Who Runs the Conference

                                  Bridget asks about the link with the Johannesburg community. Adrian's involvement has been mostly Cape Town, and jokes that Capetonians give Johannesburg a hard time because "They don't have the ocean." Adrian says a growing DevOps community exists in Johannesburg and the Cape Town team should help them start a devopsdays without running it. Adrian mentions the Python community, where PyConZA needs meetups in both cities to qualify under the Python Software Foundation.

                                  Daniel says devopsdays events are meant to be local, and that in 2013 when the first Paris event ran, people traveled from all over Europe because it was the only game in town, but that was never the goal. Daniel says roughly 75 events were planned for 2019 with no central committee authorizing them, and that if a team in Marseille wanted to run one, Daniel would share the mistakes made and then back away. Bridget relays how Matty Stratton used Minneapolis, which ran a few weeks ahead of Chicago, as a model to copy what worked and skip what didn't. Adrian adds that cross-pollination across organizations means Johannesburg could eventually help Cape Town improve too.

                                  Running a Conference Out of GitLab

                                  Cobus asks Adrian to walk through the process used to run the conference. Adrian says nothing is public, and the idea was to use DevOps to run a DevOps conference, after taking a management job and starting to care about project management. There are private GitLab repositories, one for the meetup and one for the conference, each with a wiki as a knowledge base (venues, sponsors, potential speakers) and issues for actionable items. The meetup gets one issue per month from a template checklist, covering the venue, time slot, meetup.com page, sponsors and announcements on Twitter.

                                  For the conference they use a milestone per year and an issue per sponsor, labeled as a lead until they sign, with templates for each sponsor level because, for instance, a platinum sponsor gets to choose the Wi-Fi password. The same idea covers speakers: whether their bio picture, abstract and Twitter account are in place. Adrian says it's still a work in progress, and the stated goal is to automate it so a script can run next year's event. Bridget plans to deputize Adrian to help rewrite parts of the organizer guide.

                                  Takeaways

                                  Daniel's is a talk by Rory, who works at Microsoft, on building things usable by people regardless of their abilities, an area Daniel says they don't know much about but have some personal experience with. Adrian heard the talk earlier in the year at DevConf and says it made the point that building accessible websites is easy and "it's no longer an excuse to have a website that's inaccessible." Devi's takeaway is from Daniel's talk: "the success of any organization is based on the well-being of your people," and work-life balance "isn't just a couple of words on a piece of paper."

                                  Adrian has a list of 10 things devopsdays could do better, and most aren't about Cape Town, so Adrian may aim at improving the global DevOps community. Bridget, who says they're the current titular lead of the global devopsdays community, would like to subscribe to that newsletter. Cobus noticed new people asking questions in the open spaces and more experienced people helping, and says the community should invest in making it easier to ask, since many people take remote jobs and disappear from the community scene. Bridget closes by praising the way the organizers pre-selected open space ideas, gave participants a web interface to add to them and sorted them ahead of time, a format Bridget hadn't seen before that got discussions going right away.

                                  Bridget chats with Devi Moodley, Daniel Maher, Adrian Moisey, and Cobus Bernard at devopsdays Cape Town 2019.

                                  • Devi Moodley's talk: From Science Experiment to Enterprise Rollout
                                  • Daniel Maher's talk: What MMA taught me about working in tech
                                  • Community & Event Stuff

                                    If you have an upcoming conference you would like to see promoted on ADO, you can fill out the handy form at arresteddevops.com/conf

                                    Upcoming conferences
                                    Open CFPs
                                    • lots of DevOpsDays
                                    • Discount codes
                                      • ADO2019 for 20% off lots of devopsdays
                                      • Velocity Berlin Nov 4-7 2019 - discount code "ADO2019" gives 20% off for Gold, Silver, and Bronze passes.
                                      • 37 min
                                      • State of Devops 2019

                                        In this episode, hosts Jessica Kerr and Matty Stratton are joined by guests Dr. Nicole Forsgren and Mr. Jez Humble, two of the authors of the 2019 Accelerate State of DevOps report.

                                        Historical Context

                                        The panel discusses the history and purpose of the report. This is the sixth year it has been produced. How did the report start and what questions is it seeking to answer?

                                        Nicole: “Once upon a time, kids, making software was sad. Making software used to light people on fire!”

                                        Nicole: “So why do we even do this DevOps thing? It’s because we want to make that software process easier and better.”

                                        Jez: “These approaches have worked even in highly regulated environments. They’ve worked everywhere.”

                                        Nicole explains that capabilities and practices are more important than tools.

                                        Nicole: “There’s no such thing as DevOps in a box.”

                                        The group discusses the limitations of systems data vs survey data, and the importance of collecting both. Survey data is low resolution but high signal and vice versa.

                                        Jez: “Over-precision is something that’s a real problem in our industry.”

                                        Nicole: [“How to Measure Anything” - Douglas W. Hubbard] ( https://www.amazon.com/How-Measure-Anything-Intangibles-Business-ebook/dp/B00INUYS2U )

                                        The panel discusses the importance of starting from hypotheses instead of looking for any spurious correlations that exist in highly related systems.

                                        What’s New This Year?

                                        The panel discusses some of this year’s findings. The “retail apocalypse” over the last decade has had some surprising effects. Regulation has less of an impact than many industries assume.

                                        Jez: “We do see high performers in large companies who are highly regulated.”

                                        Matt: “People will sit there and say well, I have over 5000 employees and I can’t DevOps so now I have an excuse, and that’s not the case.”

                                        Enterprise!

                                        Change management processes are one of the key areas of difference between large and small enterprises. Jez discusses how to make that process more lightweight even in a large organization.

                                        Jez: “Risk is also about upside risk. If you can’t move fast at delivering software, that’s a risk to your business.”

                                        The panel discusses the importance of keeping a holistic view even in a large enterprise with specialized roles.

                                        Nicole: “You go from change management theater to strategic change management for a massive organization. It’s scary but it is also dope!”

                                        The report has found year after year that a slower change management process can paradoxically result in more instability, not less. The panel discusses the reasons this experiment was not successful and how enterprises can implement more nimble processes going forward.

                                        Productivity

                                        The panel talks about what productivity actually means. The report uses an interesting definition: “Productivity is the ability to get complex, time-consuming tasks completed with minimal distractions and interruptions.”

                                        Nicole: “You may be just closing the tickets that are meaningless but are easy to close.”

                                        Research shows that real productivity reduces burnout and improves work-life balance. The group discusses how to separate that real productivity from gamification and busywork.

                                        Jez talks about scaling up and how centers of excellence may not be as useful as previously thought. Nicole points out that the report has given a lot of starting points for people to begin making changes in their organization.

                                        Remember to read the report!

                                        53 min
                                      • devopsdays Chicago 2019

                                        Matty and Trevor record live at devopsdays Chicago 2019, the sixth time the event has run, with three speakers from the program. Jessie Frazelle, who is self-employed, talked about open source firmware and roots of trust and why they matter. Veronica Hanus, a contractor in Brooklyn, gave an Ignite talk on how developers' attitudes toward code comments affect growing developers and, later, their documentation styles. Jeff Smith, Director of Production Operations at Centro, talked about why ethics in technology is difficult. It is Veronica's first devopsdays ever and Jessie's first Chicago. Jeff says it's the fifth time at devopsdays Chicago, and that an open space on ethics the year before helped inform the talk: "a conversation that needs to continue to happen and grow."

                                        First Impressions and Fifth Ones

                                        Veronica arrived wondering how public transit works outside New York, and found a team that helped with transportation, served "the best food you've ever eaten at a conference," and even asked speakers what song they wanted when walking on stage. Jeff says the event has grown and the audio and video have gotten smoother, and calls it "the bar at which I judge all of the other conferences." Jessie praises how well organized it is and the varied audience, including a data scientist and a technical writer, as a way to avoid groupthink. Veronica's favorite conversations were in open spaces about bringing the lived human experience into a talk submission alongside the technical content.

                                        What Could Go Wrong

                                        Matty sees a parallel between Jessie's talk and Jeff's, since it may have seemed a good idea to put a web server somewhere it didn't belong, and asks how these things can be misused. Jeff says we misapply technology ourselves in operations and engineering, choosing tools because they're interesting without thinking through downstream consequences. The example is the recent Zoom breach, where a local web server was meant to make reinstalling the software easier. Jeff recalls Google's image-classification mistake involving Black people and says "there wasn't a Black guy in that room," so the fix is broader perspectives and thinking one step beyond the task in front of you. Trevor proposes asking "what could go wrong" seriously instead of facetiously, and Jeff says an IAM policy statement ID Jeff saw in AWS was literally "what could go wrong," with allow star star.

                                        Jessie says many employees are process-oriented, so if asking the question isn't in the process, you do A, B, C, D and finish the task. Veronica says it comes down to psychological safety, and the innovation possible where it's okay to ask why something is the way it is differs greatly between organizations. Trevor ties it to Jeff's morning idea of an ethical body for technology: people feel pressure to finish but rarely the moral pressure to challenge getting it done. Jeff adds that standards and culture move the bar, recalling a job 10 years earlier where a password in a config file wasn't crazy, until a later job where the reaction was "what's wrong with you?" Jessie says it's culture: if the culture is to make money even at the expense of exploiting customers and nobody faces ramifications, "that's the culture that you set."

                                        Veronica remembers a government research center that wouldn't put anything in the cloud, where losing data was an expected part of the process: "You lose data, you grieve a little, and then you put your head down and create it again." Looking back, Veronica says, it sounds bizarre.

                                        Building Psychological Safety as a Leader

                                        Matty asks Jeff, as someone who leads teams, what to do. Jeff's first answer is vulnerability and being unafraid to say "I don't know." On Jeff's team that's an okay answer, just not the end of the conversation. Jeff also pushes education as part of the job, asking why people who are already on call should learn a new technology on their own time, and says spending an hour or two a week reading in the kitchen is fine. The third is creating space to dissent constructively, so people who disagree know "we're still a team."

                                        Veronica says the difference between helpful and unhelpful workplaces was time to learn and how things went wrong. In a research job, a machine had a problem nobody noticed for a month, and the team traced it back in what Veronica calls a blameless way, and everyone left knowing how the machine worked inside and out. Veronica says both fields produced the same pattern: learn at work instead of being burned out in the evenings, and when something goes wrong, focus on the process more than the person who made the commit.

                                        Influence Without the Title

                                        For an individual contributor without that safety, Jessie says candor with leadership can go one of two ways, depending on the person. Jeff says to think of leadership as a role and not a position, and that whoever is the emotional leader of the team can provide some psychological safety cover, such as going to the manager to say something isn't working, or inviting a quiet teammate who is stewing over a technology to speak. Veronica adds "praise in public, reprimand in private," and to remember a manager may feel just as vulnerable, so pick a moment instead of ambushing someone in the hallway.

                                        Matty brings up a talk by Anwen Simmons a couple of years earlier on lending privilege, and says one mark of a team with a high level of psychological safety is that everyone speaks about equally. Jeff says that as experience and confidence grew, calling out a bad idea got easier, and that if fired tomorrow Jeff is confident of getting another job, so using that to shield someone else can be huge. Jessie agrees, having started out unable to be aggressive and get away with it. Trevor adds that lending privilege doesn't have to happen in front of the person: talk about their idea in conversation and remind people whose idea the team is now following.

                                        Key Messages and Plugs

                                        Jeff's one message is that we should take responsibility for what we create and own the consequences, because the stakes get higher as technology advances. Veronica's is "Comments are a form of documentation, and documentation is good." Jessie's is that people working on different layers of software should talk to each other more and actively listen, to solve problems between the interfaces.

                                        Jeff is writing a book tentatively called Real World DevOps, written from the perspective of an individual contributor in imperfect organizations, due out in 2020 sometime. Veronica announces, for the first time publicly, the Quick Developer Guides YouTube channel with two other first-time speakers, a series of 10-minute videos on topics from getting started with version control to budgeting for a career change into development. Jessie, who is not actively looking for a job, plugs two books, Soul of a New Machine and Ben Horowitz's The Hard Thing About Hard Things. Jeff says, "She's not looking. She's choosing."

                                        Matty and Trevor chat with guests Jessie Frazelle, Veronica Hanus, and Jeff Smith in front of a live studio audience at devopsdays Chicago 2019.

                                        Community & Event Stuff

                                        If you have an upcoming conference you would like to see promoted on ADO, you can fill out the handy form at arresteddevops.com/conf

                                        Upcoming conferences
                                        Open CFPs
                                        • lots of DevOpsDays
                                        • Discount codes
                                          • ADO2019 for 20% off lots of devopsdays
                                          • Velocity Berlin Nov 4-7 2019 - discount code "ADO2019" gives 20% off for Gold, Silver, and Bronze passes; early price price ends 20 September.
                                          • 31 min
                                          • Protocols and Sympathy with Martin Thompson

                                            Jessica Kerr talks with Martin Thompson, known for the Disruptor and for mechanical sympathy, about performance, queuing theory and protocols, and how the same mathematics and etiquette apply to computers and to people. Martin spends days on distributed and concurrent systems, helping clients waste fewer CPU cycles, which often means helping people, because "getting people to behave well usually gets software to behave well." The cold open is Martin: "Computers, you don't have to be nice to them, but actually being nice to them, you get better things out of them."

                                            Being Nice to Systems

                                            Martin's way of getting people to behave is to understand their motivations, give them interesting things to do and show them value, the best way being to let them meet real users, since so much software goes over a wall. Martin is hired for performance and finds it leads to delivery: you can't know you made something faster without tests and measurement, which needs CI and continuous delivery, so short cycles matter. Queuing theory and Little's Law are the fundamentals behind lean delivery, and "System being code or system being people, it's still the same thing. Same mathematics apply." Mechanical sympathy, Martin notes, is a term taken from racing driver Jackie Stewart, and is really empathy.

                                            Slack, Utilization and the J Curve

                                            Martin describes the scientific method as the learning cycle: have an idea, design an experiment, analyze the results, and go back if wrong. The faster the cycle, the quicker you learn. Buffers exist because components run at different paces, and a team with no slack has no buffer to react, so backlog grows. Martin's example is a service that takes 100 milliseconds per job with jobs arriving at one per second, at 10% utilization. At five per second it's 50%, and as utilization climbs, response time follows a J curve, so past about 70% queues form. At 9 jobs per second, 90% utilization, a job waits about a second, and cutting the job to 50 milliseconds makes the system 20 times more responsive, not twice. That holds with the same resources and arrival rate, because it reduces utilization.

                                            Adding resources only works if the work can be distributed without contention. Martin cites the Universal Scalability Law, which includes the coherence cost, the time to reach agreement, and says Brooks's Law in The Mythical Man-Month is the same math: adding people to a project costs time bringing them up to speed. Martin quotes Rob Pike: parallelism is doing multiple things at the same time, and concurrency is dealing with multiple things at the same time, which requires coordination. A team needs steady state, since Little's Law assumes it, and reshuffling teams constantly changes all the parameters. Conway's Law means dysfunctional team communication produces dysfunctional software.

                                            What a Protocol Is

                                            For Martin, a protocol is "just the rules for engaging or interaction between components in a system," whether people or software: the etiquette and the precedence, meaning behavior in order. In real life we deal with out-of-order events by handling exceptions and not expecting perfection. Martin says English is directive with little redundancy, while languages elsewhere approach things from several angles, which is less efficient but safer. Claude Shannon's information theory says communication isn't complete until feedback confirms reception, yet software is often built as if delivery just happens. Martin calls two-phase commit a protocol sold as a silver bullet that is fundamentally broken.

                                            Zombies, Versioning and Idempotency

                                            Martin says "nodes just dying is not a problem. Zombies are the real problem," and "Partial failure is much, much worse," so shoot a node in an indeterminate state and move on. Versioning helps at all levels: messages, protocols and state, since a process waking from a long GC pause may act as if no time has passed, and old messages from an earlier session can turn up in a new one, which Martin ties to TLS 1.3 fast-restart replay attacks. At the application level, give every message a unique, monotonic sequence number or correlation ID so duplicates, replays and out-of-order messages can be ignored, as in a banking system with transaction IDs. Martin calls this hygiene, like "a surgeon will not consider performing an operation without washing their hands," crediting Florence Nightingale, a statistician who popularized the pie chart to show infection rates. Tests, CI and monotonic sequences save time in the end.

                                            Development as a Protocol

                                            Martin treats testing order as a protocol of precedence: write the test after fixing a bug and it may be bogus, while writing it first and watching it fail gives falsifiability, which is scientific maturity. Jessica adds "Never trust a test you haven't seen fail." Martin says software has only been around a few decades, without generations of trade knowledge, so we should admit mistakes and shorten feedback cycles, and that every protocol needs a way to change, which is why protocols need versioning. Legal systems are codified protocols that change as we learn.

                                            Amplification, Buffering and Canaries

                                            Martin says, citing Dijkstra, that software is so novel that metaphors break down, and that one small change, such as a single incorrect bit, can have a catastrophic effect, more than almost anything in human history. Jessica notes that software amplification can be nearly instantaneous, while human systems take time to propagate, and Martin says buffering contains change, comparing it to shockwaves through air versus liquid. Martin gives a historical example of a society that ran by committee in peace, which slows change on purpose, and appointed a war leader only in wartime. Jessica mentions a Cloudflare outage from a pathological regular expression pushed globally, and Martin says use isolation and suitable buffering, like a canary, and Jessica says the same works for trying a process change on one team.

                                            Slowing Down

                                            Martin's favorite thing learned that year was an article saying people are always trying to do the right thing, including when procrastinating, which usually means insufficient information or a worry ahead, so it's a canary: "don't treat anything as bad behavior. It's just interesting information." Martin's advice: "just slowing down and pausing is actually one of the best ways to speed up."

                                            • Martin’s talk on protocols from J on the Beach
                                            • Mechanical sympathy:
                                              • https://mechanical-sympathy.blogspot.com/2011/07/why-mechanical-sympathy.html
                                              • https://groups.google.com/forum/#!forum/mechanical-sympathy
                                              • https://dzone.com/articles/mechanical-sympathy
                                              • Universal Scalability Law, Queuing theory, Little’s Law
                                                • http://www.perfdynamics.com/Manifesto/USLscalability.html
                                                • https://blog.acolyer.org/2015/04/29/applying-the-universal-scalability-law-to-organisations/
                                                • https://www.infoq.com/presentations/little-usl-scalability-performance/
                                                • http://perfdynamics.blogspot.com/2014/07/a-little-triplet.html
                                                • http://www.vissinc.com/2012/09/07/littles-law-isnt-it-a-linear-relationship/
                                                • https://medium.com/@__bbak/dont-be-fooled-by-littles-law-18e18dba3717
                                                • Florence Nightingale and Pie Charts
                                                • Dijkstra on the radical novelty of software
                                                • Image credit: Ylva, Ebba, and Kashti Grimm
                                                • Community
                                                  • Velocity Berlin Nov 4-7 2019 - discount code "ADO2019" gives 20% off for Gold, Silver, and Bronze passes, and Best Price ends August 2.

                                                  • For any devopsdays, try the discount code ADO2019!

                                                  • 50 min