<?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[Polar Squad - Medium]]></title>
        <description><![CDATA[Sharing stories from the DevOps world - Medium]]></description>
        <link>https://medium.com/polarsquad?source=rss----3a5258ff9aa---4</link>
        <image>
            <url>https://cdn-images-1.medium.com/proxy/1*TGH72Nnw24QL3iV9IOm4VA.png</url>
            <title>Polar Squad - Medium</title>
            <link>https://medium.com/polarsquad?source=rss----3a5258ff9aa---4</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Mon, 23 Nov 2026 12:49:55 GMT</lastBuildDate>
        <atom:link href="https://medium.com/feed/polarsquad" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Versioning in the world of software services]]></title>
            <link>https://medium.com/polarsquad/versioning-in-the-world-of-software-services-a2ba19afe6e3?source=rss----3a5258ff9aa---4</link>
            <guid isPermaLink="false">https://medium.com/p/a2ba19afe6e3</guid>
            <category><![CDATA[devops]]></category>
            <category><![CDATA[software-architecture]]></category>
            <category><![CDATA[software-development]]></category>
            <dc:creator><![CDATA[Jaakko Pallari]]></dc:creator>
            <pubDate>Thu, 10 Nov 2022 12:07:32 GMT</pubDate>
            <atom:updated>2022-11-10T12:07:32.689Z</atom:updated>
            <cc:license>https://creativecommons.org/licenses/by-sa/4.0/</cc:license>
            <content:encoded><![CDATA[<figure><img alt="Computers gathering for their final destination" src="https://cdn-images-1.medium.com/max/1024/1*zfnrLXIj_Hv2ZlEU9McbIA.png" /></figure><p><a href="https://polarsquad.com/blog/missapplied-and-misunderstood-2pt-rule">In my last article on the 2-pizza team rule</a>, I talked about how software development practices should be examined and evaluated before blindly applying them. In this article, I will present another practice that often gets overlooked: software versioning. Specifically, I will talk about how software versioning has been used traditionally, how it gets misapplied in today’s software service development, and provide a practical example of versioning that fits the development workflow.</p><h3>What is software versioning?</h3><p>Software versioning is the practice of assigning unique identifiers to different releases of software. A software release is typically an executable for a compute platform, but it can also be just its source code.</p><p>The primary use of versioning is to distinguish software releases from each other, but they may have other purposes as well. For example:</p><ul><li>Sequence-based versioning is used for understanding the order in which the software releases were released. For example, version 2 comes after version 1.</li><li>A variant of sequence-based versioning is a pattern that assigns significance to the change between versions. This can be further used for finding out if there are changes between software releases that break compatibility in, for example, the API. For example, in <a href="https://semver.org/">semantic versioning</a>, each version consists of three numbers, where each number represents the significance of the change.</li><li>The release date of software can be used for versioning software to indicate when a particular release was made. Naturally, it simultaneously provides the benefits of sequence-based versioning.</li></ul><p>Software versioning can also be mostly or entirely arbitrary and based on feelings. Version numbers can be used for marketing purposes to signal how new, mature, or significant a software release is. Versions may also be skipped for superstitious reasons (e.g. some might consider 13 an unlucky version number), for aesthetic reasons (e.g. the version looks ugly), or based on gut feeling (e.g. the maintainer just felt like there are enough changes for a new release).</p><p>Software versioning can also be a requirement. Some regulated fields require versioning to be present. For example, medical devices delivered as software must have a version number visible to the software consumers for identification and traceability purposes. Versioning may also be a part of a contractual obligation to a specific customer.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*2K3fG9EcX4GZZ9_exzwAJA.png" /><figcaption>Software engineers planning for the next version number for their software</figcaption></figure><h3>Challenges of versioning today</h3><p>Applying well-known software versioning strategies in many of today’s software creates a few challenges.</p><p>Specifically, they are not helpful to the consumers of the software, and they are cumbersome to integrate into their development workflows.</p><p>Traditionally, software applications are run on someone else’s computer. New software releases are made available for users or administrators to download and install on their computers. In this case, a traditional versioning pattern such as semantic versioning (along with release notes) can help the software consumer to determine how the new release compares to what they are running at the moment, and make a more informed decision on when to upgrade the software. This applies to both executables and libraries.</p><p>Moreover, a traditional versioning pattern allows parallel updates to be performed for different versions of the software, which benefits those who wish to avoid risky changes. For example, there can be two parallel major versions that both still receive security patches, so that users of both old and new major versions can keep on using their preferred software versions safely.</p><p>However, a lot of the software produced today follows a service model, which is built and consumed in a very different way compared to traditional software. This includes web services and in some cases modern desktop and mobile applications. For example, Google Docs, Spotify, Netflix, and Instagram follow this model.</p><p>The service software is usually run by the same people that build it or at least people very close to those who build it (e.g. an operations team in the same organization). This means that there is a direct line of communication between the two parties, which helps in bridging compatibility issue gaps.</p><p>Instead of arbitrary user environments, the service software is often run in a handful (or even just one) of homogenous compute platforms, and most likely they run the exact same version of the software. This limits the amount of work required to support different versions of the software or figure out different upgrade paths.</p><p>The running software is constantly updated when rapid deployment practices such as <a href="https://about.gitlab.com/topics/ci-cd/">CI/CD</a> and <a href="https://launchdarkly.com/blog/what-are-feature-flags/">feature flags</a> are used. The software might even get multiple updates per day. For the developers, manually bumping the version number slows down deployment as the developer has to make up a version number before the release goes out. Practices such as <a href="https://www.conventionalcommits.org/en/v1.0.0/">conventional commit</a> can help by making the versioning numbering automatable, but it still requires effort and discipline to support it. The use of feature flags blurs the line between versions anyway as features can be switched on and off without new releases.</p><p>The consumers who depend on the APIs of the software care about the API compatibility but not the software version itself. As long as the API is not broken or the consumer can migrate to a new version of the API, it does not matter what version of the software they are consuming. This often means that the application has to support multiple versions of the API simultaneously to provide consumers with a graceful migration path. This makes it also difficult for developers to use software versioning as a meaningful way to express compatibility.</p><p>The consumers of service software do not have any control over which version of the software they run. Updates to the software are installed whether they like it or not which means that the software consumer can no longer make any informed decisions on whether to upgrade or not. Not that it is a huge loss anyway since the consumers of service software most likely do not even care about the version they interact with: How many times have you been interested in which version of YouTube is currently running? There are, of course, exceptions to this such as the regulated fields mentioned earlier.</p><h3>Qualities of versioning for services</h3><p>Now that we have identified the issues in applying traditional versioning to services, let’s examine the situation from the ground up: Why do we need versioning? What if we do not have it at all? If we do not have versioning, then we lose the following qualities.</p><ol><li>Ability to distinguish instances of software from one another.</li><li>Ability to trace a running application to the source code that produced it.</li><li>Ability to tell which software release comes after another.</li><li>Ability to tell how big of an update I am going to have when upgrading from one version to another.</li></ol><p>There may be more qualities to consider, but these are the ones that I often think of as features of versioning.</p><p>Without the first quality, there is no convenient way to know if all the instances of my software are in sync or if there are instances that still need to be updated. This is very likely since deployments can (and eventually will) fail and leave some instances of the software still running the old version. New changes to the software may also appear during the upgrade, which further complicates the situation. Since there is no way to know which instances need to be updated, there is no way to converge to a single version among all the instances.</p><p>The second quality helps tie issues in the software to the revision of the software’s source code. Without it, it is impossible to understand where a bug can be coming from and understand what changes have been done afterward. Moreover, reproducing the bug in a testing environment becomes impossible as well, which limits the ability to show that the issue is fixed in a later version. Technically, the link to the software revision could be embedded to the software release some way (e.g. exposed in a special API endpoint or as plain text in a special file), but being able to make the connection just from the software version is more convenient because it requires less introspection on the release.</p><p>The third quality helps understand whether the next version of the software to deploy is an upgrade or a downgrade, but it is not necessary. The mindset I use for services is to always have the latest working version running. If the latest version does not work, I roll back and keep running the last version that did (downgrade), and fix the issue in the next version (upgrade). While knowing when an upgrade or a downgrade happens is useful, I do not need the versioning system to keep track of it for me.</p><p>The idea behind the fourth quality is to be able to tell whether the next version will patch something under the hood or produce breaking changes. Ideally, there would never be any changes that break compatibility with the last version, because it can cause disruptions to the consumers using the service. However, as services evolve, we often need a way to push consumers to new, incompatible APIs as well. To achieve this, we can build the service in such a way that it supports multiple versions of the API simultaneously from the same software, thus providing consumers a graceful path to migrate to the newer APIs. Once there are no users for the old APIs (confirmed using telemetry data), the API support can be dropped without disruption. The API versions can be decoupled from the software version itself, so we do not need to use the software version to track compatibility changes.</p><p>In summary, the first two qualities are important for good operations and maintenance practices, while the rest of them do not provide much value. Therefore, we can build our versioning on the first two.</p><h3>Versioning to fit the service development workflow</h3><p>In addition to the qualities mentioned above, it is beneficial to find a versioning solution that fits the development workflow used for building and deploying the service software. If a versioning strategy makes releasing software complicated or too hard to implement and maintain, then it also negatively affects the ability to deliver software as well.</p><p>A typical workflow for developing and delivering software for me works like this:</p><ol><li>I push software code changes to <a href="https://trunkbaseddevelopment.com/short-lived-feature-branches/">a feature branch</a></li><li>The continuous integration (CI) system pulls the changes, and tests and checks the changes</li><li>A colleague reviews the changes (if necessary)</li><li>I merge the changes to the main branch</li><li>The CI system creates a new release</li><li>The continuous delivery (CD) system either automatically deploys the release or has a one-click button to deploy it</li><li>If feature flags are used, additional features might be toggled using it</li></ol><p>This flow is repeated multiple times a week or even a day depending on the amount of development activity, which is why there is heavy reliance on automating the flow as far as possible. Introducing additional manual steps may bring too much overhead. For this reason, the version of the software should be decided automatically as well.</p><p>Additionally, it would be nice to have the automation around versioning to be as easy to understand, use, and maintain. It preferably would not require a lot of thinking on how it works, debugging, or fixing.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*IUv9dBrqIDGxbiFRatK9_Q.png" /><figcaption>Example of a workflow for service development</figcaption></figure><h3>Example: Version control revision</h3><p>For service software, I have found source code’s version control revisions to be useful for software versioning. This means that the revision ID (e.g. the commit hash in Git) is used as the version of the software. Let’s examine how this fulfills the requirements.</p><p>Since the revision ID is a unique ID that is calculated for each change in the version control system, it is granular enough to be used for distinguishing software versions from each other. This of course means that all software changes would need to be recorded in the version control to be true, which I consider best practice anyway.</p><p>By using the revision ID as the version, we directly link the version to the source code that produced the software release. Therefore, we can trace a software version to its source code. This makes it also easy to understand why the version is what it is.</p><p>The revision ID is also easy to obtain for automated software releases. Many CI platforms already provide this information via environment variables (e.g. <a href="https://docs.gitlab.com/ee/ci/variables/predefined_variables.html">CI_COMMIT_SHA in GitLab</a>) or it can be obtained using version control tools (e.g. the command “git rev-parse HEAD”). No manual steps from developers or anyone else are required to decide the version. There also does not need to be a careful analysis done on source code or source history to determine the version either.</p><p>There are, of course, downsides to this strategy. Just by looking at the different versions, it is impossible to understand which version comes after which or what changes they contain. Also, the long revision ID is hard to use in discussions (try reading the ID out loud to someone). However, these are qualities I have found worth sacrificing.</p><p>Overall, the very simple nature of this versioning strategy makes it especially useful when there is a desire to frequently publish changes and there are no other known requirements for versioning.</p><h3>Conclusions</h3><p>Software versioning patterns such as semantic versioning still have their place when it comes to releasing software for a wide audience to run on their computing environments i.e. in situations where you are not the only consumer. This includes end-user software, CLI tools, software libraries, infrastructure software, and so on.</p><p>However, when the software is provided as a service via an API, the familiar versioning patterns start to become counterproductive. For this reason, it is important to reconsider starting from the beginning what versioning is needed for, and design or select a versioning system based on those needs. In this article, I presented how I found a suitable versioning strategy by applying this method.</p><p>There is no one type of versioning pattern that fits all cases. Each one has its pros, cons, and situations where they fit the best. Just because one pattern is popular does not mean that it applies to all situations.</p><p>Thanks for reading!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=a2ba19afe6e3" width="1" height="1" alt=""><hr><p><a href="https://medium.com/polarsquad/versioning-in-the-world-of-software-services-a2ba19afe6e3">Versioning in the world of software services</a> was originally published in <a href="https://medium.com/polarsquad">Polar Squad</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[The Misapplied and Misunderstood: Two-pizza team rule]]></title>
            <link>https://medium.com/polarsquad/the-misapplied-and-misunderstood-two-pizza-team-rule-c94b0bae3cbd?source=rss----3a5258ff9aa---4</link>
            <guid isPermaLink="false">https://medium.com/p/c94b0bae3cbd</guid>
            <category><![CDATA[team-collaboration]]></category>
            <category><![CDATA[devops]]></category>
            <category><![CDATA[teamwork]]></category>
            <dc:creator><![CDATA[Jaakko Pallari]]></dc:creator>
            <pubDate>Tue, 08 Nov 2022 19:01:01 GMT</pubDate>
            <atom:updated>2022-11-08T19:01:01.693Z</atom:updated>
            <cc:license>https://creativecommons.org/licenses/by-sa/4.0/</cc:license>
            <content:encoded><![CDATA[<p>When it comes to software development, there are two forces at play. While productivity has taken huge leaps forward, the field as a whole has gotten more and more complex year by year. The diversity of software, variety of platforms and the number of disciplines involved are all increasing rapidly. Web development, mobile development, infrastructure engineering, data science, and others are faced with more complex tasks while expected to handle more tools and platforms.</p><p>The amount of knowledge is overwhelming and often there’s little time to invest in learning new things. With big players working on so many cool, advanced, and successful things, it’s easy for FOMO (fear of missing out) to creep in.</p><p>To keep up with the fashion, there’s a trend of favoring quick, catchy answers without taking much time to think how well they apply to the situation at hand. As these practices spread and less time is spent on thinking about them, they gradually become “best practices”, dogmas that are no longer questioned.</p><p>Even worse is when a practice is misunderstood (accidentally or maliciously) to mean something different than what it was originally. For example, using microservices to try to scale and parallelize software development when there are only a handful of people and a small amount of features involved. This usually happens when people forget the original context due to long-term misapplication of the practice. From what I’ve seen as a consultant working on several customer projects, blindly following ideas is always more likely to lead to disaster than success.</p><p>In this series of blog posts, I would like to promote the idea of deconstructing the original ideas behind the practices we see being used, learning how they are misinterpreted, and learning how and when we should apply them. Let’s start this series with a topic that’ll make you wish it was lunchtime already.</p><h3>Two-pizza team rule</h3><blockquote><em>“We try to create teams that are no larger than can be fed by two pizzas,” said Bezos. “We call that the two-pizza team rule.”</em></blockquote><p>The two-pizza team rule (abbreviated as 2PT) is an approach to improving collaboration within development teams. It originates from Jeff Bezos’ early years at Amazon. According to <a href="https://docs.aws.amazon.com/whitepapers/latest/introduction-devops-aws/two-pizza-teams.html">AWS’s documentation</a>, it’s still in use.</p><p>The core idea of 2PT is that small teams are better at collaborating than large teams, which usually means they’re better at delivering value and responding to change, i.e. they’re more productive.</p><p>This makes sense — work overhead tends to grow as more people need to be kept in sync. As team sizes increase, more time is spent on facilitating the work, viewpoints, and decisions for all team members. More things are worked on concurrently, which means there’s more effort required in designing the work so that the team members don’t end up blocking each other’s work.</p><p>On the other hand, based on my experience, a small team can get away with less communication as there’s less concurrent work in progress and fewer inputs to consider. With fewer people, it’s also easier to get to know every team member, which means there’s more chance for the team to understand how to better work together.</p><h3>What about the size of the pizza?</h3><p>The 2PT rule suggests that the maximum size is dictated by the amount of pizza and how much of it the team members need to be fed.</p><p>In Finland, a medium-sized pizza is about 30 cm in diameter. To me, it suggests that a single two-pizza team would optimally consist of 2 people, but it could be pushed to 3–4 people if the people are not starving (or drunk). More than 4 people would be way too many. This makes a lot of sense to me. I think team sizes ranging from 2–4 people have worked the best for me in the past.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*8MzGIjH-eT-6zscn4lRmAg.jpeg" /><figcaption>Two average-size pizzas in Finland</figcaption></figure><p>However, when you check out what other people think is the appropriate team size, they mention that the teams should have 6–10 members. <em>What?!</em> How on earth can you support that many people with only two pizzas? How large are these pizzas? Who decides the toppings? What if somebody chose pineapple?!</p><h3>Forget the pizza!</h3><p>All jokes aside, the conversation on 2PT quickly turns into debate over what is the optimal team size for maximizing the productivity of the team. The optimal team size is very subjective and depends on several factors. For example:</p><ul><li>Is the team working on something that requires people with multiple backgrounds such as software developers, cloud engineers, data scientists, UI designers, etc?</li><li>How much of the work can the team get as a service from another team or a 3rd party provider instead of doing the work themselves?</li><li>Is the team able to both support what they built and develop things further with the current headcount or are they stretched too thin?</li><li>Are the members in the team used to working with a particular team size?</li></ul><p>There are many more questions to answer, and it’s not uncommon for the answers to differ between teams within the same organization.</p><p>What I’ve found successful is to start with a small team and then iterate, learn, and adapt as needed. Starting with a smaller team means that you can scale out when more hands are required. If you start with a bigger team and realize that there’s not enough work for everyone, it can be awkward to restructure and reassign members afterward.</p><h3>There’s more</h3><p>Small 2PT-style teams are awesome, but they mean absolutely nothing if you don’t support them. In many of the customer cases I’ve been involved in, organizations have restructured their teams into smaller teams to fit 2PT, but not set up the structures for them to function properly. What the teams usually lack is autonomy and accountability.</p><p>Without autonomy, the productivity goals of 2PT evaporate. What carries the idea behind 2PT is that the teams remain in charge of the delivery of their work from start to finish, from idea to production. This often requires a big <a href="https://polarsquad.com/blog/accepting-the-good-and-bad-of-team-autonomy">mindset change from the entire organization</a>. Here’s how lack of autonomy drives productivity into the ground:</p><ul><li>Decisions from the higher-ups in the organization automatically override the decisions made in teams — without involving the teams in the discussions.</li><li>Dependencies between teams block teams from carrying out their tasks across the finish line.</li></ul><p>With autonomy comes responsibility; teams must be accountable for what they do. Without it, teams may lose focus and end up not delivering the value they’re supposed to. I’ve seen both teams and entire organizations fail due to lack of support from both sides:</p><ul><li>There’s not enough motivation for the team members to take responsibility beyond a partial scope. For example, a development team might be willing to focus on writing code but are not interested in deploying it to production.</li><li>Due to the way work is organized, teams may be unable to take control of the workflow they’re responsible for. For example, a development team is expected and willing to support their application in production but they’re not given enough resources or tools to do so.</li><li>The wider organization fails to take into teams’ ability to meet the expectations. These issues are not followed up properly, which eats away teams’ motivation. For example, the leadership accepts and delegates a feature request (with a deadline) from the customer to a development team without first checking with the team.</li></ul><p>Amazon’s solution has been to use a <a href="https://jasoncrawford.org/two-pizza-teams">fitness function per team</a> to provide focus and accountability for teams. The idea is that each team agrees on a key business metric with the wider organization to grow. However, at the same time, some teams find that distilling the team to a single metric is <a href="https://www.techinasia.com/jeff-bezoss-muchdiscussed-twopizza-rule-failure">uncomfortable and demotivating in itself</a>.</p><h3>Conclusion</h3><p>In my opinion, culture and practices can’t and shouldn’t be just outright copied. Instead, I urge everyone to stop worrying about missing out, really dig behind the reasons why the practices exist and think about whether they apply in their context. In this article, I’ve used the two-pizza team rule as an example of how people interpret it and what it means and requires from an organization before they can apply it. 2PT is best taken as a starting point: it absolutely requires careful thought and regurgitation before it’s ready to be unleashed within your organization.</p><p>Thanks for reading!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c94b0bae3cbd" width="1" height="1" alt=""><hr><p><a href="https://medium.com/polarsquad/the-misapplied-and-misunderstood-two-pizza-team-rule-c94b0bae3cbd">The Misapplied and Misunderstood: Two-pizza team rule</a> was originally published in <a href="https://medium.com/polarsquad">Polar Squad</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Stop doing pull requests]]></title>
            <link>https://medium.com/polarsquad/stop-doing-pull-requests-6bd99e6d543e?source=rss----3a5258ff9aa---4</link>
            <guid isPermaLink="false">https://medium.com/p/6bd99e6d543e</guid>
            <category><![CDATA[devops]]></category>
            <category><![CDATA[development]]></category>
            <category><![CDATA[coding]]></category>
            <dc:creator><![CDATA[PolarSquad]]></dc:creator>
            <pubDate>Tue, 25 Oct 2022 11:49:09 GMT</pubDate>
            <atom:updated>2022-11-03T09:36:33.493Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*RCSXRsa2GVmOZYORI0jDPQ.jpeg" /></figure><p><em>Now that we’ve managed to convince everyone and their grandma to use pull requests, it’s time to take a step back , see what we have really accomplished and ask: is it really what we want?</em></p><p>I am old enough to have been using Git version control many years before GitHub. GitHub offers a free and convenient way to host your version-controlled projects. This was integral in popularizing Git as the default version control it is today. GitHub is currently the largest code hosting service in the world with over 3 million users.</p><p>Typical flow for a development project nowadays runs along these lines: a developer creates new code and makes changes to existing code and then pushes those changes to a new branch of Git repository.</p><p>Pull requests let you tell others about these changes on GitHub. Once a pull request is opened, you can discuss and review the potential changes with collaborators and add follow-up commits before your changes are merged into the base branch.</p><h3>What’s the problem?</h3><p><em>“Pull requests were invented to gate-keep access to open source projects.” — Dave Farley</em></p><p>GitHub started as the place to host open source projects. Open source projects are typically owned by a single developer or a small team. At the same time, popular projects can have hundreds or thousands of contributors. Here, a contributor means a developer who has sent the project a change or addition to the codebase. For example, it might be a fix to a problem they have had when using the project. There is no way that the owners of the project know or trust all their contributors. So they needed a way to get these contributions and review and discuss them before accepting or rejecting them. This is completely understandable for a distributed open source project.</p><p>What is not understandable is that now most teams that are co-located, internal to a company who know and trust each other, is to find themselves following this process designed for the complete opposite situation.</p><p>So what’s the problem with this approach? Instead of spoken interaction, we default to mostly one-way, text-based communication. It is taxing for the reviewer to internalize the context from pull request discussion and possibly a large set of code. It is very painful for a developer to complete coding a thing in half an hour, have it built, tested, linted in a few minutes and then wait hours or days for other team members to finally review the code. I’ve seen multiple team leads turned to pull request review automatons, with no time left for them to do anything else. I’ve been to so many retrospectives where the main complaint is how it might take a full week before people get their PR reviewed.</p><h3>Band-Aid solutions</h3><p>As pretty much every team I have worked with has struggled with pull requests and the associated code reviews, I have also seen and suggested lots of small things to improve the situations.</p><p>One Artificial Intelligence team I worked with settled for agreeing that different things require different levels of reviewing. Trivial things like new tests, dependency upgrades, documentation changes etc, were fine the merge without a human reviewer. Other things were accepted with a single review and, for example, challenging changes to algorithms were expected to get two reviews before merging.</p><p>On other teams, we have tried agreeing on things like “you must do X number of reviews before starting a new task” or “start each day with code reviews before continuing your own work”. We have tried mobbing code reviews at the end of the week for those pull requests that are stuck awaiting review.</p><p>I have also had lengthy discussions on what you should and should not focus on in code reviews or how to write better pull request descriptions to make reviews faster or easier.</p><p>All of the above helps to improve the pull request based process. But honestly it also feels like rearranging the deck chairs on the Titanic. It’s all just a bit too little.</p><h3>Intermission</h3><p>Before I continue, I want to emphasize that automation is not linked to the idea of pull requests. I highly encourage every team to fully automate everything they can in their software process. This means that new code and changes are always automatically linted, formatted, built, tested, packaged and so on. It is common to have these actions be triggered by pull requests, but they can just as well be triggered by push events to a branch. Results are easy to push to a team’s Slack channel for example. For the fastest feedback, they can also be run locally on push or commit hooks. So when I say stop using pull requests, this does not in any way encourage giving up automation.</p><h3>The real issues and solutions</h3><p>With a pull request-based process, internal teams suffer from two main problems: impaired communication and interruptions to flow.</p><p>With impaired communication I mean that written pull request description is never as efficient in getting an idea or solution described as live dialogue between humans. It is much easier to focus on explaining your ideas when the listener is free to ask questions and guide the dialog to what he finds challenging or complex.</p><p>Before the time of GitHub and pull requests, I enjoyed working with a team where we would not only do pair programming but when working alone, we would do reviews by showing the changes commit-by-commit to a coworker, explain what was done and why. Just recently in a startup with a distributed team, we avoided traditional pull request reviews and instead did a quick voice call or video meeting and showed the code and the reasoning behind it. With both of these teams, we never had tasks stuck waiting for review and the interruptions to others workflows were very short.</p><p>To quote Dr W. Edwards Deming, “Inspection is too late. The quality, good or bad, is already in the product.” The more we can move the collaboration to the beginning of the task rather than when the code is complete, the more we can improve quality, reduce frustration and reduce rework.</p><p>With pull requests, there is always the battle between the author wanting feedback as fast as possible and the reviewer wanting his work to be interrupted as little as possible.</p><p>There is only one way of working that eliminates all the above mentioned challenges. That way is pair programming. No reviews are needed when you always have someone reviewing your code as you write it. Collaboration happens from the start so no surprise disagreements await at the end. No interruptions are needed as the pair can complete the task on their own.</p><p>I’ve seen even huge companies like Thoughtworks require all code to be done with pair programming. To me this feels unnecessary. On the other hand, I would love to see teams use pair programming much more often than I’ve seen it so far. Most people will probably enjoy it more than they expect and the strongest opponents of pair programming have likely never practiced it.</p><p>To solve many of the above problems and still not work with pair programming full time, I’ve found it really helpful to pair at the beginning of the task. For example, define a shared API, integration point or class structure together. This will greatly reduce the effort needed for a review or rework later on.</p><h3>Summary</h3><p>Most of the programming that happens in the world now is not open source but software development done internally in companies. But most of these internal teams use a heavy process designed for highly distributed teams that do not know or trust each other. As software developers, I feel we must look for better solutions. I believe that by increasing the amount and frequency of live communication, pair or mob programming and collaboration that happens earlier during the development, we can make the formal pull request review process trivial and eventually redundant.</p><p>Janne Sinivirta</p><p>—</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1000/1*RTE7SpFj3w4HX56Gt6VOdw.jpeg" /></figure><p>Janne Sinivirta is a hands-on architect, agilist, programming language nerd, kickboxer, mountain biker, proud father of two and Principal DevOps Consultant at Polar Squad.</p><p><a href="http://www.polarsquad.com/">www.polarsquad.com</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=6bd99e6d543e" width="1" height="1" alt=""><hr><p><a href="https://medium.com/polarsquad/stop-doing-pull-requests-6bd99e6d543e">Stop doing pull requests</a> was originally published in <a href="https://medium.com/polarsquad">Polar Squad</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How DevOps can boost your business]]></title>
            <link>https://medium.com/polarsquad/how-devops-can-boost-your-business-8204d60a3efe?source=rss----3a5258ff9aa---4</link>
            <guid isPermaLink="false">https://medium.com/p/8204d60a3efe</guid>
            <category><![CDATA[devops]]></category>
            <dc:creator><![CDATA[PolarSquad]]></dc:creator>
            <pubDate>Tue, 25 Oct 2022 11:42:10 GMT</pubDate>
            <atom:updated>2022-10-25T11:42:03.202Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*cqGwvS0A9GqCh00443l69w.jpeg" /></figure><p><em>DevOps is becoming one of the biggest buzzwords in IT and software development. Yet, there are many misconceptions about the impact of applying DevOps transformation to organizations, including the idea that DevOps only concerns tech teams.</em></p><h3>What are we talking about?</h3><p>Divisions between technical, business, and cultural aspects of an organization are artificial and passé. They don’t fit with the new, interconnected ways of working in the 21st century. Outdated ways of working in silos originated back in the 20th century, yet there’s still a lag as not everyone has caught up with high-performing tech companies who have embraced DevOps.</p><p>So, let me ask you the following question: Is DevOps all about the automation of your development? What does DevOps have to do with your business? Furthermore, how can a DevOps transformation positively impact your business and its bottom line?</p><p>Most businesses in the 21st century — especially during the time of Covid19 when so much of the world underwent a digital transformation — understand that it’s essential to embrace digital transformation so as not to be left behind. Why not do it in the best way possible?</p><h3>Let’s define DevOps</h3><p>Any company can create its definition of DevOps. For me, it’s <strong>a flexible set of practices, guidelines, and cultures</strong> designed to break down silos in IT development, operations, networking, and security.</p><p>Many of us confuse DevOps as an upgraded version of your classic, old-school IT team. But DevOps can open doors and enable your new IT and development team to have a higher impact and improve your company’s business side of things.</p><p>When going deeper into a DevOps transformation, other parts of the organization must understand and react to the change. Hence, if your development team delivers fast and reliable products but does not align with sales, you only have half of the winning formula.</p><p>Before undergoing a DevOps transformation, the company must define some basic steps to help different teams work together using the same languages and tools.</p><h3>Technical debt</h3><p>DevOps can help your teams reduce the technical debt that your company has, enabling them to have more bandwidth for new features and improvements.</p><p>Technical debt is a concept in software development that reflects the implied cost of additional rework caused by choosing an easy (limited) solution instead of using a better, more sustainable long-term approach (that may initially require a more significant investment of time and capital).</p><p>As with monetary debt, if technical debt is not repaid, it can accumulate “interest,” making it harder to implement changes. Unaddressed technical debt increases software entropy.</p><p>From a classic tech perspective, you can achieve a lot of influence on your business by becoming a DevOps organization, here are just a few examples:</p><h3>Shorter time for development</h3><p>With the right tools and methodology, your products arrive at the market quickly. In the past, software development used to be a long sequential process. It took companies months and years to release new versions. Nowadays, when your testing and deployments are automatic, releasing software will be faster and cheaper.</p><h3>Better quality for your products</h3><p>Better code quality means your development and product team can focus on new features and less on fixing bugs. When you are not using time and resources to fix bugs, you can create a realistic roadmap for your products with better communication between your sales and product teams.</p><h3>Finding problems before your clients do</h3><p>Many tech teams know how to set up monitoring tools, but they often miss some business-critical metrics. This happens because technical teams do not communicate well with sales and product teams.</p><p>Better monitoring methods allow your team to find many problems and bottlenecks in your software before the client discovers them.</p><p>No software is 100% reliable, but having the ability to fix issues before your client finds them is a huge advantage. Another benefit is that you understand where your bottlenecks are and reduce costs by understanding usage patterns.</p><h3>Fixing problems faster</h3><p>As a result of good automation and monitoring tools, fixing problems becomes much more accessible. When using the proper methodology and documentation, one can slowly improve most common issues quickly and without using many workforce resources. When you fix problems faster, your customers are happy, and your tech teams have high morale.</p><h3>Innovation and experimentation</h3><p>When your tech teams have the right culture and tooling, they have free time to improve and to help you grow your business. Having the ability to learn and experiment benefits your company and everyone in it. Software, like the world, is rapidly changing and you should be ready for any new challenges.</p><h3>An empowered and happy team stays with you</h3><p>When the demand for technical experts is high, like now, many members of your technical teams may be tempted to leave your organization for other offers. When used correctly, DevOps can help them have a more meaningful job and connection to their work and team. The fact is, when you remove most of the troubles we talked about earlier, people have more time to grow, learn, and experiment, which helps them feel proud of their work and their company — and be more likely to stay and help you grow.</p><h3>All this is fine, but how can DevOps impact my business?</h3><p>A huge problem is when some of the silos inside the technological organization are slowly being broken down. Yet, other silos still exist. For example, your development team is agile but disconnected from your sales and operations teams. In the long run, this is not sustainable and may cause friction and missed sales opportunities, for example.</p><p>That’s why using DevOps principles throughout a company — not just within the tech team — ensures communication between all parts of a business so it can be more accessible, agile, and profitable.</p><h3>Examples of DevOps in practice</h3><p>In our daily work, we see the things I’ve described above take hold and start to improve life in our client organizations. Here’s just a few examples of how our approach can make a mark:</p><p>1) Using better tools can help the operations team have more control over the provisioning of their infrastructure. In turn, they can save the company a lot of money. We see the same patterns when companies use classic monitoring tools that do not add much to the business.</p><p>Using a good observation tool with the proper techniques would add much information to your marketing and sales team. But even furthermore, we found out that using those tools would help your team have better visibility of their stack and better forecast their problems.</p><p>2) Testing and reviewing our customer’s infrastructure is a simple task that can yield big benefits. In one such case, we found out our client uses too many reserved instances over the cloud.</p><p>We advised them to close the instances slowly and to use better ways to provision them.</p><p>That change is saving our customers a lot of monthly budgets they previously wasted on infrastructure they did not need.</p><p><strong>Polar Squad offers a 360 DevOps Assessment</strong> that can help your tech and business team align and work together for better results all around.</p><p>Would you like to hear more? <a href="https://polarsquad.com/contact">Contact our sales team or one of our lead consultants.</a></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1000/1*Z9qk-hBdXzV6gL6vaRu4Xw.jpeg" /></figure><p>Yair Etziony is the head of operations for Polar Squad Germany. He has over twenty years of experience in various roles, such as QA engineer, System Engineer, and System administrator. Yair holds a BA in modern history and philosophy.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=8204d60a3efe" width="1" height="1" alt=""><hr><p><a href="https://medium.com/polarsquad/how-devops-can-boost-your-business-8204d60a3efe">How DevOps can boost your business</a> was originally published in <a href="https://medium.com/polarsquad">Polar Squad</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Greasing your software factory’s wheels — Can you buy DevOps?]]></title>
            <link>https://medium.com/polarsquad/greasing-your-software-factorys-wheels-can-you-buy-devops-e60b111fd80f?source=rss----3a5258ff9aa---4</link>
            <guid isPermaLink="false">https://medium.com/p/e60b111fd80f</guid>
            <category><![CDATA[devops-practice]]></category>
            <category><![CDATA[devops]]></category>
            <dc:creator><![CDATA[PolarSquad]]></dc:creator>
            <pubDate>Tue, 25 Oct 2022 11:39:53 GMT</pubDate>
            <atom:updated>2022-10-25T11:39:46.923Z</atom:updated>
            <content:encoded><![CDATA[<h3>Greasing your software factory’s wheels — Can you buy DevOps?</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Fr9XIjPmtrEZ0WxymgOb3Q.jpeg" /></figure><p><em>I’m excited with all the publicity and interest in DevOps I see in different companies. Unfortunately, it also often seems misguided with too much emphasis on new technologies, tools and infrastructure. In this article, I will argue that what is really needed is emphasis on culture, communication and ways of working.</em></p><p>Traditionally, software developers have been very isolated from people in operations. Developers have largely focused on finishing a project, after which they move on and then the software is dropped to ops for maintenance. As if this wasn’t bad enough, typically the developers’ incentives have also been directly opposed.</p><p>Software developers are often measured by the amount of new features they produce. Operations people, instead, are rewarded by frequency of issues or lack of them in production. Each new feature has the potential for causing production issues, so no new features is often the best that the ops team can hope for.</p><h3>Defining DevOps</h3><p>DevOps was coined after it became obvious to many that it would be beneficial for both parties to collaborate. Since then the field of software development has evolved and the meaning of DevOps has changed to encompass everything that is good and awesome to quickly delivering quality software.</p><p>The <a href="https://puppet.com/resources/report/2021-state-of-devops-report">State of DevOps Report</a> has an excellent and concise definition of DevOps:</p><p><em>“DevOps is a set of principles aimed at building culture and processes to help teams work more efficiently and deliver better software faster.”</em></p><p>So for a company whose core business revolves around software development, DevOps basically means applying awesome lubrication to the gears of their software factory.</p><h3>Tools can’t solve culture</h3><p>Unfortunately, DevOps is often considered a technical exercise. A surprisingly small part of delivering better software faster is about tools. Having an enterprise-wide Jenkins does not make your company DevOps. And buying any software that has DevOps in its name does not bring you DevOps. Don’t get me wrong, every high-level DevOps organization leverages lots of technology and automation, but their advancement is not driven technology-first.</p><p>Instead, you should aim to create and nurture practices and processes that work for you. Then you can pick tools and technologies that support those processes and practices. Unfortunately, it’s very easy to do exactly the opposite. For example, you buy an issue tracker and instead of configuring it to serve you, you force every team to adapt their practices to serve the great issue tracker.</p><h3>Growing a culture with hands-on consulting</h3><p>To improve a system, you have to understand it. Here is where value-stream mapping proves really helpful. You map a recently delivered software feature from idea all the way to end-users’ hands. How much did each step consume calendar-time and how much did it produce value? This will help in figuring out where to focus your efforts in improving processes and practices. If value-stream mapping is a new tool for you, there are plenty of examples to be found in lean-management literature. Value-stream mapping can be a real eye-opener for the whole organization.</p><p>To change your company’s working culture, habits, processes and practices, I would argue that you need two things. First, you need someone to lead or champion the change. Second, you need enough people around the champion to buy into and eventually own the change.</p><p>The champion needs to produce results, feelings of accomplishment, and/or improvement in order to encourage others to follow. It doesn’t matter if the champion is an external consultant or internal employee, the perfect end goal is that the so-called champion is eventually made redundant, as enough people see the value in the new way of working and continue on that path.</p><p>I believe the best way to get buy-in for change is getting your hands dirty, and leading by example. Sometimes it will be technical efforts like building a deployment pipeline or containerizing that first app. Sometimes it’s showing a can-do attitude, building bridges, and introducing the right people to each other. Just like with a basketball coach, no matter how well you talk, if the points don’t start racking up, you won’t get people to follow you.</p><p>Though I strongly believe that changing habits and culture is done starting from the bottom and moving up, the State of Devops Report and other resources emphasize the importance of support from the top management.</p><h3>Measuring progress</h3><p>The key objectives of DevOps transformation are speed, quality, and business agility. After putting a lot of effort into improving the ways of working, is your team or company now better at producing high-quality software faster? How do you know? It is quite common to see big agile transformations where everything seems to change but in the end you have no idea if you and your business are any better for it. This is generally a typical pitfall for top-down led transformations of any kind.</p><p>Improvements can be tracked and visualized by choosing key metrics and measuring them. Herein lies another trap, though. Vanity metrics are statistics that look spectacular on the surface but don’t necessarily translate into any meaningful business results. For example, measuring how many tasks a team finishes encourages the team to split tasks into smaller and smaller tasks. This is good so long as each task still has business value.</p><p>So, what would be good measurements for your DevOps progress? Google’s <a href="https://www.devops-research.com/research.html">DevOps Research and Assessment (DORA)</a> is the largest academic study exploring DevOps principles and their practical application. Over 7 years, the DORA researchers tried to find the factors that differentiate high-performing DevOps teams. In the end, they narrowed the list to just four DevOps success metrics:</p><ul><li>Deployment frequency</li><li>Lead time for changes</li><li>Mean time to recovery (MTTR)</li><li>Change failure rate</li></ul><p>The first two can help you measure delivery speed. The latter reflects overall stability. Combined, these four key metrics for DevOps give you an objective way to assess your performance and track progress over time.</p><p>Even with the above DORA metrics, you can still end up cheating yourself. For example, you can have high deployment frequency but be unable to use it for fast business decisions if those are, for example, made by a committee that meets once a month.</p><h3>Conclusion</h3><p>So can you buy DevOps? Yes, to a certain extent you can. But it’s not the tools your purchases should focus on — it’s on pathfinders and champions who will encourage you to find new, improved ways of working. DevOps’s end goal is always to change the ways an organization works through countless small improvements and a-ha moments, for brilliant insights and discoveries lead to real change in a working culture, whatever your business.</p><p>Janne Sinivirta</p><p>—</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1000/1*RTE7SpFj3w4HX56Gt6VOdw.jpeg" /></figure><p>Janne Sinivirta is a hands-on architect, agilist, programming language nerd, kickboxer, mountain biker, proud father of two and Principal DevOps Consultant at Polar Squad.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=e60b111fd80f" width="1" height="1" alt=""><hr><p><a href="https://medium.com/polarsquad/greasing-your-software-factorys-wheels-can-you-buy-devops-e60b111fd80f">Greasing your software factory’s wheels — Can you buy DevOps?</a> was originally published in <a href="https://medium.com/polarsquad">Polar Squad</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[For better code and happier devs — six code review pitfalls to avoid]]></title>
            <link>https://medium.com/polarsquad/for-better-code-and-happier-devs-six-code-review-pitfalls-to-avoid-c9bc2522dff7?source=rss----3a5258ff9aa---4</link>
            <guid isPermaLink="false">https://medium.com/p/c9bc2522dff7</guid>
            <category><![CDATA[devops]]></category>
            <category><![CDATA[coding]]></category>
            <category><![CDATA[development]]></category>
            <dc:creator><![CDATA[PolarSquad]]></dc:creator>
            <pubDate>Tue, 25 Oct 2022 11:36:48 GMT</pubDate>
            <atom:updated>2022-10-25T11:36:42.629Z</atom:updated>
            <content:encoded><![CDATA[<h3>For better code and happier devs — six code review pitfalls to avoid</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*fJxt3pYUpz2rGVk4ChjF_w.jpeg" /></figure><p>While most software teams are doing code reviews, not everyone stops to think about how to do them. Putting some thought into the process can help get much more out of it. Done well, code reviews can be a powerful tool for learning, improving code quality, fostering collaboration, and binding a team together. Done poorly, code reviews can tear a team apart.</p><p>These pitfalls are usually not written down as rules for code reviews. They’re just problems you run into easily when you’re not paying attention. Dialogue is key — if your team never discusses why and how to do code reviews, different members can have different mindsets about code reviews, leading only part of the team to fall victim to the pitfalls listed below. For example, a junior developer might think they shouldn’t be reviewing code because they lack experience.</p><p>So here are six pitfalls I’ve observed while working in various teams. For each pitfall, I’ve listed some ideas about what to do about them. I have certainly been guilty of at least some of these myself along the way.</p><h3>#1: The only purpose is to find defects.</h3><p>While finding issues in the code is an integral part of code reviews, it can be harmful to think that’s all there is to code reviews. For the code author, it can be demotivating when all you get from a code review is a list of things to fix.</p><p>This mindset can also lead to all parties going through the motions without thinking about it too much: open/view pull request, get/give a list of things to fix, fix things/wait, get/give approval, done. This approach can make reviewers look only for superficial fixes and miss more significant structural issues.</p><p>I’ve seen this mindset lead to unnecessary conflict between team members, which is understandable: If you only ever receive requests to change things or negative comments in a code review, that’s bound to be annoying. A more conversational approach to code reviews makes things more pleasant for all parties involved.</p><h3>Do instead: Collaborate to make the codebase better.</h3><p>Code reviews have many other benefits than just finding what’s wrong with the code.</p><p>One significant benefit is learning — for both the author and the reviewer. The change author can learn from the reviewers’ comments, while the reviewers can learn from the author’s change. This learning compounds over time, improving overall quality.</p><p>Thinking of code reviews as a collaboration rather than a control mechanism also improves how a team works and solves problems together. You’ll be more likely to properly discuss a change rather than just waiting for a list of things to fix and fixing those.</p><p>When team members review all code that gets merged, this also builds collective ownership of the code. This way, each change that goes into the codebase has at least two people who are familiar with the change. It will be less likely that some parts of the codebase are only familiar to one developer, which improves the team’s bus factor and makes it easier to make changes in the future.</p><p>Code reviews are an excellent opportunity to give timely and specific positive feedback. Say it aloud if you see an elegant solution or learn something new from a code review!</p><h3>#2: Only seniors review code.</h3><p>This one can go hand-in-hand with pitfall #1: if code reviews are only for finding defects, aren’t the senior developers most likely to find those, given their experience? However, if less senior team members don’t get a chance to review code themselves, they miss a significant opportunity to learn. Over time, the seniors doing the reviews get a good sense of how the codebase develops and see the big picture, while juniors don’t get this same benefit. This doesn’t help build collective knowledge or help juniors become seniors.</p><p>Different team members often have differing ideas about who should do reviews. If nobody explicitly says that everyone should review code, some people might skip it because they don’t feel they know enough to review. It might also happen the other way around so that a developer always asks for reviews from specific team members via a direct message and excludes other reviewers for one reason or another. The excluded team members might not get a chance to review before the change is already merged since they didn’t get notified.</p><h3>Do instead: Everyone who writes code reviews code.</h3><p>It’s good to set some explicit rules together as a team about how to do code reviews and who should be doing them. This way, it’s possible to avoid issues related to team members having different ideas about how to review code. One important rule is that all team members must have equal access to notifications about new change requests — these should not go via backchannels only.</p><p>If you’re a senior developer and you notice someone who rarely reviews code, you could encourage them to review a change you’ve made. You could also offer to look at the code together with them. This way, they’ll learn about the change and hopefully be more likely to review code later on proactively. Of course, this doesn’t have to be the only review. If it’s an important change, you can have multiple reviewers and a mix of reviews from juniors and seniors. This way, you can improve the quality of the code both in the short term by having more sets of eyes on it and in the long term by ensuring everyone in the team has a chance to learn through reviewing.</p><p>Having junior team members review code is also beneficial for making code understandable to everyone. If juniors can’t understand the code, it’s most likely too difficult to understand.</p><h3>#3: All changes are rubber-stamped.</h3><p>I’ve often been in situations where I feel like many of my change requests are accepted quickly and with no comments other than “Looks good to me.” Rather than taking this as a sign that my code must surely be perfect, I’ve felt the reviewer might not be taking a detailed look at the change. I’ve noticed rubber stamping most often happens when I’m working independently on some sizeable new feature that the rest of the team doesn’t understand well. If this is the case, finding ways to collaborate on the change is good so that others become more familiar with it.</p><p>For small trivial changes, rubber stamping is often perfectly fine, but it becomes a problem when it’s done regardless of the size of the change. It’s good to think about when a lighter process is acceptable and when a more thorough review is needed.</p><h3>Do instead: Understand the change and think about it from multiple perspectives.</h3><p>It’s hard to give good, thoughtful feedback on a change that you don’t fully understand. However, since you’re doing code reviews, you will also be merging the change into a branch with collective ownership. If only the author understands the change, then there’s no common ownership. If you don’t understand the change, then ask questions about it and discuss it until you do. Efforts to understand the change can also lead to ideas for improved documentation or code clarity, which both help all team members in the long term.</p><p>If you understand the change but still can’t think of anything to comment on, it might help to follow a checklist of perspectives for each change systematically. For example:</p><p>Has documentation been updated? Do the documentation changes cover everything in the change?</p><p>Would the new code be easy to understand for junior team members?</p><p>What are the security implications of the change? Does it introduce any new risks?</p><h3>#4: Ten lines — ten comments. Five hundred lines — looks good to me!</h3><p>It’s much easier to understand and grasp a small change. Finding something to improve is easier when you understand a change. Large changes can easily be overwhelming, making it tempting to blindly trust that the change is probably OK instead of taking time from a busy day for a proper review.</p><h3>Do instead: Use small batch sizes and do pair coding.</h3><p>Most of the time, code changes don’t have to be made in large batches, so the best way to avoid the issue is to keep changes small. When you can’t avoid making a bigger change, consider reviewing the code together on the same computer or using pair coding to make the change in the first place. In some cases, you could consider pair coding as an alternative for a code review since it covers much of the same needs.</p><h3>#5: All changes are reviewed asynchronously.</h3><p>Organizing a face-to-face conversation or even a video call for every code review can be challenging. Time zones, deadlines, and schedules can easily clash. For many routine changes, it would also be overkill to do so. The problem is that even if people sit in the same office, code reviews are never done together but only happen through asynchronous pull request review messages.</p><h3>Do instead: Review the code together where it makes sense.</h3><p>There are many minor changes where a quick asynchronous review is fine. However, in many cases, it is much easier to collaborate and discuss changes and different alternatives when you sit together for a code review or review over a video call. The author can explain any parts that are unclear right there. It’s much easier to have true collaboration this way than through asynchronous reviews.</p><p>In addition to code reviews related to a single change, it can also be a good idea to have review sessions where the whole team covers the most significant code changes, with the author explaining the change to the rest of the team.</p><h3>#6: Nitpicking on style issues</h3><p>I’ve sometimes reviewed changes where formatting made the code much harder to read than needed. Some common issues are the lack of empty space, lines that are way too long, and inconsistent white space usage. Then again, fixing these types of problems is annoying for both parties if done via code review comments.</p><h3>Do instead: Use automatic linting on everything.</h3><p>Style issues are always at least somewhat subjective. Instead of having the same conversations repeatedly, it’s much easier just to add automatic style checking to change requests and have it complain if any issues are found. First, agree together as a team how pedantic you want to be about style, and then codify a set of rules for all the languages you use. There are many different options for linting software that can automatically check and fix style issues. For example, for JavaScript, there’s eslint. You can also check your documentation with markdownlint. Or you could use a linter that covers multiple languages like super-linter for GitHub Actions. You create a config file for any linters you want to use in the root of your repository and then run the linter automatically for each change as part of your continuous integration pipeline.</p><p>Rather than wait until the review, you can write onboarding documentation for the whole team about how to set up their editors to automatically correct any style issues according to commonly agreed style rules.</p><h3>Conclusion</h3><p>Implementing various practices without thinking too deeply about <em>how</em> to implement them is common. This is especially true for things widely considered best practices like code reviews — it’s taken for granted that we should do them. Still, it can be worthwhile not to stop there but to also pay close attention to how we implement these practices to reap the many benefits of well-done code reviews.</p><p>Risto Laurikainen</p><p>—</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1000/1*91cvxffa80hN-U-3VC25JQ.jpeg" /></figure><p>Risto Laurikainen is a DevOps Consultant with a decade of experience in building cloud computing platforms.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c9bc2522dff7" width="1" height="1" alt=""><hr><p><a href="https://medium.com/polarsquad/for-better-code-and-happier-devs-six-code-review-pitfalls-to-avoid-c9bc2522dff7">For better code and happier devs — six code review pitfalls to avoid</a> was originally published in <a href="https://medium.com/polarsquad">Polar Squad</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[A bird’s eye view on the world of DevOps]]></title>
            <link>https://medium.com/polarsquad/a-birds-eye-view-on-the-world-of-devops-eea1eec5af51?source=rss----3a5258ff9aa---4</link>
            <guid isPermaLink="false">https://medium.com/p/eea1eec5af51</guid>
            <category><![CDATA[devops]]></category>
            <dc:creator><![CDATA[PolarSquad]]></dc:creator>
            <pubDate>Tue, 25 Oct 2022 11:32:27 GMT</pubDate>
            <atom:updated>2022-10-25T11:24:50.593Z</atom:updated>
            <content:encoded><![CDATA[<h3>A bird’s eye view of the world of DevOps</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*TeysoVfGOgC1LhpgvU6TQw.jpeg" /></figure><p><em>DevOps is a concept that can be really hard to wrangle — there is a wealth of overlapping and conflicting definitions. So, what do the pros talk about when they talk about DevOps? Let’s find out!</em></p><p>I entered the world of DevOps recently, after five years of developing applications in the fields of machine learning and web development. As a newcomer, I was surprised to learn that no one seemed to have a clear, agreed-upon definition of what DevOps is about. So, I embarked on this journey of trying to understand how people <em>perceived</em> DevOps.</p><p>My process was simple: I interviewed a dozen colleagues about all things DevOps, and conceptualized DevOps based on those discussions.</p><p>So here it is; my current perception of what DevOps is all about. I hope it clarifies how DevOps can help software teams, and how the DevOps movement can contribute to organizations of all sizes.</p><h3>What topics should come to mind when we think of DevOps?</h3><p>The first topic is <strong>agility</strong>. Traditionally, with humans and animals, agility is defined as “the ability to rapidly change the position of the entire body with speed and accuracy”. The original meaning of the term “Agile” was in that sense for organizations, so that they can rapidly adapt to customer demand in a very precise way, without accumulating technical debt. For DevOps, it’s also about the agility in which software is developed, deployed, maintained and monitored. This is more important than ever in the fast-evolving landscape of technology.</p><p><strong>Communication</strong> is another important aspect of DevOps. Development teams and operations teams work with different toolsets, but they need to collaborate to build the product. This requires communication, and communication is often problematic. As a result, the work done by DevOps consultants often involves changing the way developers and operators communicate — by improving processes, but also by helping them shape the social makeup of their organization.</p><p>A natural consequence of DevOps is <strong>automation</strong>. It is one of the key methods of creating value; companies want to improve the level of automation of their infrastructure, and they believe that for this, they need a DevOps consultant or engineer. It’s mostly true, in the sense that when we do our job right, that’s the result; better infrastructure and more automation. But automation tools like Docker, Kubernetes, Helm, Terraform, CI/CD pipelines, etc. are not everything. Working smart instead of hard is the core of what we do concretely when we do DevOps, and the tools just enable us to do so.</p><p>Also, a word of warning: DevOps does come with its share of buzzwords. “Cloud”, “Agile”, “DevOps”, “microservices”, “containers” etc. are sometimes terms not used in their intended original meanings, but as a selling point to attract technologists and investors. So it’s worth your while to achieve a shared understanding of the concepts involved in a given project.</p><p><em>DevOps isn’t about automation.<br>Automation is just the natural result of DevOps.<br></em> — Tatu Seppä-Lassila, Co-founder of Polar Squad</p><h3>How do we explain the difference between DevOps and the more classical, pure operations role?</h3><p>The operations team’s role is often restricted to the implementation of the infrastructure supporting the product, in a similar way that the development team’s role is often restricted to building the applications involved in the product, with a certain level of communication and automation between the two teams. But DevOps is about improving the collaboration between those teams by working on where the problems are, regardless of whether those problems are on the infrastructure side or not.</p><p>For example, if certain parameters of the application should differ between environments (URLs between services, API keys, credentials, etc.), a DevOps engineer would recommend that the developers make these parameters injectable at the application level and that the values of those parameters should be handled by those dealing with the different environments, i.e. the operations team. The DevOps engineer would then work on where the problem is to achieve such a result, but how exactly depends on the situation. So the difference would be in what a DevOps engineer vs an operator -tries- to do, but not always in -how- they do it.</p><p>While working in operations is often a technical skill that system administrators develop, DevOps is about a mentality of problem-solving: the technical skills are learned to enable solving the specific kinds of problems in the tech industry, but in theory, this mentality could be applied anywhere.</p><p><em>DevOps is a philosophy about how to do things.<br>You can even do DevOps in the kitchen if you want.<br></em>— Teemu Korpela, Co-founder of Polar Squad</p><h3>What do we consider a red flag that would indicate a team should improve how they implement the philosophy behind DevOps?</h3><ul><li><strong>Struggling with the software release cycle.</strong> The moment when developers release new updates is the moment where the development team and the operations team interact the most, so problems at this level are usually best handled using a DevOps mentality.</li><li><strong>Poor choice of technologies. </strong>There’s no single technology that -has- to be used, but there’s a common set of problems that most tech organizations encounter, and it is common to see those problems solved with certain technologies. When those technologies are not present (version control, CI/CD pipelines, etc.) or poorly used, it’s usually not a good sign.</li><li><strong>Rigidity in the workflow. </strong>A very rigid workflow is often a symptom of things that have been hidden under the rug for too long. For instance, technical debt being managed by an intricate manual workaround, managing an error-prone and yet-to-be-automated process with a long and regular (and dull) meeting, etc.</li><li><strong>Silos. </strong>They are not bad in themselves (see <a href="https://polarsquad.com/blog/how-i-stopped-wanting-to-break-silos-and-why">here</a> for a great detailed explanation about what we should think when it comes to silos). But they tend to restrict communication, so when important communication channels are siloed away, it’s usually a very bad sign.</li><li><strong>Delegating a big chunk of the software delivery process to an external partner.</strong> If you can’t oversee the whole software delivery process, you basically have a blind spot for errors, which makes finding or resolving them extremely difficult. If you wait for your customers to point out the errors, it’s already too late.</li></ul><p>All things considered, we still don’t have a universal definition of DevOps, but hopefully, this article shed some light on all the kinds of things it is. Polar Squad is self-proclaiming itself as the best DevOps company, and this is one explanation of DevOps, according to us. <a href="https://polarsquad.com/contact">Get in touch</a> to discuss how we can help you implement the various aspects of DevOps to your benefit!</p><p>Patrick Da Silva</p><p>—</p><p>Patrick Da Silva is a DevOps Consultant at Polar Squad.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=eea1eec5af51" width="1" height="1" alt=""><hr><p><a href="https://medium.com/polarsquad/a-birds-eye-view-on-the-world-of-devops-eea1eec5af51">A bird’s eye view on the world of DevOps</a> was originally published in <a href="https://medium.com/polarsquad">Polar Squad</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Do you need Kubernetes?]]></title>
            <link>https://medium.com/polarsquad/do-you-need-kubernetes-34ae206c2866?source=rss----3a5258ff9aa---4</link>
            <guid isPermaLink="false">https://medium.com/p/34ae206c2866</guid>
            <category><![CDATA[cloud-computing]]></category>
            <category><![CDATA[devops]]></category>
            <category><![CDATA[kubernetes]]></category>
            <category><![CDATA[containers]]></category>
            <dc:creator><![CDATA[Risto Laurikainen]]></dc:creator>
            <pubDate>Wed, 23 Jun 2021 07:25:48 GMT</pubDate>
            <atom:updated>2021-06-23T07:25:48.022Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*xHdSIJIR906ShgCz" /></figure><p>Previously I wrote about <a href="https://medium.com/polarsquad/why-you-need-a-platform-team-for-kubernetes-6235b044bedd">why it’s a good idea to have a platform team for Kubernetes</a> . I argued that Kubernetes isn’t optimal for small organizations lacking the resources for a dedicated platform team. If Kubernetes is complex and needs a dedicated team, then who <em>should</em> use it? And if Kubernetes isn’t right for you — at least right now — what should you use instead?</p><h3>What’s so great about Kubernetes anyway?</h3><p>Kubernetes is very popular these days, and it’s not just hype: it provides excellent abstractions for hosting web applications of various kinds and can scale to host huge services.</p><p>If you want to provide a reliable web service to your users, you’ll need to worry about a lot of things:</p><ul><li>What happens if a server hosting the service fails?</li><li>How to expose the service to the outside world?</li><li>How to add computing resources when needed?</li><li>How to safely deploy new versions of the software without any downtime?</li></ul><p>You’ll need to solve these and many other problems one way or another, and Kubernetes provides good solutions. It is not the only way to solve these, but it is a pretty good one.</p><p>One key benefit is the de facto standard API: a lot of supporting software integrates with Kubernetes, so you’ll have many choices regarding monitoring, security, and other necessary tools. With many managed solutions, the easiest or even only alternative is integrating with other software in the same operator’s walled garden, introducing lock-in risks that Kubernetes does not have.</p><p>There are specific use cases for which Kubernetes is especially suitable. If your use case fits one of these, then the odds are pretty good that Kubernetes is a good choice for you:</p><ul><li>Massive scale: if you are serving millions of daily active users, a properly architected Kubernetes setup is probably cost-effective for you. Serving a small number of users can be expensive, but as you scale up, costs don’t ramp up as much with Kubernetes as they might with some other alternatives.</li><li>Multi-cloud: if you use multiple cloud providers, Kubernetes can act as an abstraction layer that allows you to manage your applications through the same API everywhere.</li><li>Hybrid cloud: similar to multi-cloud, if you need to run things both on-prem and in a public cloud, then Kubernetes can help you manage applications the same way in both environments.</li></ul><p>Next, let’s look at some of the alternatives. These alternatives might be better if the operational overhead of running Kubernetes is currently not justifiable for your use case. Since there are so many other options available, this will not be an exhaustive list by any means.</p><h3>What are the other options?</h3><p>Let’s get one thing out of the way: for greenfield projects, plain old virtual machines are not a good alternative to Kubernetes. If your organization is already familiar with VMs, it may seem tempting to use what you already know. However, you should carefully consider the long-term implications.</p><p>Matching the quality and fault tolerance of Kubernetes is difficult with a traditional virtual machine infrastructure. Your VM setup will be unique to your organization, so onboarding new employees to run it will be a lot harder. You might save yourself a lot of work by just going with Kubernetes.</p><p>Having said all that, if you already have a setup like this that works for you, then migrating to Kubernetes is a big undertaking, and it depends on your situation whether it is worth it — if it ain’t broke, don’t fix it.</p><p>If Kubernetes is currently overkill for your organization, consider managed platforms where the provider takes care of maintenance. For example, all three major cloud providers have services that allow you to run a containerized workload without worrying too much about where and how it’s running: Amazon has ECS, Google has Cloud Run, and Microsoft has Azure Container Instances. If you decide to migrate to Kubernetes later on, the transition is easier because you are already running your application in containers.</p><p>There are various platform-as-a-service type offerings as well; Heroku is probably the best-known example. They allow you to run your application as-is without modification, and there is no need to worry about infrastructure. These services can be an excellent way to get started quickly, but their limitations may become apparent later on, and costs can ramp up quickly as you scale.</p><p>There are also various serverless solutions like AWS Lambda or GCP’s Cloud Functions, where you just write the code and define when to run it. These can be cost-effective for specific use cases where there is little traffic with the occasional large request spike. Vendor lock-in can be an issue with serverless, but open-source solutions like <a href="https://knative.dev/">Knative</a> or the <a href="https://www.serverless.com/">Serverless Framework </a>ease lock-in concerns. Perhaps more than vendor lock-in, serverless has an architecture lock-in problem: migrating from serverless to other architectures can be difficult because it’s so different from other alternatives. Say you’ve been running serverless functions in a cloud and are now required to migrate the application to on-prem. It can be a considerable undertaking to either convert the application to a more traditional architecture or set up a similar on-prem serverless capability.</p><p>You could also choose to go with a mix of different options. For example, using serverless for some specific tasks while hosting the main application on more traditional infrastructure is a fairly common pattern.</p><h3>It depends</h3><p>Here’s a rough guideline: when your scale is small, it is more cost-effective to buy than to build, but as your scale grows, it starts to make sense to build more yourself. However, you’ll need to consider this advice in your context.</p><p>To give you an idea of how context affects the choice, let’s look at some concrete examples where Kubernetes could be a good option:</p><ul><li>Your organization is a large corporation with many development teams. Each is responsible for one or more microservices that comprise an application with millions of daily users.</li><li>You have a startup whose application requires heavy data processing, and you expect to grow your user base steadily. In this case, managed services can get expensive quickly, or they may not have the computing power that you need.</li><li>You are required to host your application or some parts of it on-prem, but you still want to have similar features that are available on cloud platforms. If you are using Kubernetes in the cloud, it can also make sense to run it on-prem to use the same tools and ways of working everywhere.</li></ul><p>On the other hand, Kubernetes might not be the best choice if:</p><ul><li>You have a small startup with limited resources that needs to deliver a minimal version of its product to end-users as soon as possible.</li><li>You have an established architecture that works for you, is cost-effective, and doesn’t have any significant issues.</li><li>Your application is simple, and you never expect to scale to a large number of users.</li></ul><p>Whatever choice you make, it’s essential to keep your architecture flexible. That enables you to pivot if your circumstances change. For example, if you use containers, it will be easier to migrate to Kubernetes if you decide to adopt it. Some services are also specifically designed to make it easy to migrate to Kubernetes later on, like Google’s <a href="https://cloud.google.com/run">Cloud Run</a>.</p><h3>Conclusion</h3><p>Before using Kubernetes, you should always have a clear idea of the exact problems you are trying to solve. There’s no correct answer to whether you should run it or not, and you know your own context best to make the optimal decision for you. Hopefully, this blog post has given you insights about what to take into account when considering using Kubernetes.</p><p><em>Originally published at </em><a href="https://polarsquad.com/blog/do-you-need-kubernetes"><em>https://polarsquad.com</em></a><em> on June 22, 2021.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=34ae206c2866" width="1" height="1" alt=""><hr><p><a href="https://medium.com/polarsquad/do-you-need-kubernetes-34ae206c2866">Do you need Kubernetes?</a> was originally published in <a href="https://medium.com/polarsquad">Polar Squad</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Why you need a platform team for Kubernetes]]></title>
            <link>https://medium.com/polarsquad/why-you-need-a-platform-team-for-kubernetes-6235b044bedd?source=rss----3a5258ff9aa---4</link>
            <guid isPermaLink="false">https://medium.com/p/6235b044bedd</guid>
            <category><![CDATA[information-technology]]></category>
            <category><![CDATA[kubernetes]]></category>
            <category><![CDATA[computing]]></category>
            <category><![CDATA[cloud]]></category>
            <category><![CDATA[teamwork]]></category>
            <dc:creator><![CDATA[Risto Laurikainen]]></dc:creator>
            <pubDate>Mon, 22 Mar 2021 13:05:27 GMT</pubDate>
            <atom:updated>2021-03-22T13:05:27.890Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*lJd9V9QxeJEK5jRb" /></figure><p>Setting up a Kubernetes cluster can be deceptively simple, as there are plenty of installers to create a basic cluster in minutes. However, that’s only the start of the actual work. Kubernetes moves fast; when it’s a critical part of your infrastructure, there’s a host of things you need to look out for to maintain a healthy cluster. More often than not, it’s wise to have a dedicated team to run Kubernetes.</p><h3>Integrations</h3><p>For most use cases, Kubernetes is not enough on its own. It might be better to think of it as a framework for building platforms. You will need to integrate Kubernetes with other tools and systems to make it useful. The exact integrations depend on your use case — there’s no silver bullet. You’ll need to figure out your own optimal setup.</p><p>To give you an idea, here are a few common integrations you might need to set up and configure:</p><ul><li>ExternalDNS for interfacing with cloud DNS services, to have human-readable addresses for services</li><li>Let’s Encrypt for automatic HTTPS</li><li>A network plugin such as Calico or Flannel</li><li>A CI/CD system such as Spinnaker, GitLab, or Jenkins to deploy to Kubernetes</li><li>Authentication with LDAP, AD, or another system for using your company’s regular user accounts</li><li>Prometheus for monitoring</li><li>Alertmanager for alerting</li></ul><p>Granted, you might not need all of these, and some of them may be provided by your Kubernetes distribution out of the box. Still, if you end up using them, you’ll need to understand how they work and be able to operate them. All of this integration work adds a lot of complexity, and you’ll need to spend a lot of time learning how it all works. It can be difficult for one person to grasp all the details of the entire system, so it’s better to share the effort with multiple people familiar with Kubernetes and its integrations.</p><h3>Keeping up with the times</h3><p>Kubernetes is still a fast-moving project. There are four releases every year — old versions are maintained only for a year, after which there are no security updates. While running a managed service, such as GKE, EKS, or AKS, helps significantly with upgrading, it’s still not entirely effortless.</p><p>Keeping a Kubernetes cluster updated and secure is complex. Besides keeping Kubernetes itself up to date, there’s also work involved in upgrading all the integrations needed to create a fully functional platform. Running a managed Kubernetes service does not necessarily help with keeping them updated. Another continuous update cycle comes from the various container images involved in running the software that is the reason for running Kubernetes in the first place.</p><p>There are good reasons for keeping all the software involved up to date: Kubernetes clusters have a lot of potential for attacks due to their complex and distributed nature. On top of that, they make for attractive targets if looking for computing power. One example of attacks against Kubernetes is cryptojacking where attackers hijack clusters to mine cryptocurrency. <a href="https://redlock.io/blog/cryptojacking-tesla">Tesla famously fell victim to such an attack a couple of years ago </a>and recently such attacks have become more sophisticated as evidenced by the <a href="https://unit42.paloaltonetworks.com/hildegard-malware-teamtnt/">Hildegard malware </a>.</p><h3>The human aspect</h3><p>As with any IT system you operate, you’ll need someone who can keep it running at all times. As Kubernetes is a platform on top of which you run other services, this is even more important: outages have a broader impact and might impair your operations significantly.</p><p>As a rule of thumb, you’ll need at least three people who can independently solve Kubernetes-related issues — but you’ll likely need more than that. Consider these scenarios as a member of a Kubernetes maintenance team of three:</p><ul><li>One of your teammates leaves for another job. How long will it take to hire and/or train a replacement?</li><li>Your team has a face-to-face meeting. It turns out one of your teammates was coming down with the flu and inadvertently spread it to your other colleague: now two out of your team of three have the flu and you’re alone.</li><li>You have a teammate on vacation and another one sick. There’s an issue related to one of the integrations, but you don’t know it too well — your coworker who’s drinking mai tais on the beach is the expert on that one. Consider the lead time for contacting your teammate, getting them on a computer, and in the mindset to solve your problem.</li></ul><p>It’s not unreasonable to assume that you’ll have someone available most of the time, but exceptions are always around the corner. There is always a significant risk of running into a situation where you don’t have enough people around to solve an incident promptly. You’ll need to adjust your availability target accordingly. If you need 24/7 operations, three people likely won’t cut it.</p><h3>No dedicated platform team?</h3><p>By this point, I hope I’ve convinced you that operating and maintaining a Kubernetes cluster is not a one-person operation. Even if you try not having a dedicated team by spreading the knowledge across multiple development teams, you still need someone available to troubleshoot issues at all times. What would be the benefits of having a dedicated Kubernetes platform team instead of a distributed model?</p><p>One significant downside to distributing Kubernetes maintainers across multiple teams is the increased amount of context switching. This is a recipe for a constant tug of war between running Kubernetes and the main team’s duties (if they’re only tasked with Kubernetes, why not just put them in a dedicated platform team instead?).</p><p>Constant context switching gets stressful as the maintainers need to make tough decisions about what to prioritize. This is exacerbated by the fact that operations work is unevenly distributed and unpredictable: Often things are quiet and systems keep humming along without any issues, but an incident can suddenly and unexpectedly turn your week upside down.</p><p>All in all, it’s simply hard to keep up with Kubernetes while also juggling other work.</p><h3>Conclusion</h3><p>If your organization is large enough and you can afford to have a dedicated team to maintain Kubernetes, it will save you a lot of time and effort compared to other options for managing computing resources. You need to spend time to save time: there are a certain initial investment and ongoing maintenance overhead to keep things running smoothly.</p><p>It’s worth noting that while having a platform team has its benefits, you should be careful not to build it into a silo. It’s best to think of the Kubernetes platform as an internal service with internal customers you need to keep happy. And for that, you need to collaborate closely with them to make sure you are building a good platform for their specific use cases.</p><p>If you have a smaller organization and can’t yet justify a dedicated team just for Kubernetes, it might mean sacrifices in the quality and reliability of the platform. Consider your options carefully: it might not be possible to get a production-ready platform out of Kubernetes (depending on what “production-ready” means for you).</p><p><em>Originally published at </em><a href="https://polarsquad.com/blog/why-you-need-a-platform-team-for-kubernetes"><em>https://polarsquad.com</em></a><em> on March 22, 2021.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=6235b044bedd" width="1" height="1" alt=""><hr><p><a href="https://medium.com/polarsquad/why-you-need-a-platform-team-for-kubernetes-6235b044bedd">Why you need a platform team for Kubernetes</a> was originally published in <a href="https://medium.com/polarsquad">Polar Squad</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Our willingness to create change sets Polar Squad apart]]></title>
            <link>https://medium.com/polarsquad/our-willingness-to-create-change-sets-polar-squad-apart-c5769e53b51c?source=rss----3a5258ff9aa---4</link>
            <guid isPermaLink="false">https://medium.com/p/c5769e53b51c</guid>
            <category><![CDATA[devops]]></category>
            <dc:creator><![CDATA[Joska Pyykkö]]></dc:creator>
            <pubDate>Mon, 22 Mar 2021 08:22:31 GMT</pubDate>
            <atom:updated>2021-03-22T08:22:31.536Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*TXcNnfk-eUOlgnlrz63iwA.jpeg" /></figure><p><strong><em>We are Polar Squad.</em></strong><em> In this blog series, we introduce the people of our amazing company. Next in line is Antti Forsell!</em></p><h3>Tell us a bit about yourself and your background?</h3><p>I’m Antti and a co-founder of Polar Squad. Originally from Espoo, I now live in Helsinki with my wife and our two cats. I’m part of the generation that pretty much grew up side by side with modern computing. The first family computer was a Commodore PC 10-II (8088, 4.77 MHz, 640kB RAM), and the damned machines have been a part of my life ever since.</p><p>Fast-forward almost four decades, and we come to the present day. For the past year or so, the terminal emulator has no longer been my primary tool in use. As Polar Squad has grown, my role has become more about the people and their wellbeing. I do this on all levels, from the big Vision-Mission-Strategy stuff to various day-to-day duties and everything in between.</p><p>Outside of work, I keep on dreaming of becoming a proficient musician with the guitar and bass as my main instruments. I also like to balance things out by doing stuff with my hands, and the family summer cottage ensures I’ll never run out of things to do.</p><h3>What was the path that led you to become a Squad member?</h3><p>I’ve been programming as a hobby since I was twelve and getting paid for it for about 15 years. Initially doing mostly web development and DBA type of stuff, I shifted towards system administration quite early on. I got on to the whole continuous integration train when it started gaining momentum and worked in some sorts of hybrid roles, combining all these things. One day I heard about DevOps and thought it was a pretty good description of what I actually do.</p><p>I worked in a few different companies as a DevOps consultant or an internal DevOps dude, never quite satisfied with how all the stuff surrounding the actual technical work was handled. I also hated how difficult it seemingly was to get those things to change. Then one day, all the circumstances were just right, and there was an opportunity to start doing something instead of just thinking about it. I took it, and as a result, Polar Squad has been in business for a bit over three years now. It hasn’t been as easy as I may have thought, but I think we’ve done quite alright.</p><h3>Which tools do you like to use in your work?</h3><p>When I get the chance to do technical stuff, I don’t care what the tools are, as long as they’re well suited for the job. So zsh, vim, and VSCode are usually involved, complemented by whichever additional languages and tools are required.</p><p>Most of the time, tech is no longer what I do on a daily basis, and the job is mostly about different types of communication. Slack, Google Meet, and the GSuite tools are in heavy use. I can’t say I really like to use them, but they work well enough to get the job done.</p><h3>What sets Polar Squad apart from other companies you’ve worked in?</h3><p>Everything. As a co-founder and being part of the Leadership team, my views can be quite biased. With that in mind, I do think that what we’ve got here is something exceptional. I’m not claiming things are anywhere near perfect or that we have everything figured out. <strong>I do think, however, that everyone at Polar Squad has the will to create change.</strong></p><p>And change is the crucial thing here. We’re not doing this just because we need something to get the income to pay the bills. DevOps is largely about getting rid of unnecessary work and improving plain old human-to-human communication. I also think most industries could benefit from that. We’re figuring out different ways to do things better. Hopefully, we get a lot of it right and others can then follow our lead.</p><h3>How would you describe the culture in PS? How can you maintain a company-wide culture when most employees work long-term with different clients? Would you like to give us detailed examples of what the culture is about in Polar Squad?</h3><p>Are you trying to say culture is more than just free pizza and beer at the office? Yeah, the culture part was a big question from very early on — how to maintain a sense of unity and belonging when people are scattered all over the place and meet only at random. The first thing was to have dedicated office days — days where everyone worked remotely from the office (this was pre-covid, remote work meant not working at customer premises). At least we could hang out together once a week.</p><p>That worked well enough, and we also had our different parties, events, company trips, etc. Spending time together really helped out in building a good and relaxed culture. But with growth, we started to struggle a bit. Some were already missing “the good old days” (which was kinda odd, as the company was only a couple of years old). We came up with some new ideas, like family dinners, to not slip into a mode where people are resources and the company is only the place where you collect your paycheck.</p><p>Then the pandemic hit us. We had some tough times from a financial perspective, but it was our culture that suffered the most. Not meeting people, focusing a bit more on billing, being stressed out as we didn’t know what to expect. People weren’t doing so well and it was tough overall. But actually, things weren’t as bad as they first felt like.</p><p><strong>It was the culture that kept us together: People were willing to sacrifice their happiness to ensure the company can keep on going. </strong>We were, both together and as individuals, willing to take one for the team. Now we just have to make damn sure to continue maintaining what we have and improve things as easier times gleam on the horizon.</p><h3>Tell us about your day-to-day routines?</h3><p>Please no! I go to meetings and I write stuff. I mean, the content is interesting, but the routines aren’t.</p><h3>What kind of technical challenges do you meet at your work?</h3><p>The challenges are usually non-technical. Chrome eats up RAM or audio doesn’t work right as I’m having that “really important” telco, etc. So nothing special.</p><h3>How does it feel to work with developer teams? Do we have a common ground?</h3><p>Maybe again one day…</p><h3>Some final words?</h3><p>It’s been one helluva ride. A lot of the time I feel like I don’t know what I’m doing, so luckily I’m surrounded by people who do — even though they might have the exact same feelings. Polar Squad is for the people, by the people. (Hmm, that sounds vaguely familiar). Anyways, I’m just really, really happy to have my part in this all.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c5769e53b51c" width="1" height="1" alt=""><hr><p><a href="https://medium.com/polarsquad/our-willingness-to-create-change-sets-polar-squad-apart-c5769e53b51c">Our willingness to create change sets Polar Squad apart</a> was originally published in <a href="https://medium.com/polarsquad">Polar Squad</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>