<?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 Ravi Shankar on Medium]]></title>
        <description><![CDATA[Stories by Ravi Shankar on Medium]]></description>
        <link>https://medium.com/@ravishank8?source=rss-790e6339c1ff------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*zdiRmxmK3-ESl5jnTHKvLA.jpeg</url>
            <title>Stories by Ravi Shankar on Medium</title>
            <link>https://medium.com/@ravishank8?source=rss-790e6339c1ff------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Tue, 24 Nov 2026 11:44:54 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@ravishank8/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[The New Software Trinity — Polymaths • Guardrails • Specialists]]></title>
            <link>https://medium.com/@ravishank8/the-new-software-trinity-polymaths-guardrails-specialists-7b8ba6c6603a?source=rss-790e6339c1ff------2</link>
            <guid isPermaLink="false">https://medium.com/p/7b8ba6c6603a</guid>
            <category><![CDATA[publicis-sapient]]></category>
            <category><![CDATA[agentic-teams]]></category>
            <category><![CDATA[future-of-software]]></category>
            <dc:creator><![CDATA[Ravi Shankar]]></dc:creator>
            <pubDate>Sun, 12 Oct 2025 08:55:16 GMT</pubDate>
            <atom:updated>2025-10-12T13:19:10.464Z</atom:updated>
            <content:encoded><![CDATA[<h3>What is the future of Software Development? It is Polymaths, Guardrails and Specialists</h3><blockquote>AI is redrawing the boundaries of software creation faster than most teams can adapt. Technology, product, and design leaders everywhere are asking the same question: How do we evolve our teams when AI is no longer just a tool — but a teammate?</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*mA6ETkMw7RH5FEAgstl5oA.png" /><figcaption>Small Pods, Strong Rails and Bias for Action</figcaption></figure><p>Over the past few weeks, I’ve built a platform end-to-end — nearly 28KLOC across UI, backend, infra, and ML models — with AI agents acting as true co-engineers. That experience forced me to re-think how teams, roles, and systems must adapt in this new era.</p><p>Here are my key takeaways 👇</p><h3>1. The Locus of Value Is Rapidly Shifting Across Roles</h3><p>It’s no longer just about mastering one discipline. The new differentiator is holistic problem-solving — being able to traverse product strategy, design thinking, and engineering execution while orchestrating both human and AI capabilities.</p><h3>2. Small, Hybrid Teams Will Build More</h3><p>Tiny, 2–5-person polymathic teams will accomplish what once took 20. These aren’t just engineers — they’re hybrid builders who blend product thinking, design intuition, and engineering execution. By working alongside AI agents as co-creators, they’ll deliver end-to-end outcomes faster, cheaper, and better.</p><p>Key attributes of these builders:</p><ul><li>Systems Thinking: Seeing the connections between product, user, and architecture.</li><li>Cross-Disciplinary Fluency: Comfortably switching hats between strategy, design, and code.</li><li>AI Partnership Mindset: Treating AI as a co-creator, not a sidekick.</li></ul><h3>3. Specialists Won’t Disappear — They’ll Become Force Multipliers</h3><p>Deep experts won’t fade away; they’ll become the “special forces” teams call in for the hardest challenges — advanced ML, infra tuning, or niche domains. Their expertise becomes strategic leverage for polymathic builders.</p><h3>4. Design and UX: Automation Meets Deep Human Insight</h3><p>AI will handle visual and repetitive design tasks. Human designers will focus on empathy, context, and human-centered insight. The magic lies in blending AI efficiency with human intuition.</p><h3>5. Strong Rails and Lightweight Safety Nets</h3><p>Fast-moving, AI-augmented teams need pre-built rails — secure templates, compliance checks — that keep them safe without slowing them down. Think invisible guardrails: always there, never in the way.</p><h3>6. Managing Complexity in an AI-Rich World</h3><p>As software gets easier to create, the ecosystem gets more complex. The next-gen leaders won’t just code — they’ll orchestrate entire systems of humans, tools, and agents working in concert.</p><h3>7. Bias for Action: Build First, Debate Later</h3><p>When I was building my own platform, I noticed a clear divide between planning and progress. While others debated repo structures, I was already shipping prototypes with AI.</p><p>In the AI era, the cost of experimentation has collapsed. You can test ideas in hours, not weeks — which means your competitive edge lies in how fast you learn, not how perfectly you plan.</p><p>Our mission is to create cultures that reward action:</p><ul><li>Don’t over-plan what AI can help you prototype.</li><li>Replace “What’s the perfect design?” with “What can we test by tomorrow?”</li><li>Let the demo be the debate — progress beats polish every time.</li></ul><p>💡 <strong>Your challenge: </strong>Pick one project this week. Skip the planning doc. Build something real with AI in the loop. See how far you get in 48 hours — and share what you learned.</p><p>That’s how we’ll collectively re-define what building software means in the age of intelligent systems.</p><p>#AgenticTeams #BuildWithAI #Polymaths #FutureOfWork #PublicisSapient</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=7b8ba6c6603a" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Digital Transformation Buildout Lessons — Lean Management and Monitoring Part 3: Visual Management]]></title>
            <link>https://medium.com/engineered-publicis-sapient/digital-transformation-build-out-lessons-79efaa7c5a31?source=rss-790e6339c1ff------2</link>
            <guid isPermaLink="false">https://medium.com/p/79efaa7c5a31</guid>
            <category><![CDATA[development]]></category>
            <category><![CDATA[digital-transformation]]></category>
            <category><![CDATA[technology]]></category>
            <category><![CDATA[engineering]]></category>
            <category><![CDATA[visual-management]]></category>
            <dc:creator><![CDATA[Ravi Shankar]]></dc:creator>
            <pubDate>Mon, 02 Nov 2020 04:40:49 GMT</pubDate>
            <atom:updated>2020-11-02T10:48:15.170Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*jeQIGw_BoSVs_WTpJKYWnw.jpeg" /></figure><h3><a href="https://medium.com/p/b1f57a258cd7?source=post_stats_page-------------------------------------"><em>Digital Transformation Buildout Lesson</em></a><em>s —</em></h3><h3><a href="https://medium.com/p/b1f57a258cd7?source=post_stats_page-------------------------------------"><strong>Lean Management and Monitoring Part</strong></a><strong> 3 </strong>— Visual Management</h3><p>Welcome back! Our <a href="https://medium.com/engineered-publicis-sapient/digital-transformation-buildout-lessons-lean-management-and-monitoring-part-2-b1f57a258cd7">previous story</a> focused on how to “Eliminate status curation toil and reach a single view of status, available in real-time.”</p><p>In the series thus far, we have talked about the benefits of <strong>an optimized team model</strong>, <strong>appropriate architecture</strong> and <strong>diverse elements of</strong> <strong>lean management </strong>to lead us in a successful digital transformation buildout.</p><p>At the core of any such effort are the engineers who churn out code to meet the business and operational goals. <strong>And they need to see the intended outcomes as clearly as the engineering and product leaders.</strong> That brings us straight to our next pain point…</p><p>PAIN-5 — Modern engineering teams are flush with tools to measure and display metrics around value, speed and quality. Plenty of trends, graphs and reports. But do they really nudge or catalyze the engineers on the ground? How do we connect each developer to the uber velocity-quality-value goals, where they can see clearly the impact of their efforts to the bigger picture?</p><p>The answer lies in one of the key principles of lean management — <strong>Visual Management.</strong></p><blockquote>PODs and engineers must see at all times the information most relevant to them, away from the clutter and jargons.</blockquote><p>Quality and productivity tools are embedded into development pipelines, acting as gates to ensure appropriate quality management across functional and non-functional aspects. Defects and productivity dashboards, some of which we saw in the previous stories, give a holistic view on progress.</p><p>The key though is to create intuitive views that answer one simple question:</p><blockquote>What do I/my POD needs to do today to enable success?</blockquote><p>Through the course of the buildout, we created such contextual views, adding and replacing as essential, based on the need of the team. <strong>These charts were displayed on big digital displays in the team areas across shores.</strong></p><ul><li><strong><em>Velocity and Defects chart: </em></strong>During the execution sprints, we needed to present the teams with a succinct velocity and quality view, and how far they are from their daily target as a team:</li></ul><figure><img alt="Velocity and Defects Chart" src="https://cdn-images-1.medium.com/max/1024/1*pcidji7uPzB_hNKzFccNQA.jpeg" /><figcaption>Velocity and Defects Chart</figcaption></figure><p>Data was pulled real-time from JIRA, and each POD at all times saw how they were doing, both on velocity and quality parameters.</p><blockquote>Within a few days of introducing this chart, we began to see healthy competition among PODs, wanting to look good on the big screen, also jokingly pointing at each other if anyone got into red or amber status, on velocity or quality.</blockquote><p>This chart came very handy during the sprints, as it gave a very clear view to each POD on where they are, and what would it take for them to turn green.</p><ul><li><strong><em>Defects Progress Chart: </em></strong>As we moved into integrated testing across services, systems and user journeys, it was key to get a handle on daily defects’ progress (find/fix) and related feature stability. While real-time status and reporting on the same was managed as mentioned in <a href="https://medium.com/engineered-publicis-sapient/digital-transformation-buildout-lessons-lean-management-and-monitoring-part-2-b1f57a258cd7"><em>Lean Management and Monitoring — Part 2</em></a>, we had to put something the developers could look at in real-time and gauge their POD’s daily target and progress.</li></ul><p>So we created a defects’ tracking board:</p><figure><img alt="Daily Defects’ Progress Chart" src="https://cdn-images-1.medium.com/max/1024/1*cHAa6Qs7prLfysVZnFosMg.jpeg" /><figcaption>Daily Defects’ Progress Chart</figcaption></figure><p>As you see above, the defects are shown in three possible colors:</p><ol><li>Green — The pull request (PR) for the defect has been merged; ready to tested in the integrated environment</li><li>Yellow — The PR for the defect has been raised by the developer. This is the queue for tech leads to clear</li><li>Red — All other statuses</li><li>Triaged Defects — Marked as Ranked</li></ol><p>This board showed real-time defects’ movement in the day, and if any chokepoints. Lots of greens meant QA is delayed in testing, yellows meant pending PR merges with leads and lots of red meant developer delays.</p><blockquote>Again, it turned out to be real fun for the team. Developers would fix/merge a defect and then look at the board to see the color change. PODs competed with each other on how green their sections were. At one point, there was an ask to put developer initials against each defect, but we decided against it.</blockquote><ul><li><strong><em>UAT sign-off/go-live readiness board</em></strong> — As we entered the User Acceptance, non-functional signoff and cutover readiness phase, the defect counts were much lower. But we had new aspects to communicate to developers:</li></ul><ol><li><em>Perceived Quality</em> — Measured in terms of defects raised and re-opened by business users/architects. Both of these had to be kept low to generate confidence in the new platform. Any spikes here needed to be addressed ASAP.</li><li><em>On track for go-live</em> — We had set up daily defect targets across functional and non-functional defect counts with the product owners, and meeting/ beating those was key to our go-live readiness optics.</li></ol><p>We came up with an appropriate chart:</p><figure><img alt="Go-live readiness chart" src="https://cdn-images-1.medium.com/max/1024/1*P6dwlbCA1seJ8O69e5BJjg.jpeg" /><figcaption>Go-live Readiness Chart</figcaption></figure><p>All this information was extracted real-time from JIRA, and visible to developers and UAT testers across shores on big digital displays.</p><blockquote>One fun fact for me personally was that as the developer who put on all these charts up, my work was live right in front of me; and the end users were also right there. Feedback, defects and feature requests were all instant. I would typically develop the requests overnight to enjoy the teams’ reactions the next day when they walked in.</blockquote><p>The source code for all the above charts is available at:</p><pre><a href="https://github.com/ravishank8/VisualManagement.git">https://github.com/ravishank8/VisualManagement.git</a></pre><p>It is essentially a simple express based app, with libraries to query JIRA, Google sheets and others to build charts and the necessary screen experience. The data retrieval is pull-based, and will be a good POC to add reactive elements to the data flow and experience change.</p><blockquote>The tech stack is rather simple; it is the design thinking that really matters here. Thinking to present the simplest and most contextual view, one that catalyzes action.</blockquote><p><strong>In summary:</strong></p><blockquote>Visual management, if used appropriately, is a very powerful engagement, motivational and team-synergy tool. Again, all teams have their own unique and evolving needs; visual management needs to cater to that.</blockquote><p>This story concludes the Lean Management and Monitoring aspects of a digital transformation buildout.</p><p>We have pretty much reached the end of this series except for one point, which potentially is the most pivotal one when it comes to success of teams.</p><p>PAIN -6 — Digital Transformation engagements are challenging and tiring. How do we ensure that the Product Engineering teams are engaged, motivated and find virtuousness through this arduous journey?</p><p>That will be our next and final story of this series.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=79efaa7c5a31" width="1" height="1" alt=""><hr><p><a href="https://medium.com/engineered-publicis-sapient/digital-transformation-build-out-lessons-79efaa7c5a31">Digital Transformation Buildout Lessons — Lean Management and Monitoring Part 3: Visual Management</a> was originally published in <a href="https://medium.com/engineered-publicis-sapient">Engineered @ Publicis Sapient</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Digital Transformation Buildout Lessons — Lean Management and Monitoring Part 2]]></title>
            <link>https://medium.com/engineered-publicis-sapient/digital-transformation-buildout-lessons-lean-management-and-monitoring-part-2-b1f57a258cd7?source=rss-790e6339c1ff------2</link>
            <guid isPermaLink="false">https://medium.com/p/b1f57a258cd7</guid>
            <category><![CDATA[digital-transformation]]></category>
            <category><![CDATA[data]]></category>
            <category><![CDATA[engineering]]></category>
            <category><![CDATA[technology]]></category>
            <category><![CDATA[automation]]></category>
            <dc:creator><![CDATA[Ravi Shankar]]></dc:creator>
            <pubDate>Tue, 04 Aug 2020 04:55:40 GMT</pubDate>
            <atom:updated>2020-08-04T04:55:40.052Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*QClKsXYQHifEV3Y_RoO5lg.png" /><figcaption>Lean Management and Monitoring</figcaption></figure><h3>Digital Transformation Build-out Lessons</h3><h3>Lean Management and Monitoring: Part 2</h3><p>Continuing from where we left in our <a href="https://medium.com/engineered-publicis-sapient/digital-transformation-buildout-lessons-lean-management-and-monitoring-part-1-f10ecb7c1fff">previous story</a>...</p><p>Beyond a couple of initial sprints, where the focus is on kickoff and gaining the necessary initial momentum, very quickly the priorities change to <strong>velocity</strong> and <strong>quality</strong> outcomes w.r.t the overall build-out. This brings in context our next pain point:</p><p><strong>PAIN-4:</strong> (Context — Inter-sprint/build-out cycle) — Clear, succinct, in-real-time and visible-to-all/consistent answers to the questions:</p><ul><li>“We might be doing fine within the current Sprint, but how are we doing w.r.t. overall development completion?”</li><li>“We might be doing good w.r.t. story points, but how are we doing on our MVP features’ set readiness and stability?”</li><li>“How are we doing on our readiness for SIT/UAT entry criteria?”</li></ul><p>Here as well, the initial focus is on fine-grained speed-quality measures like story points/estimate burn-ups. But it needs to shift quickly towards more coarse-grained aspects of features’ completion/stability and UAT readiness.</p><blockquote>Getting on-demand and accurate answers to the above questions needs two things — “trustworthy data and incremental automation”. We developed a Google scripts-sheets based tool to automate answers to the above questions, and much more.</blockquote><p>Our intent with the tool was two-fold:</p><blockquote>“Eliminate <strong><em>status curation toil</em></strong> and reach to a single view of status available in real-time.”</blockquote><p>We did the following, pretty much in sequence through the engagement, based on how asks changed/evolved through the build-out:</p><ul><li><strong>Before starting the build-out</strong>, we created an initial view of the target delivery sprints for all the features. This served as the reference for POs-BAs-Demand Leads-Engineering Leads of timelines for grooming milestones and features’ delivery. It was this ordering and timelines that our demand leads ran with, as mentioned in <a href="https://medium.com/engineered-publicis-sapient/team-setup-and-organization-be79107dc496">Team Setup and Organization</a>.</li><li><strong>By the end of Sprint 4 in the 11 Sprints journey</strong>, the BAs broke down all features into stories, assigned story points to each story and persisted them in JIRA. This enabled us to extract:</li></ul><ol><li>Planned vs actuals of velocity for the past sprints.</li><li>Target velocity of the upcoming sprints.</li><li>When we matched developers’ efficiency with target velocity, we knew the team requirements for each POD per Sprint</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*UYvGDVbVSHzKKQkFGHGk3g.png" /><figcaption>PODs’ completion status w.r.t. story points</figcaption></figure><p>The figure above is a pivot, showing in-real-time completion status of PODs w.r.t story points planned vs. developed vs. achieved. This data comes in very handy to revisit efficiency trends for current and past Sprints. How team size changes/people movements impact PODs’ velocities. Developed vs. achieved SPs (story points) to failed stories.</p><p>Client stakeholders, at any point, could see the planned and actuals SPs (only for past or current Sprints) for the total build-out, at a POD level.</p><ul><li><strong>Moving into Sprint 6</strong>, the focus shifted towards features’ completion and stability, instead of the story points’ based velocity. At this point, we added another tab to the sheet, displaying features’ status. This data reflected feature completion based on the completion of stories’ and the status of defects mapped to it:</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*VrNBUoO5FEt8RbBs2IGBXQ.png" /><figcaption>Features’ Completion Status</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*IUWtOeH5M0LaPowBhOBCOA.png" /><figcaption>Features’ Completion Pivot</figcaption></figure><p>The views above show features’ completion status. Features at any point could be in either of the four statuses — Ready for UAT, In Stabilization, Development in Progress and Not yet Started. Each status lends to a different set of priorities, reporting of which the tool automated:</p><ol><li><strong>Ready for UAT </strong>— Clearly the most stable features. <strong><em>Base stability of the platform was a function of a minimum percentage of MVP and non-MVP features being in this state</em></strong>. Something we had to ensure at all times.</li><li><strong>In Stabilization</strong> — These are features that have been completed from a development standpoint, but still have either failed stories or critical defects in them.</li><li>Development in Progress and Not yet Started features are essentially ones that are still being actively worked upon between Product and Engineering teams.</li></ol><p>Just as with stories, the number of features “In Stabilization” and “Development in Progress” needs to be minimal, to limit parallel work and ensure tangible progress towards completion and stability.</p><ul><li><strong>Through Sprints 8 to 11 and into UAT,</strong> we did necessary enhancements to the tool:</li></ul><ol><li>Features and/or developers with high defect density</li><li>Highlighting features stuck with third-party dependencies</li><li>Target date for features’ readiness, as development started moving towards its fag end</li><li>Features’ re-testing prioritization for UAT testers based on defect fixes</li><li>Defects’ find and fix projections</li></ol><p>One obvious enhancement to this tool will be to persist data incrementally and then to be able to analyze that over a period of time; to measure and anticipate variations in PODs’ and individuals’ deliverables (across the speed and quality axes) over time.</p><blockquote>The logic in Google scripts is extremely simple. All the data is present in stories and defects within JIRA. The Google sheet essentially pulls both of these data points in an automated way, and does data massaging to present the needed status across multiple axes (story points and/or features and/or defects).</blockquote><p>Code for this sheet is present at:</p><pre><a href="https://github.com/ravishank8/InterSprintStatusJIRA"><strong>https://github.com/ravishank8/InterSprintStatusJIRA</strong></a></pre><p>This sheet is what we presented to our executive and client stakeholders in our weekly synch-ups; they obviously also had the link to it, so they could open and check status at any time. Needless to say, this took a lot of the pain away in curating status for various stakeholders.</p><blockquote>Everyone, from the POD teams to the executive stakeholders, had the same view of status — “<strong>current and real” and automated.</strong></blockquote><p>As I think on our purpose to “<strong>Eliminate (not avoid) toil, reach to a single view of status that is available in real-time,” </strong>we were able to achieve version 0.1 of that.</p><p>While I have open-sourced the code for this strawman, same as I did for the <a href="https://github.com/ravishank8/Tracking-Sheet-for-JIRA">Tracking Tool for Intra-Sprint Status</a>, it is not really the tool that is of any consequence; but the mindset to eliminate toil and waste from management functions.</p><blockquote>I’d rather have all scrum masters/Release Train Engineers (whichever methodology…whatever team structure... those keep changing quickly btw...) be ENGINEERS who can code themselves out of toil/wastage.</blockquote><p>In the next story, we will look at the next biggest pain point, and how we used Visual Management to solve the same:</p><p><strong>PAIN-5 </strong>— All organizations/teams/engagements are flush with tools to measure and display metrics. Plenty of trends, graphs and reports. But what do they really mean to the Engineers in the PODs? How do we connect each developer to the uber velocity-quality-value goals, so they can clearly see the impact of their work-deliverable on the bigger picture?</p><p>More on this in the next story...</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=b1f57a258cd7" width="1" height="1" alt=""><hr><p><a href="https://medium.com/engineered-publicis-sapient/digital-transformation-buildout-lessons-lean-management-and-monitoring-part-2-b1f57a258cd7">Digital Transformation Buildout Lessons — Lean Management and Monitoring Part 2</a> was originally published in <a href="https://medium.com/engineered-publicis-sapient">Engineered @ Publicis Sapient</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Functional Programming in Javascript — Get Going…]]></title>
            <link>https://medium.com/engineered-publicis-sapient/functional-programming-in-javascript-get-going-cfdeede294e4?source=rss-790e6339c1ff------2</link>
            <guid isPermaLink="false">https://medium.com/p/cfdeede294e4</guid>
            <category><![CDATA[technology]]></category>
            <category><![CDATA[functional-programming]]></category>
            <category><![CDATA[coding]]></category>
            <category><![CDATA[javascript]]></category>
            <category><![CDATA[engineering]]></category>
            <dc:creator><![CDATA[Ravi Shankar]]></dc:creator>
            <pubDate>Tue, 02 Jun 2020 06:58:01 GMT</pubDate>
            <atom:updated>2020-06-02T06:58:01.983Z</atom:updated>
            <content:encoded><![CDATA[<h3>Functional Programming in JavaScript — Get Going…</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/716/1*hbdndLzlEoUXPQ8ypHdMHQ.png" /><figcaption>Functional Programming</figcaption></figure><p>This tutorial is for developers who are looking to get hands-on with functional programming, but are lost in the maze of bite-sized content.</p><p>The central concept in functional programming (FP) is the “Function”. <strong>In functional programming, function is a first-grade citizen. </strong><em>Hmm ….What does that even mean? </em>It simply means that a function has all the capabilities and permissions that any other “type” (read values…) has in the language. Functions in JavaScript can be:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*7w0XUFzaCLuo-vbqESwh0g.png" /><figcaption>Functions as First-Grade Citizens</figcaption></figure><p>A good illustration of this is given by <strong>AllThingsJavascript</strong> at <a href="https://www.youtube.com/watch?v=1ieC6JZmF5w"><em>https://www.youtube.com/watch?v=1ieC6JZmF5w</em></a><em>. </em>An example is also present in the source code attached to this story.</p><blockquote><a href="https://github.com/ravishank8/FunctionalJSStarter.git">Code examples from this article are present at: <strong>https://github.com/ravishank8/FunctionalJSStarter.git</strong></a></blockquote><p>The best definition I have found out there of functional programming:</p><blockquote>Functional programming is the process of building software by composing pure functions, avoiding shared state, mutable data and side effects. Functional programming is declarative instead of imperative, and application state flows through pure functions.</blockquote><blockquote>— Eric Elliott</blockquote><p>There are quite a few keywords in the definition above.</p><p><strong><em>Pure Functions</em></strong> have a few key attributes:</p><ul><li>For a given input, always generates the same return value.</li><li>Depends only on inputs provided and not on entities that are outside its scope.</li><li>Does not change/mutate any entities outside its scope.</li><li>Do not cause side effects — changes to global values, invoking impure functions, throwing exceptions and/or invoking external processes.</li></ul><p><strong><em>Avoiding Shared State: </em></strong>Shared state changes are the most difficult to debug. As the state changes in multiple places, keeping a track of the same and zeroing in on issues becomes a nightmare, more so in distributed systems. Functional style recommends to avoid using shared state.</p><p>In places where there is a compulsion to used shared state, it needs to be well-defined. A prime example of strong state management is Redux, where a global state gets well-managed through defined reducers.</p><p><strong><em>Avoid mutation: </em></strong>Functional style strongly recommends immutability. A function is not supposed to mutate the input it receives, instead it must create a new object for its output. Some of the best examples in JavaScript to illustrate this are the functions on arrays: map(), reduce() or filter(). Each of them takes an array as input, which it treats as immutable, and generates an output that is a net new array.</p><p><strong>Cloning</strong> is an important tool to enable immutability. There are both shallow and deep cloning options in JavaScript as in other languages. Frameworks like Ramda and Lodash provide utility methods for the same.</p><p><strong><em>Functional Composition: </em></strong>As mentioned in the FP definition, “<strong><em>application state flows through pure functions.</em></strong>” Functional composition creates a “<strong>reusable pipeline</strong>” of functions, which can then be called as one single unit.</p><p>All FP frameworks provide <strong>pipe</strong> and <strong>compose</strong> functions to do the same. In case of pipe, the functions execute in sequence. In case of compose, they get called in reverse sequence.</p><pre><strong>// All three syntaxes are identical w.r.t output</strong></pre><pre><strong>// Traditional syntax - tough to understand</strong><br>squareself(subtract2(add3(3)));</pre><pre><strong>// Pipe example - Executed left to right</strong><br>var prepareNumPipe = pipe(add3, subtract2, squareself);<br>prepareNumPipe(3);</pre><pre><strong>// Compose example - Executed right to left</strong><br>var prepareNumCompose = compose(squareself, subtract2, add3);<br>prepareNumCompose(3);</pre><p><em>Refer to functionComposition.js in the codebase to see an actual example.</em></p><p>The key, though, is to get under the hood of the compose and pipe functions.</p><pre><strong>// Compose Function Definition</strong><br>const compose = function(...fns) {<br>  return function(x) {<br>    return fns.reduceRight(function(v, f) {<br>      return f(v);<br>    }, x);<br>  }<br>};</pre><pre><strong>// Pipe Function Example</strong><br>const pipe = function (...fns){<br>  return function(x){<br>    return fns.reduce(function(a,b){<br>      return b(a);<br>    },x);<br>  }<br>}</pre><p>The above works perfectly when we are working with functions that have an arity of 1.<strong> For functional composition of functions with arity &gt; 1 (multi-arity), currying is essential</strong>.</p><p>Currying is a technique in FP where a multi-arity function is transformed into a series of nested ‘single arity functions’, invoked one by one. Each nested function expects one of the arguments of the multi-arity function and returns a new function that expects the next argument. Once all the arguments have been passed, the actual function gets invoked.</p><p>For example:</p><pre>const addNumbers = function(x, y, z){<br>  return x + y + z;<br>};</pre><pre><strong>// Non curried version</strong><br>console.log(addNumbers(1, 2, 3));</pre><pre><strong>// Equivalent Curried Version</strong><br>console.log(curry(addNumbers)(1)(2)(3));</pre><p><em>Refer to currying.js in the codebase to see a real example</em>.</p><p>Again, like pipe and compose, the real magic is in understanding the internals of the curry function.</p><pre>// Currying Function<br>function curry(fn,arity = fn.length) {<br>  return (function nextCurried(prevArgs){<br>    return function curried(nextArg){<br>      var args = [ ...prevArgs, nextArg ];<br>      if (args.length &gt;= arity) {<br>        return fn( ...args );<br>      } else {<br>        return nextCurried( args );<br>      }<br>    };<br>  })([]);<br>}</pre><p>Declarative: As you will see in all the code examples, what comes out at you is <strong><em>WHAT</em></strong> the code is doing, not <strong><em>HOW</em></strong> it is doing it; very unlike the traditional imperative style. Once we get used to a bit, functional code looks much more readable than imperative code.</p><p>Other Keywords: Some key terms associated with FP are:</p><ul><li><strong><em>Higher order functions: </em></strong>These are simply functions whose return type is another function.</li><li><strong>Closures: </strong>A function that has access to the lexical scope (popularly called closure scope) of its parent function.</li><li><strong><em>Functions vs procedures</em></strong>: Functions are supposed to be succinct, focused and aimed at solving one particular problem and return something. Procedures need not adhere to any of the above.</li></ul><p>We have covered each aspect of the Functional Programming definition.</p><p>What’s next? With this primary understanding of FP, you should do a few or more of the following:</p><ul><li>Explore the functional JS libraries like Ramda and Lodash</li><li>Visit <a href="https://github.com/getify/Functional-Light-JS/blob/master/manuscript/ch11.md/#chapter-11-putting-it-all-together">Functional Light JavaScript</a></li><li>If you still want to take an elaborate tutorial, I will recommend<strong><em> FP tutorial on Udemy by Steven Hancock.</em></strong></li></ul><p>There are tons of other resources out there that will take you further on this journey. Aim to start adding the functional style in your code, where it makes sense.</p><p>Happy coding!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=cfdeede294e4" width="1" height="1" alt=""><hr><p><a href="https://medium.com/engineered-publicis-sapient/functional-programming-in-javascript-get-going-cfdeede294e4">Functional Programming in Javascript — Get Going…</a> was originally published in <a href="https://medium.com/engineered-publicis-sapient">Engineered @ Publicis Sapient</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Digital Transformation Buildout Lessons — Lean Management and Monitoring Part 1]]></title>
            <link>https://medium.com/engineered-publicis-sapient/digital-transformation-buildout-lessons-lean-management-and-monitoring-part-1-f10ecb7c1fff?source=rss-790e6339c1ff------2</link>
            <guid isPermaLink="false">https://medium.com/p/f10ecb7c1fff</guid>
            <category><![CDATA[engineering]]></category>
            <category><![CDATA[technology]]></category>
            <category><![CDATA[digital-transformation]]></category>
            <category><![CDATA[data]]></category>
            <category><![CDATA[automation]]></category>
            <dc:creator><![CDATA[Ravi Shankar]]></dc:creator>
            <pubDate>Wed, 22 Apr 2020 05:08:22 GMT</pubDate>
            <atom:updated>2020-11-04T17:52:34.191Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*H5UMnHn2ED8wbzL3CjEdFQ.jpeg" /></figure><h3>Digital Transformation Build-out Lessons —</h3><h3>Lean Management and Monitoring: Part 1</h3><p>Continuing from <a href="https://medium.com/engineered-publicis-sapient/team-setup-and-organization-be79107dc496">Team Setup and Organization</a> —</p><p><strong>At its core, lean aims to maximize value and minimize waste.</strong> Through incremental changes, it endeavors to improve efficiency, enhance effectiveness, manage work in progress, and make value and work-flow visible throughout the value-stream.</p><p>In the context of a digital transformation build-out, following are the key engineering-related aspects w.r.t. lean management:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/634/1*_LTajCvsyfaHGE9rCY4QTg.png" /></figure><p>I will touch upon each of the above in this series. Again, the key here is to look at the pain points of Digital Transformation build-outs, and see which ones are best tackled by lean management and monitoring.</p><h3>Minimize Oversight</h3><p>On engagements of the scale we are talking about here (3,500–4,000 story points — say roughly, 1 SP corresponds to 1 person day of work), they are typically run with an oversight of between 12% and 20% (12% if one is highly efficient, and 20% if there are significant pockets in the inefficiency that need intervention/management).</p><p>We were able to execute our engagement at an overall oversight of 8%. How so? How did we manage a reduction of about 50% in the needed managerial coverage? One big contributor to that was what we already did with the demand scrum roles. That reduced a lot of junk ‘coming down to/coming back from’ the Engineering teams, needing lesser intervention/resets/waste.</p><p>The other big thing that we did was, handle the inefficiencies related to status data gathering and reporting (remember the 2 scrum masters question from the previous blog?). I am not talking here in terms of what automation we do in the CI/CD pipelines for quality and NFR metrics (though we will cover it in a future post), but to the <strong>understanding</strong> and <strong>reporting</strong> on throughput-quality-stability within PODs and at an overall team level.</p><p>How many times have each one of us been in meetings where the million-dollar question is: “How are we doing? Are we on track?” More often than not, the answer is a verbose and convoluted statement, which, by the time it completes, either completely loses the listener’s interest and/or falls way short of answering the question itself.</p><p>This brings me to the two big pain-points w.r.t. tracking:</p><p><strong>PAIN-3:</strong> (Context— Within the Sprint) — Clear, succinct, real-time, visible-to-all answer to the question: “Are we on track? If we are behind, how many hours/days are we behind by?”</p><p><strong>PAIN-4:</strong> (Context — Inter-sprint/development cycle) — Clear, succinct, real-time, visible-to-all answer to the questions:</p><ul><li>“We might be fine within this Sprint, but how are we doing overall w.r.t. development completion?”</li><li>“We might be fine w.r.t. story points, but how are we doing on our MVP features’ set and/or defects?</li><li>“How are we doing on our features’ readiness for SIT/UAT entry criteria?”</li></ul><p>In spite of tools like JIRA being there for us, understanding answers to these questions, and then reporting the same in targeted formats for intended audience takes a lion’s share of the time of scrum masters, and those running the scrum of scrums. So how did we solve these?</p><blockquote>WE AUTOMATED IT — Soups to nuts. We automated it to the extent that we needed only 2 scrum masters across the 6 PODs.</blockquote><p><strong><em>Solution Details to PAIN-3:</em></strong></p><p>We developed a Google Sheets-based solution driven by custom app script to automate both the data collection of Sprint status at the finest grain, and also relevant views for scrum-masters, scrum-of-scrums and engineers.</p><p>The app script driving this tool can be accessed at:</p><pre><a href="https://github.com/ravishank8/Tracking-Sheet-for-JIRA"><strong><em>https://github.com/ravishank8/Tracking-Sheet-for-JIRA</em></strong></a><strong><em>.</em></strong> This GS code needs to be imported into the target google sheet. A sample sheet URL attached mentioned in README.md.</pre><p>The steps are as follows (details are in README.md on GitHub):</p><p>1. The first step is to import the chrome add-on “JIRA cloud for sheets” to the sample sheet. This pulls data from JIRA into the “StoriesDump” tab.</p><p>2. The sample sheet has two key tabs:</p><ul><li><strong>Calendar</strong>: Here you need to mention the working and non-working days of the Sprint.</li><li><strong>Metadata</strong>: This sheet is to ensure that the code has no dependency on your JIRA field names and JIRA statuses. Please review the sheet and appropriately change the field names from JIRA in the column “Data Columns (JIRA)” to reflect the fields that you want to work upon.</li></ul><p>3. Now that the basic setup is done, you can choose to rename the generic spreadsheet as per your need. This sheet already has a version of the code.gs in it. Best is to open the script editor of your Google sheet now, and copy-paste the latest code.gs for GitHub.</p><p>4. The sheet is now ready-to-use. Close and open the sheet once. You will see that the “JIRA Menubar” menu option will reappear. This is the Menubar to execute our custom code.</p><p>5. Following are the steps to use the sheet:</p><ul><li>Import sprint stories into StoriesDump sheet using the “JIRA cloud for sheets”.</li><li>Execute the “Click to Retrieve” option on the JIRA menubar.</li><li>This should populate your StoriesChart tab and the PODStatus tab, which are the most important tabs on the sheet. If you run into any issues with the script, do reach out to the developer on GitHub.</li><li>If you find some stories missing in the StoriesChart tab which are there in the StoriesDump tab, the reason for that is very simple: There are only two things that are must-haves for stories to be considered for this analysis — Story Points (for simplicity, we kept 1 SP as 1 person day of work) and Planned End Data. These two are must-have fields to calculate the estimated end date.</li></ul><p>6. StoriesChart Tab has the following important data:</p><ul><li><strong>Story status</strong>: In JIRA, we have multiple statuses. We map all those statuses to three basic ones — Not Started, Complete and In-Progress. Depending on how you manage your QE work, either they are in the same story or you can create a parallel BDD story for the same. Mapping of these three statuses to JIRA statuses is to be configured in the Metadata tab.</li><li>Delay at each story level: This takes into account each story status:</li></ul><ol><li>Complete (<em>Delay — Completed</em>): Stories can be delayed even if they have already completed.</li><li>Not started (<em>Delay in Start — Not yet started</em>): Stories can be delayed even if they have not yet started, based on the effort and planned end date.</li><li>In-progress stories (<em>Delay In Progress — Due date based</em>): The delay of in-progress stories is a combination of delay in start and delay in progress. Non-working days (including weekends) is taken into account while calculating the delay.</li><li>Remaining Effort: This might seem a very obvious thing, but becomes crucial in the second week of the Sprint. If all developers are not fully loaded, this data helps give ability to complete the story even though there might have been delays.</li></ol><p>At this point, we have data for each story’s status across all PODs and developers. And this is what forms the data store for reporting and reports.</p><p>Now that we have the data, there are 3 views that are the most important. You will see those in the generic sheet too. Once StoriesChart has data, these views will come to life.</p><p>7. The 3 views present 3 different unique pictures:</p><blockquote><strong>Tracking view </strong>is to answer the following questions. These are typically the first questions to be asked per POD, and in the order too proceeding to the next subject to clear data on each question: <em>Are you on track? If not, how much are you delayed by? What stories are contributing to the delay? Which developers are delayed? What is the actual delay? (This will be at story level).</em></blockquote><p>Tracking sheet is a PIVOT created from the StoriesChart sheet, answering these exact queries.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/566/1*D0O8q9OGz4P6Cn2e80j7lw.png" /><figcaption><strong>Tracking Report Tab</strong></figcaption></figure><blockquote><strong>Completion View: </strong>One huge issue during Sprint is that the burn rate is good, but stories do not complete, and most of them get into the build in the second week of a two-week Sprint, leading to compromised DOD and delayed closures. Completion View essentially answers the following: <em>How are we doing on the completion of stories? Whilst effort burn-down presents one picture, how are we doing on stories completion themselves? Essentially, are we closing stories at the expected pace?</em></blockquote><p>Again, this is a PIVOT derived from the StoriesChart Data.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/504/1*gYCKIzTEmoSgqjL43JUKIA.png" /><figcaption><strong>Completion Report Tab</strong></figcaption></figure><blockquote>The third and final view is the consolidated <strong>POD Status</strong> view, something that is more of a top-down throughput view needed by both the engineers and scrums of scrums. After a few sprints, this gets combined with a quality view to present the quality + throughput picture. The throughput view is as such:</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/652/1*k6wlgROyM4NkNt3TAdABRQ.png" /><figcaption><strong>POD Status Tab</strong></figcaption></figure><blockquote>These three views — Tracking Report, Completion Report and POD Status are used to drive the daily scrum of scrums.</blockquote><p>In a latter section, we will show how we added a quality view to it to present a consolidated velocity + quality view.</p><p>This automation was a primary contributor to us being able to manage with 2 scrum masters across 6 PODs.</p><blockquote>Alleviation of PAIN-3 was pivotal in our endeavor to “Minimize oversight”.</blockquote><p>In the <a href="https://medium.com/engineered-publicis-sapient/digital-transformation-buildout-lessons-lean-management-and-monitoring-part-2-b1f57a258cd7">next story</a>, we will look at PAIN-4, and how we used automation (a very similar approach) to solve it.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f10ecb7c1fff" width="1" height="1" alt=""><hr><p><a href="https://medium.com/engineered-publicis-sapient/digital-transformation-buildout-lessons-lean-management-and-monitoring-part-1-f10ecb7c1fff">Digital Transformation Buildout Lessons — Lean Management and Monitoring Part 1</a> was originally published in <a href="https://medium.com/engineered-publicis-sapient">Engineered @ Publicis Sapient</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Digital Transformation Buildout Lessons — Team Setup and Organization]]></title>
            <link>https://medium.com/engineered-publicis-sapient/team-setup-and-organization-be79107dc496?source=rss-790e6339c1ff------2</link>
            <guid isPermaLink="false">https://medium.com/p/be79107dc496</guid>
            <category><![CDATA[cloud]]></category>
            <category><![CDATA[engineering]]></category>
            <category><![CDATA[scrum]]></category>
            <category><![CDATA[team]]></category>
            <category><![CDATA[technology]]></category>
            <dc:creator><![CDATA[Ravi Shankar]]></dc:creator>
            <pubDate>Mon, 13 Apr 2020 10:23:16 GMT</pubDate>
            <atom:updated>2020-11-04T17:58:12.230Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*EXGuUyPR0k49FpcnQhezPA.png" /></figure><h3>Digital Transformation Buildout Lessons</h3><h3>Team Setup and Organization</h3><p>Continuing from — <a href="https://medium.com/engineered-publicis-sapient/agility-and-engineering-lessons-from-a-digital-transformation-build-out-29f557698903">Agility and Engineering lessons from a DT buildout</a></p><p>Needless to say, getting the right talent on board and providing them with appropriate tools, environment and motivations is key to establishing a highly effective team.</p><p>At the highest level (abstracting out the details…), the view of the system that we were developing was:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1003/1*sduNjb5oxOIZF7vwNL48iw.png" /><figcaption>Architecture: Highest Level Abstraction</figcaption></figure><p>As listed in the figure above, the platform enables web and app-based commerce journeys through a combination of clouds, on-prem, monoliths, microservices and third-parties.</p><p>This is very similar to what you will see of transactional customer-facing applications today. Each of them has the following to varying degrees, depending on how they prioritize their business, and hence the technology roadmap:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/668/1*P08y1Nx9o2WCfF-ef7Sjqw.png" /></figure><p>The first decision we had to take was the axis on which we needed to form the teams/PODs. We chose a combination of product-based and platform/technology-based teams, based on three factors:</p><p>· <strong>Autonomy/decoupling: </strong>Gives each team the most autonomy and de-coupling.</p><p>· <strong>Accountability: </strong>Establishes a clear accountability of all work products at any given time.</p><p>· <strong>Cohesion: </strong>Brings maximum efficiency w.r.t inevitable touchpoints/ interfaces/interactions.</p><p>Following is the team structure we closed upon:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/971/1*bidF19nx_bCASVx0kYb-qQ.png" /><figcaption>Team Structure</figcaption></figure><p>We organized 4 PODs based on product, and two based on platform.</p><p>The ones based on platform were essentially those that were either cross-cutting in nature or where we had to expose existing platforms’ APIs. In both such cases, the unique technology expertise needed to run these teams was the primary axis for autonomy, accountability, efficiency and cohesion.</p><p>Needless to say, all the product-based PODs were self-contained (multi-vendor though) encompassing all the following roles:</p><p>· Product Owner</p><p>· Information Architects</p><p>· Visual Designers</p><p>· Engineering Lead</p><p>· Engineers:</p><p>o Experience Technology</p><p>o Quality Engineering</p><p>· Scrum Masters (shared across PODs)</p><p>So far, whatever I have mentioned in team setup and organization, you would rather consider logical, and things that you might have seen in parts at other places too. At this point, let me talk about one BIG pain-point in delivering engagements on this scale, and how we handled the same.</p><p><strong>PAIN 1:</strong> <strong>How do we manage demand “consistently” through the sprints ? </strong>When we talk about consistency, it has two elements to it: Throughput and Quality. This is the Achilles heel for many engagements leading to:</p><p>o Insufficient demand</p><p>o Missed requirements</p><p>o Creative-engineering divide w.r.t. functionality rendition</p><p>o Technology design inconsistencies</p><p><strong>Each of the above contributes directly to throughput-drop, quality and stability issues. This is more often than not the primary contributor to missed timelines and/or poor quality software.</strong></p><p><strong>Solution:</strong> The solution here is in how we ran our <strong>demand scrums</strong> and the unique attributes of the people we chose to run these for us.</p><p>Solution Detail:</p><p>Demand generation and demand grooming is key to successful sprint delivery (categorized by throughput-quality-stability as the shared measures).</p><p>Grooming essentially is in two stages:</p><p>· One is the <strong>business grooming</strong> where the BAs work with the product owners and creatives to clarify in sufficient detail the “why” and “what” at features’ and stories’ level.</p><p>· Second is the <strong>technical grooming</strong> where we match the “what” defined in the business grooming to the “how” w.r.t. technology solution, working through visual and technical designs, integrations, operations and NFRs.</p><p>We scheduled the grooming sprints as follows:</p><p>· <strong>Business grooming</strong>: 1–2 week sprints, starting 3–4 weeks before development sprint</p><p>· <strong>Technical grooming</strong>: 1–2 week sprints, starting 1–2 weeks before development sprint</p><p>Grooming, as we know, is an iterative process. The essential aim here is to ensure functional and NFR-related richness in features/stories before we start to develop it. We had a very strong definition for DOR (Definition of Ready). We will cover that when we go through “Lean Management and Monitoring” in a future blog.</p><p>The person/people who run the <strong>technical grooming</strong> work in a very dynamic environment, where they need to match requirements, creative renditions and technology feasibility; and then mature the features/stories well enough, so that when the developers pick them up for coding in the Sprint, there is minimal ambiguity around the ask and high-level technology design.</p><p>The diagram below outlines the variables that the technical grooming owner needs to work with:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/583/1*cyuA4I5vJpfFwHrLVE-KBg.png" /><figcaption>Technical Grooming Ecosystem</figcaption></figure><p>As shown in the figure above, the person/team leading demand scrum needs to be pretty much like a “<em>swiss knife</em>,” well-versed in dealing with the above areas. Additionally, this person/team also needs to be both broad with relevant depth in the technologies at play to be able to make the right decisions in a disparate technology landscape.</p><p><strong>This, to me, is the most important role in a large transformation engagement. It is the glue that ties product and engineering together.</strong></p><p>Two things that we cannot miss out w.r.t. to demand ownership:</p><p>· <strong>One big mistake people make is, asking the POD scrum masters/TPMs/ architects/engineering leads to double up in this role</strong>. That is clearly a recipe for failure, as the people involved in PODs/squads have the POD deliverables as their primary objective, and invariably they are occupied more than 100% in delivering the same. Giving them ownership of demand grooming will lead to all kinds of issues originating with poorly groomed/incomplete scope.</p><p>· Having said that, the <strong>POD engineering lead needs to be still plugged into the technical grooming</strong>, as he/she is the one who needs to lead the build-out, and must be bought into the design and effort.</p><p>In light of the above, we addressed both of these<strong>. We appointed two demand scrum leads across the product-based PODs:</strong></p><p>· The PODs serving the upper-funnel (home &amp; global components, search-plp-pdp) were heavy on experience, content management and SEO. The complexity clearly was in the creative rendition of the requirements. So we put an experienced architect who had prior experience with CMS-DAM and experience orchestration to liaise with POs/BAs, Creatives, CMS and the POD Engineering Leads.</p><p>· The other two product-based PODs (lower funnel and account management) were heavy on transactions, commerce APIs integrations with not much creative changes. Here we put in an architect with deep commerce and platform scalability expertise.</p><p>· The platform-based PODs had framework-related features/stories, and also used to feed from ask of the product-based PODs.</p><p><strong>These two demand scrum leads were paired with the POD Engineering Leads. We had planned for 1/3rd of the time of the POD Engineering Leads to be spent in technical grooming. This ensured both their participation and buy-in into the estimates and approach.</strong></p><p><strong>The challenge we faced with the demand scrum lead role</strong>:</p><p><strong>Archetype of Demand Scrum Lead: </strong>Our technical stack was heavy on React (SSR), React-Native (for app), GraphQL, Cloud and associated tech stack. The two demand scrum leads that we got did not have prior experience in any of these. They were more from the microservices side. The XT (Experience Technology) architects we had did not have the well-roundedness to liaise with POs/BAs, Creative, API teams, CMS, Operations (SRE) and other third parties. Net-net we had no one who was tailor-made for the role.</p><p>But as it is, technology is the easier bit to learn, which the two demand scrum leads picked up in a couple of sprints (coded some stories and fixed some defects too, that is the best way to learn).</p><p><strong>The demand scrum lead role, as I said earlier, proved to be the most crucial role on the team.</strong> They were the ones that mapped the promise of product to the “how” of Engineering, preventing:</p><p>§ Insufficient demand</p><p>§ Missed requirements</p><p>§ Creative-engineering divide w.r.t. functionality rendition</p><p>§ Technology design inconsistencies</p><p><strong>The key is not to shortchange this role, in terms of both the number and skill of the individuals.</strong></p><p><strong>PAIN 2:</strong> <strong>How should the POD leadership look like? How to minimize bureaucracy and wastage, while maximizing value and impact?</strong></p><p><strong>Solution: Archetype of POD Engineering Lead — </strong>Our initial expectation of the POD Engineering Lead was for them to own their PODs end-to-end. They were supposed to own all aspects of the POD w.r.t. Throughput-Quality-Stability-People-Plan. Very early in the journey we saw that our Engineering Leads were strong architects, but were not able to own delivery, especially to meet the throughput targets and people aspects. That is when we had to put in scrum masters to plug this gap.</p><p>But instead of adding one scrum master per POD, we mapped the scrum masters to the demand scrum leads and the platform-based PODs.</p><p>How did we do that? Instead of doing a one-to-one mapping of the scrum masters with the PODs, we mapped them to the demand scrum leads and the relevant platform PODs.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/831/1*MQMoIDf74C91Iqlid7XB1A.png" /><figcaption>Scrum master mapping with PODs</figcaption></figure><p>Two questions that you will have at this point:</p><p>1. How does framework map to homepage and search while commerce and other back-ends sit with cart and account? Is there a synergy here, or more of a retrofit?</p><p>The answer is: This setup is definitely not a retrofit; mapping of the platform-based PODs to the product-based ones is a natural synergy.</p><p>a. Cart-Checkout and Account correspond to most of the existing and new stateful APIs and as such is a logical fit with those PODs.</p><p>b. Framework is common, but given that we chose to start with homepage as the first development POD (we will cover the benefits of starting lean in the next blog), a lot of framework elements are naturally aligned to it, as they had to be developed for successful completion of homepage stories.</p><p>2- How were we able to run 6 PODs with just two scrum masters? This and other interesting aspects around planning, prioritization, automation and lean principles are covered in the next blog titled “<a href="https://medium.com/engineered-publicis-sapient/digital-transformation-buildout-lessons-lean-management-and-monitoring-part-1-f10ecb7c1fff">Lean Management and Monitoring.</a>”</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=be79107dc496" width="1" height="1" alt=""><hr><p><a href="https://medium.com/engineered-publicis-sapient/team-setup-and-organization-be79107dc496">Digital Transformation Buildout Lessons — Team Setup and Organization</a> was originally published in <a href="https://medium.com/engineered-publicis-sapient">Engineered @ Publicis Sapient</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Agility and Engineering lessons from a Digital Transformation Build-out]]></title>
            <link>https://medium.com/engineered-publicis-sapient/agility-and-engineering-lessons-from-a-digital-transformation-build-out-29f557698903?source=rss-790e6339c1ff------2</link>
            <guid isPermaLink="false">https://medium.com/p/29f557698903</guid>
            <category><![CDATA[agility]]></category>
            <category><![CDATA[devops]]></category>
            <category><![CDATA[technology]]></category>
            <category><![CDATA[engineering]]></category>
            <category><![CDATA[digital-transformation]]></category>
            <dc:creator><![CDATA[Ravi Shankar]]></dc:creator>
            <pubDate>Tue, 07 Apr 2020 10:12:48 GMT</pubDate>
            <atom:updated>2020-07-31T14:08:10.985Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/712/1*IVuJkPR6zj2xp4RYK93KJw.png" /><figcaption>Gymboree and The Childrens’ Place</figcaption></figure><h3>Agility and Engineering Lessons</h3><h3>— from a Digital Transformation Build-out</h3><p>About 8 months back, we at <strong>Publicis Sapient (PS)</strong> started on a novel journey with the digital team at <strong>The Children’s Place (TCP)</strong>, to relaunch the iconic brand Gymboree’s digital presence across US and Canada — <em>https://</em><a href="http://www.gymboree.com/"><em>www.gymboree.com</em></a> on web and mobile-native, alongside major architectural enhancements and a complete new experience for <em>https://</em><a href="http://www.thechildrensplace.com/"><em>www.thechildrensplace.com</em></a></p><p>Personally, I have been through many such transformation journeys in my 18 years at PS. Through the years gone by, methodologies have evolved and technologies have progressed, but two things have stayed consistent with such big transformational engagements.</p><p>· <strong>PRIDE: </strong>The sheer joy, self-worth and dignity of being associated with such an initiative.</p><p>· <strong>PAIN: </strong>The discomfort through missed timelines, competing priorities, delayed dependencies, and just dealing with the sheer magnitude of the beast.</p><p>Along with the business and engineering objectives for the team, there was one more that we took upon ourselves @ PS — <strong>To remove the PAIN from the journey, for all participants</strong>: Engineers, Designers, Architects, Product Managers, Leadership and key exec stakeholders. To identify and tackle each point of discomfort head-on.</p><p>In the series of blogs to follow, we will detail the key aspects where we altered/innovated/challenged status-quo to achieve the same. But before we go there, a few points on the outcomes-impact that we have been able to achieve w.r.t the JOY in the journey:</p><blockquote><em>· </em><strong><em>Engineering</em></strong></blockquote><p>o <strong>Delivery</strong>: Able to successfully deliver an engagement of about 3,500–4,000 story points on time and meeting our financial targets.</p><p>o <strong>Quality</strong>: Less than 10 defects across all priorities, no major non-functional issues and &lt; 3 seconds response timings for landing pages. Cutover to the new platform was a complete non-event/boring.</p><p>o <strong>Platform</strong>: Fully automated DevOps with minimal operations effort. All key business/engineering metrics were being tracked.</p><p>· <strong>Team and Leadership</strong></p><p>o <strong>People</strong>: Less than 5% attrition in the team, and high engagement survey scores.</p><p>o <strong>Clients/stakeholders</strong>: Only 1 minor escalation through the 8 months. Real-time information to all stakeholders, no status curation for execs.</p><p>o <strong>Lean Management</strong>: Able to execute with a team of 100+ with only 8% oversight with a clear view of value throughout the engineering teams.</p><p>However, there are places that we surely look back and say, hmm… missed that one.</p><p>· <strong>Continuous Delivery</strong>:</p><p>o We are able to do multiple deployments a day, but not on-demand.</p><p>o Still not following trunk-based development.</p><p>· <strong>Architecture</strong>:</p><p>o Still have mini-monoliths in the platform.</p><p>To the ones we have been able to hit, and for the ones that we are aiming for now as we enhance the platform, I’d say “The key to successful change is incremental improvements, and constantly questioning/updating of criteria and metrics driven by the why behind measuring those.”</p><p>The four aspects that we will touch upon in the blogs to follow are:</p><figure><img alt="Aspects to be discussed" src="https://cdn-images-1.medium.com/max/623/1*eJcEJPo9o1qGOahoS7B5gw.png" /><figcaption>Agility and Engineering drivers of DT buildouts</figcaption></figure><p>The next article in the series is now live @ — <a href="https://medium.com/engineered-publicis-sapient/team-setup-and-organization-be79107dc496">Team Setup and Organization</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=29f557698903" width="1" height="1" alt=""><hr><p><a href="https://medium.com/engineered-publicis-sapient/agility-and-engineering-lessons-from-a-digital-transformation-build-out-29f557698903">Agility and Engineering lessons from a Digital Transformation Build-out</a> was originally published in <a href="https://medium.com/engineered-publicis-sapient">Engineered @ Publicis Sapient</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Covid 19 — How Grocers are scaling eCommerce platforms?]]></title>
            <link>https://medium.com/engineered-publicis-sapient/covid-19-how-grocers-are-scaling-ecommerce-platforms-f54f66c87eab?source=rss-790e6339c1ff------2</link>
            <guid isPermaLink="false">https://medium.com/p/f54f66c87eab</guid>
            <category><![CDATA[product]]></category>
            <category><![CDATA[scalability]]></category>
            <category><![CDATA[engineering]]></category>
            <category><![CDATA[technology]]></category>
            <category><![CDATA[ecommerce]]></category>
            <dc:creator><![CDATA[Ravi Shankar]]></dc:creator>
            <pubDate>Tue, 31 Mar 2020 06:13:34 GMT</pubDate>
            <atom:updated>2020-03-31T06:13:34.008Z</atom:updated>
            <content:encoded><![CDATA[<h3>Covid 19 — <strong>How </strong>are <strong>Grocers scaling eCommerce platforms?</strong></h3><p>In these unprecedented times thrown at us by the outbreak of Covid -19, people across the globe are rushing to stock up grocery and essential supplies. As the uncertainty grows, with further lock-downs being put in place, there is a surge in traffic on grocers’ eCommerce platforms.</p><p>Retailers and establishments globally have been taken by surprise, and are grappling with this novel situation. With the goal to “serve undisrupted” as many customers as they can, grocers across the world are resorting to innovative ways to solve these problems.</p><p><em>The fundamental questions to answer from an eCommerce standpoint in the current situation are:</em></p><p><strong><em>Platform Scalability:</em></strong></p><ul><li>Will our platform support the traffic rush we are seeing? The traffic for most grocers has already crossed about 5x — 10x of any previous peak they might have seen.</li><li>If we go dark stores, what kind of scalability are we talking about? 30x, 40x or more?</li></ul><p><strong><em>New/updated Offerings:</em></strong> With the clear possibility that customer load might increase beyond what our platforms can handle, what novel/modified offerings do we bring in, to maximize customer value while keeping our eCom shutters up?</p><p><strong><em>Supply chain and operations viability:</em></strong> In the light of the pandemic growing at the pace it is, will we be able to keep our supply chain, DC and store operations uninterrupted?</p><p>Those that will ride this wave successfully are set to gain big-time, obviously at the cost of others that will fail to do so:</p><ul><li>Will acquire new customers, taken away from those that will lose theirs due to their inability to serve in these testing times.</li><li>Substantial increase in customer loyalty, given food supplies have become a primary concern in the light of the growing pandemic.</li></ul><p><strong><em>In this blog, we will specifically look at the eCommerce platforms’ scalability aspects, both from product and engineering aspects.</em></strong></p><p><strong>Given the potential extent in traffic surge, it will have to be a combination of non-invasive and disruptive solutions.</strong> Cross-disciplinary squads must be created to identify and implement scalability levers. Each such team must have appropriate representation from Product, Engineering and Operations (SRE).</p><p>The initiatives will get divided into two broad categories:</p><ul><li><em>Those that will have no product impact: </em>These efforts will be led by Engineering and SRE teams.</li><li><em>Those that will have a product impact: </em>These efforts will be a coordinated effort among Product, Engineering and SRE teams.</li></ul><h3><strong>Engineering-SRE led initiatives:</strong></h3><p>There is clearly no silver bullet to solve this, as each platform may have different considerations depending on where they are in their Cloud and microservices journeys. Both these technologies/concepts provide significant advantages when it comes to on-demand and horizontal platform scalability.</p><p>Any platform level change will fall somewhere in the continuum below:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/436/1*1r_ATK9rf_HpuL276f0wGw.png" /><figcaption>Impact Axes for Platform Changes</figcaption></figure><p>Those closer to the origin will be quick-wins, characterized by low disruption and quick time-to-market. They do not necessarily have to be low-impact though. Farther from the origin, the changes will take more time, and will have greater architectural and operational complexities.</p><blockquote><strong>Whilst quick wins will potentially be the first to hit production, the thinking on invasive changes must be done in parallel to the quick wins’ planning, as we definitely do not have the time to devise these solutions in a serial fashion.</strong></blockquote><p>From an opportunities’ identification standpoint, the following list of questions will come in handy:</p><h4>Questions</h4><ol><li><strong>What is the narrowest pipe in the platform?</strong> It is this part that holds the key to the first place that needs to be looked at for scalability. For example, in a transactional system, this typically is the Database. While the stateless layers can horizontally scale relatively easily, irrespective of cloud or traditional DC setup, it is the database/stateful layers (distributed caches) that come to be the bottleneck first. Some obvious strategies to be used for the DB are:</li></ol><ul><li><strong>Is the platform using a current version of the DB stack?</strong> Version upgrades typically incorporate enhancements to concurrency and locking efficiencies.</li><li><strong>Is there a possibility to direct the read-only traffic to separate instances,</strong> thereby reducing load on instances serving transactional traffic? For e.g., if you are using MySQL, ProxySQL provides this functionality.</li><li><strong>Does the DB provide a partitioning solution so it can be scaled horizontally? </strong>But be mindful that partitioning might come with its operational overheads that need to be looked at. And partitions need to be completely decoupled, else, it is recipe for disaster.</li><li><strong>What can we do in the code to reduce the DB load? </strong>Caching, Locking mechanisms, batching transactions, etc…</li></ul><p>2. Once we have unlocked the database/the first bottleneck, we need to look into the other layers too.<strong> How do we optimally scale our applications/ services/microservices?</strong> Services, whether implemented as microservices or not, are typically powered with auto-scaling technologies. But each new instance or batch of instances needs to be brought up quickly and warm to receive traffic. Two aspects to be mindful when thinking so services are:</p><ul><li>The startup needs to be fast, optimized to remove any optional steps.</li><li>We need to prevent cold starts in case of serverless. For servers-based ones, they must be primed with necessary cache.</li></ul><p><strong>3. Are we caching properly? </strong>Caching is a double-edged sword. If not done properly, it can lead to an operational nightmare and inconsistent system behavior. Some key aspects of caching are:</p><ul><li>Do not create a mix of TTL-based and Event-based layered caches.</li><li>Are you using your CDN enough? All generic content must be cached on the CDN. Even if it is not hitting a bottleneck right now, it is always advised to minimize origin traffic.</li><li>Are you using client-side caching enough? For example, if you are using Redux, you can pretty much use Redux Cache with appropriate TTL based on frequency on content changes.</li></ul><p><strong>4.</strong> <strong>Are downstream systems being scaled appropriately? </strong>As businesses are scaling their eCommerce platforms, the downstream systems also need to scale appropriately — order management systems, warehouse management systems and store operations. The same queries need to be answered for these systems too.</p><p>The above four are not necessarily linear steps, as we will invariably keep traversing between them; each optimization unravels new hotspots for prioritization and planning.</p><h3>Product-led initiatives:</h3><p>Given the unexpected traffic and load on the eCommerce platforms, grocers are coming up with product-offerings changes/optimizations to augment Engineering initiatives to scale the eCommerce platform:</p><p>1. Some have come up with static bundles/essentials’ kits; packages that contain weekly supply of essentials. Such pre-configured lists make checkout faster, and also reduce searching and traversing load.</p><p>2. Some grocers have temporarily discontinued promotions, opting for price markdowns.</p><p>3. Some others have limited real-time personalization and moved loyalty functions offline to reduce load on the customer-facing platform.</p><p>4. There are others that are throttling traffic, and based on configurations, have set up waiting time for users. CDNs like Akamai provide such features (they call it the waiting room) with minimal configuration.</p><p>5. Some retailers are implementing curb side pickups as well as partnering with Uber or Deliveroo to make deliveries.</p><p>6. Few N.American and European grocers have come with “Elder hours” to have the elderly people who are more susceptible to the virus, shop exclusively.</p><p>Above are some examples of product innovations grocers are taking. But these are not easy decisions. Any compromise in personalization, loyalty, pricing or assortment is a very tough decision to make. But these are times of emergency, and I believe, if this crisis deepens, and people are further confined to their homes, providing essentials uninterrupted will supersede any other priority. We are already seeing some of that in countries where government interventions have started both on the eCommerce side and with the supply chains.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f54f66c87eab" width="1" height="1" alt=""><hr><p><a href="https://medium.com/engineered-publicis-sapient/covid-19-how-grocers-are-scaling-ecommerce-platforms-f54f66c87eab">Covid 19 — How Grocers are scaling eCommerce platforms?</a> was originally published in <a href="https://medium.com/engineered-publicis-sapient">Engineered @ Publicis Sapient</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>