<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Sudip Datta on Medium]]></title>
        <description><![CDATA[Stories by Sudip Datta on Medium]]></description>
        <link>https://medium.com/@siberiancrane?source=rss-a83c77ce3cb------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/proxy/1*TGH72Nnw24QL3iV9IOm4VA.png</url>
            <title>Stories by Sudip Datta on Medium</title>
            <link>https://medium.com/@siberiancrane?source=rss-a83c77ce3cb------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sun, 06 Dec 2026 20:22:29 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@siberiancrane/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Towards Developer Productivity]]></title>
            <link>https://engg.glance.com/towards-developer-productivity-420359a844ab?source=rss-a83c77ce3cb------2</link>
            <guid isPermaLink="false">https://medium.com/p/420359a844ab</guid>
            <category><![CDATA[dora]]></category>
            <category><![CDATA[argo]]></category>
            <category><![CDATA[gitops]]></category>
            <category><![CDATA[developer-productivity]]></category>
            <category><![CDATA[engineering]]></category>
            <dc:creator><![CDATA[Sudip Datta]]></dc:creator>
            <pubDate>Tue, 07 Dec 2021 10:20:36 GMT</pubDate>
            <atom:updated>2021-12-07T10:38:00.041Z</atom:updated>
            <content:encoded><![CDATA[<p>Software development entails conversion of abstract ideas into tangible code, and for a complex endeavor as this, minimizing context switches and reducing bottlenecks, has been <a href="https://link.springer.com/chapter/10.1007/978-1-4842-4221-6_10">known</a> to provide significant productivity boost to developers, leading to not just quality code, but its faster shipping as well. At Glance, we realize the importance of developer productivity and a few months back built a dedicated team to identify such points of friction in workflows and steps to alleviate them.</p><p>With the intent of doing this in a structured way, we were looking for a starting point and DORA assessment helped identify precisely where to focus our efforts. <a href="https://www.devops-research.com/research.html">DevOps Research and Assessment (DORA)</a> program does seminal research in identifying “<em>…practices and capabilities that drive high performance in technology delivery and ultimately organizational outcomes</em>” and publishes an annual <a href="https://www.devops-research.com/research.html#reports">State of DevOps Report</a>, providing comprehensive understanding of latest DevOps practices and capabilities which drive performance, and how they continue to evolve across industries.</p><p>DORA’s research has identified four key performance indicators of a software development team:</p><p><strong>Deployment frequency</strong>: Rate of successful releases in production.<br><strong>Lead time for changes</strong>: Time lag between a commit and its production deployment.<br><strong>Change failure rate</strong>: Percentage of times when a production deployment led to a failure, requiring a hot-fix or a rollback.<br><strong>Restoration time of services</strong>: Time taken to restore services after a failure in production.</p><p>With this groundwork, we started on an audacious goal of enabling one-developer/deployment/day (referred internally as O3D). This involves not just removing extraneous steps that slow down the release process but also provide adequate performance feedback on a new release, which increases developer confidence and reduces the chances of field issues and rollbacks. In this post, we present some of our early attempts, particularly in pruning down the unnecessary steps in the release process. In a subsequent post, we will elaborate on initiatives taken for swift and concise release feedback.</p><p><strong>Git Flow -&gt; Github Flow</strong></p><p>Prior to starting on O3D, we had been using the classical <a href="https://nvie.com/posts/a-successful-git-branching-model/">Git Flow</a> branching model, where there are two special branches with an infinite timeline — <em>master</em> &amp; <em>develop</em>. A <em>feature</em> branch is branched off develop and merges back to develop. Whenever code in develop is deemed fit to be released, it is merged to master and a <em>production release</em> is made (this is the crux but a lot more details are involved)</p><figure><img alt="Git Flow" src="https://cdn-images-1.medium.com/max/546/1*DWVEHs0MqejXKZ-bsXaVPQ.png" /><figcaption>Git Flow Branching Model</figcaption></figure><p>This works well when feature development is frozen on a release candidate (undergoing review, bug fixes, etc.) while development continues for a subsequent release.</p><p>For a more fast paced, continuous delivery model, where we are headed, a simpler, crisper branching model is <a href="https://docs.github.com/en/get-started/quickstart/github-flow">Github Flow</a>. It combines the mainline and release branch into a common <em>master </em>branch, treating all other branches as <em>feature</em> branches. Since, we only have a single version of code in production, once a developer finishes a feature or bug-fix, it is immediately tested on that branch itself, and promoted to production, reducing the extra moot step, and simplifying the entire process.</p><figure><img alt="Github Flow" src="https://cdn-images-1.medium.com/max/486/1*l8ltjKCaO9tlTzzy6M0CwQ.png" /><figcaption>Github Flow Branching Model</figcaption></figure><p>It may seem like a minor change with only incremental savings. However, knowing that the extra step actually translated to, the overhead of raising a peripheral PR, contacting potential reviewers, wait time for them to act on it and approve, context switch needed by reviewers to approve, further delay by the author to trigger the build, and finally the time (and resources) it takes for yet another build and merge, aggregated over thousands of weekly deployments, amassed to a lot of wasted developer time and (much less recognized!) annoyance.</p><p>Admittedly, while the active time devoted, in this step was minimal, the entire flow took way longer and hence, this innocuous change has borne disproportionally high returns, when it comes to developer productivity.</p><p><strong>Maven Release Plugin -&gt; Maven CI friendly versions</strong></p><p>Till recently, we were using the <a href="https://maven.apache.org/maven-release/maven-release-plugin/">maven-release-plugin</a> for our releases (Maven is the tool of choice for builds, within Glance).</p><figure><img alt="maven-release-plugin" src="https://cdn-images-1.medium.com/max/705/1*xnzdMkoing84OauqXB738A.png" /><figcaption>Release using maven-release-plugin</figcaption></figure><p>The release process ran in two stages (prepare, perform) consisting of multiple phases. Using this plugin, the releases were tedious, and involved multiple POM changes (prior to release, snapshot version is changed to release version and subsequently, after a release, the version is bumped and made a snapshot version, for next iteration of development) and multiple goal executions (each POM change resulted in cleanup of workspace and re-compilation by maven, resulting in clean/compile/test goals to needlessly be run multiple times) leading to <a href="https://xkcd.com/303/">long wait times</a>.</p><figure><img alt="Maven CI Friendly Versions" src="https://cdn-images-1.medium.com/max/1024/1*i0yiZBvCzHkdfWn2gbJfeQ.png" /><figcaption>Release using CI friendly version</figcaption></figure><p>Starting Maven 3.5.0, <em>variables</em> could be used as placeholders for versions in POM files, instead of a specific mention. The <a href="https://maven.apache.org/maven-ci-friendly.html">CI friendly versions</a> along with the <a href="https://www.mojohaus.org/flatten-maven-plugin/">flatten-maven-plugin</a>, used Git tags and with some intelligence added in build pipeline the release version could be derived during build time. This resulted in removing the need for any explicit version changes in POM and hence no extra commits. Most importantly, goals of clean/compile/test were run only once, directly leading to reduced build times which translates to saving precious developer time.</p><p><strong>Explicit merge -&gt; Fast forward flow</strong></p><p>There are diverse types of code repos; including some which largely involve configuration changes, and yet others exuding confidence because of high test coverage. For such repos, manual intervention might not be needed at each step of workflow. In this direction, yet another small but significant move was introduction of mechanism to allow developers to skip/automate few steps in the conventional development flow.</p><p>Earlier, after raising a PR, developer could test it by triggering +testpr/+plan. Further after requisite number (typically <em>2 </em>at Glance) of reviewer approvals, the developer had to manually give a +merge/+provision command to trigger the build and merge process.</p><p>We have now introduced several other repo configurations, such as</p><pre>{     <br>&quot;+testpr_on_feat_to_master_pr_creation&quot;: true, // trigger build on pr creation.<br>&quot;+merge_on_feat_to_master_pr_approval&quot;: true, // trigger build and merge on pr approval.<br>}</pre><p>which can be enabled at repo owners’ discretion, to hasten the merge process. Of course, there are provisions to override default behavior, such as the presence of no-auto-merge key in PR title to prevent auto-merge on PR approval, in case a developer chooses this route.</p><p>This change also had another positive side effect. Earlier, at times, a reviewer would recommend certain changes in PR and yet approve it, assuming, that the developer will incorporate the recommendations before triggering a merge. This contract has become a lot more formal with fast merge, wherein the reviewer knows that her approval will trigger the next steps and hence is a lot more careful that all her concerns have been addressed before approving the PR.</p><p><strong>Flux -&gt; Argo</strong></p><p>Early in our journey, we adopted <a href="https://fluxcd.io/">Flux CD</a> as the tool of choice for application deployment with <a href="https://www.weave.works/technologies/gitops/">GitOps</a> as the operating model. With few developers, services, clusters and requirements, <a href="https://fluxcd.io/legacy/flux/">Flux v1</a> provided us with a simple deployment mechanism, which worked well.</p><figure><img alt="Flux V1" src="https://cdn-images-1.medium.com/max/1024/1*bTmS8u7w-CtjYReNF37wPQ.png" /><figcaption>Deployment flow using Flux v1</figcaption></figure><p>But as we grew, there was need for newer features (support for multiple deployment strategies, change notification, authentication, etc.) as well as resolution to some of the shortcoming of Flux v1 (multi repo monitoring, observability). Although, some of these could be resolved by upgrading to<a href="https://fluxcd.io/docs/"> Flux v2</a> (and onboarding on other related projects such as <a href="https://flagger.app/">Flagger</a> for progressive deployments), we also had <a href="https://argo-cd.readthedocs.io/en/stable/">Argo CD</a> (with <a href="https://argoproj.github.io/argo-rollouts/">Argo Rollouts</a> as the corresponding progressive delivery counterpart) in contention.</p><p>While, the motivation for choosing Argo CD over Flux v2, including administrative reasons, merits a post of its own, one of compelling motivations was the UI.</p><p>Argo CD UI provides a comprehensive view of current and past status of all Kubernetes objects of all releases. This doesn’t just give the developer a holistic view of the deployment status, but anybody else who might want to know the current or past status, particularly when getting initiated to a project. Further, it provides a central place to sync and scale a deployment. Most importantly, all deployment and access logs can also be viewed here itself, removing the need to access the clusters, describe the objects, or view the logs. The need for these often arises, particularly in case of failures and earlier every developer had to be fluent with kubectl commands (and not every developer is, in which case they had to reach out to someone else in the team, with more K8s experience, for help), which is no longer needed.</p><figure><img alt="Argo UI" src="https://cdn-images-1.medium.com/max/1024/1*XRDzanPxiaxBNzBve_95bw.png" /><figcaption>Consolidated view of an application in Argo CD</figcaption></figure><p>Of course, Argo CD came with multiple other features, we desired, including multi Git repo monitoring, cross-cluster application management, change notifications, authentication, and authorization.</p><figure><img alt="New Flow using Argo CD" src="https://cdn-images-1.medium.com/max/1024/1*NNLjDRm8Uwlid2CqoIaonA.png" /><figcaption>Deployment Flow using Argo CD</figcaption></figure><p>While we are still in early stages of this journey and have scratched only the surface; at Glance, there is increasing emphasis and excitement on developer productivity as a key vector for overall software productivity and we continue to invest in this direction.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=420359a844ab" width="1" height="1" alt=""><hr><p><a href="https://engg.glance.com/towards-developer-productivity-420359a844ab">Towards Developer Productivity</a> was originally published in <a href="https://engg.glance.com/">Glance</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>