<?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 Navdeep Singh on Medium]]></title>
        <description><![CDATA[Stories by Navdeep Singh on Medium]]></description>
        <link>https://medium.com/@navdpsingh?source=rss-e69b651a733e------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*nlD8o2-Hw73Xb3qqGCszfA.jpeg</url>
            <title>Stories by Navdeep Singh on Medium</title>
            <link>https://medium.com/@navdpsingh?source=rss-e69b651a733e------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sat, 05 Dec 2026 08:47:14 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@navdpsingh/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[Strategy is kung fu]]></title>
            <link>https://navdpsingh.medium.com/strategy-is-kung-fu-15dc8b004a82?source=rss-e69b651a733e------2</link>
            <guid isPermaLink="false">https://medium.com/p/15dc8b004a82</guid>
            <category><![CDATA[leadership]]></category>
            <category><![CDATA[transformation]]></category>
            <category><![CDATA[technology-strategy]]></category>
            <category><![CDATA[strategy]]></category>
            <dc:creator><![CDATA[Navdeep Singh]]></dc:creator>
            <pubDate>Mon, 03 Apr 2023 19:40:47 GMT</pubDate>
            <atom:updated>2023-04-03T19:40:47.634Z</atom:updated>
            <content:encoded><![CDATA[<h3>Training principles for developing the skills required to lead transformations.</h3><p>Maintaining a transformative mindset with a constant laser-focused eye on strategy is downright tough. Always needing to express the bigger picture, staying steps ahead to pave a path to greener pastures, and leading teams to deliver tangible business value incrementally are no easy tasks. The skills needed to do this consistently, effectively, and successfully are not developed overnight. They take years of hard work, a thirst for learning, and the ability to adapt. Each transformation I have been a part of challenged me in different ways and taught me new skills. As I continued to refine these skills over the years, I began to see exactly what it took to maintain that strategic, transformative mindset — it took <em>kung fu</em>.</p><p>Those who know me at a personal level know that I am an avid martial arts practitioner, specifically traditional southern Chinese martial arts. I’ve spent countless hours training and developing my skills. Along the way, I have had many injuries including broken bones, jammed fingers, and bruised ribs. Without a doubt, I have had my fair share of painful lessons. Come to think of it, I have similar battle scars from some highly memorable technology transformations! Years into my training there was a moment when it all started to make sense. I came to the realization that without truly understanding the core concepts of Chinese martial arts, each technique was simply an empty movement without meaning. When I was able to connect the concepts to the training methods and, ultimately, how to apply them in a real situation, I achieved a much deeper understanding of the connection between strategy, training, and application. In other words, I developed <em>kung fu</em>.</p><p>Translated, <em>kung fu</em> means <em>great skill achieved through hard work</em>. Great skill, just as this definition states, does not come easy. Strategy and transformation are kung fu; they are skills achieved only through consistent, hard work. To develop them, you must first get a comprehensive understanding of the concepts and train them before putting them to practice.</p><p><strong>Training Concepts</strong></p><ul><li><strong><em>Learn the form, forget the form</em></strong>. Forms training in martial arts consists of practicing sequences of moves repeatedly until those movements flow like water and with meaning. Think of it as developing muscle and body memory as well as coordination. Once you achieve an advanced level, you need to forget the form and just let your body move out of instinct and reaction, using the skills that are now a part of you. This is no easy feat. Here is a personal example to illustrate this. As an architect, I was taught to use standard patterns to solve common business problems. In many ways, the phrase “use a standard pattern” is a mantra in the workplace. Eventually, those patterns become blind spots. They create too narrow of a view and do not allow the development of new and better solutions. When you are in a strategic role, do not assume your prior techniques, approaches, or solutions will work. If you are not continuously thinking out of the box, deeply studying the business, and driving innovation, your solutions will be dated, you will be left open, and a punch will get to you.</li><li><strong><em>Anticipate the next move</em></strong>. This is an extremely difficult skill to master because there is no magic crystal ball that will tell you what will come next. In martial arts, we train how to feel our opponent and how to anticipate their next move. We eventually learn how to use our techniques to move them where we want. Anticipating the next move means having a plan and adjusting based on whatever may come your way. Knowing when and how to change course, how to position for multiple scenarios, and how to come back on track are trained skills. Not having a plan and not having the skill to know when and how to adjust is like stopping a fight to put your opponent into a specific position so you can use a single technique.</li><li><strong><em>Understand the intent</em></strong>. This is where alignment and momentum start to come into the picture. This concept means always thinking about how techniques will be used in a real situation and practicing them that way. With full power, sharp movements, and body positioning, strategy gets translated to real technique through practice and different training methods. Putting that into context, Any strategy that doesn’t explain the “why” will quickly lose steam and collect dust. People must not only “see” the vision, they must “feel it” by seeing how they fit into the overall picture and how it will achieve the desired outcomes. Underestimating the importance of this and not taking the time to explain it to stakeholders pretty much guarantees that a strategy, no matter how good it may be, will not get off the ground.</li><li><strong><em>Application</em></strong>. Practicing without understanding intent results in an inability to put martial arts to practical use. Merging theory, intent, and practice, using techniques in a sparring match or self-defense scenarios is where the rubber meets the road. Application is putting strategy, alignment, and plan into motion through the delivery of solutions using skills that have been rigorously trained and developed. Being skilled at application requires deep and practical experience that was built by years of hands-on experience. Just as in real-life situations, the test of understanding application separates those who truly know from those who do not.</li><li><strong><em>Continuous movement</em></strong>. The last concept is continuous movement. No matter how good a strategy or plan may be, expect things to not go as planned. In fighting, continuous movement is the idea of not stopping at just one technique but continuing to move and strike. One punch may not land but the second or fourth will. Being able to adjust, reposition, and react will be what sets you apart and paves a path to success. Iterate solutions, flow feedback from stakeholders back into the approach, and make small adjustments that incrementally move towards that bigger picture you painted at the start of this.</li></ul><h3><strong>Final Thoughts</strong></h3><p>Remember, there are no secrets when it comes to developing and delivering a transformation and its strategy. Many years into my training I hit a wall. I felt as if I was hungry for advanced training and techniques to get to the next level. I went to my martial arts teacher and asked if he could teach me advanced self-defense. He looked at me and laughed. Then came the wisdom, “There are no secrets, only hard work. You need to find them on your own”. It took me some time but I got it and the light bulb went off. Skills can improve only through practice, hard work, and learning from mistakes. It is no more complicated than that.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=15dc8b004a82" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Using a Ring Architecture For In-Store Application Resiliency]]></title>
            <link>https://medium.com/walmartglobaltech/using-a-ring-architecture-for-in-store-application-resiliency-380aafc26c24?source=rss-e69b651a733e------2</link>
            <guid isPermaLink="false">https://medium.com/p/380aafc26c24</guid>
            <category><![CDATA[cloud-architecture]]></category>
            <category><![CDATA[solution-design]]></category>
            <category><![CDATA[retail-technology]]></category>
            <category><![CDATA[architecture-pattern]]></category>
            <category><![CDATA[resiliency]]></category>
            <dc:creator><![CDATA[Navdeep Singh]]></dc:creator>
            <pubDate>Tue, 22 Feb 2022 15:45:30 GMT</pubDate>
            <atom:updated>2022-02-24T03:25:17.147Z</atom:updated>
            <content:encoded><![CDATA[<h3><strong><em>Solving Real-World Resiliency and Scale Challenges for Retail Store System Technologies</em></strong></h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*uAFy6z21vYnrK9CblOmb2A.jpeg" /><figcaption>Source: <a href="https://pixabay.com/illustrations/tech-circle-technology-abstract-5142625/">https://pixabay.com/illustrations/tech-circle-technology-abstract-5142625/</a></figcaption></figure><h3>The Challenge</h3><p>Imagine being in a situation where poor-performing software, inconsistent behavior, or an outage results in revenue loss. Let’s go a step further, imagine where customer experience and brand reputation are directly impacted by these scenarios. Working in retail and customer-facing solutions means always seeing things from the eyes of the customers and the store associates who use the technologies we deliver. At Walmart, we deal with…well…Walmart scale, which means national, international, retail, e-commerce, and mobile. It’s a highly complex environment, requiring our solutions to work without a hitch and be backed by highly resilient and scalable infrastructure architectures that keep the lights always on. Even if they flicker, there must be a way to get back to full power to fuel sales and keep customer experiences running smoothly. Coming up with creative solutions for in-store systems enabling high resiliency and scale is no trivial task.</p><p>What I’m going to do is take a deep dive into the cloud application infrastructure architecture and patterns we recently implemented in digital retail at Walmart for the in-store solution selling wireless devices and plans. This platform is currently supporting online sales and with this recent implementation now supports retail. If you want to learn more about the application and services layer of this platform see my other <a href="https://medium.com/walmartglobaltech/microservices-with-orchestration-and-choreography-d09941b1b4e6">article.</a> There are multiple design and implementation decisions when using these patterns so I’m going to keep it at a slightly higher level to explain the essentials and why specific solution design choices were made.</p><p>If you haven’t read my prior article about the importance of being a <a href="https://navdpsingh.medium.com/enter-the-full-stack-architect-5de68694633d?sk=434a00e81f4140b3a478fef7d30f1c8c">Full Stack Architect</a> I would encourage you to do so. It discusses how modern architectures are more complex than ever and why being an architect who can design solutions across all layers is critical. The topic discussed here is a real example of why being a full-stack architect matters. When it comes to resiliency and scale, traditional approaches such as clustering, load balancing, and auto-scaling are table stakes. However, in this case, these were simply not enough to meet the needs of our retail use case. Developing a comprehensive solution required a deep understanding of the entire stack: network, infrastructure, application, and data. Before I get into the details let’s lay the groundwork and talk about the various aspects of the problem statement:</p><ul><li>Wireless devices are sold through multiple channels including in Walmart stores around the country and through Walmart’s e-commerce website. Furthermore, stores can support different carriers.</li><li>Transactions per carrier and sales revenue differ based on market trends, shopping patterns, and other factors. Although shopping spikes will occur during holidays, promotional events, and the release of new devices, we need to ensure consistent performance and availability throughout the year. Planning for the unexpected is very important.</li><li>The user interface for store associates is a new tablet-based application. There is a complex network of infrastructure between these tablets which run in the store and the backing microservices in the cloud. This includes edge gateways, in-store wireless networks, global and internal load balancers, and robust security infrastructure.</li><li>As you would expect, outages mean loss of sales, negative customer experience, and a high potential for brand impact. Although there is some tolerance for outages, we wanted the solution to not get anywhere close to that. After all, this is a platform for the future, not one for yesterday.</li></ul><p><strong>Architecture Pattern</strong></p><p>Before we developed the architecture, key objectives which we had to meet were established and were used to drive the solution design and its implementation. These were very deliberate and crafted in alignment with what the business wanted to achieve and based on what the entire platform needed to deliver.</p><ol><li><strong>Limit blast radius. </strong>The solution needed to limit the blast radius for any outage or disruption. In other words, any outage needed to be contained so that the number of stores impacted was minimal and did not, at worst, cross geographic regional boundaries.</li><li><strong>Enable future scalability. </strong>We needed to meet existing needs for scalability and for what was yet to come. Although this platform was initially for wireless, there are plans to use it for other services. The architecture needed to be extensible and expand to accommodate future use cases as they emerged.</li><li><strong>Preserve customer experience. </strong>User interface performance and customer experience could not be sacrificed in normal and exception scenarios. All the backing microservices are in the cloud so the distance between communicating services mattered. The architecture solution needed to be engineered to consider the physical location of stores and the distance between communicating services.</li><li><strong>Keep data consistent and easily accessible. </strong>Wireless order data and other data used for transactional processing and analytics must be consistent at all costs. What that means is no matter which store was processing a transaction, pricing information, device details, store inventory, and order data needed to be consistent so that all orders were processed the same and without any discrepancies.</li></ol><p>The approach we ultimately landed on was to use a <em>ring infrastructure architecture pattern</em>. So what exactly is this and how does it work? For starters, as the word <em>ring </em>implies, this pattern enables the creation of logical groupings of our infrastructure architecture and the platform services. It is made up of several key pieces:</p><ul><li><strong>Outer rings</strong> — receive customer transactions from stores in order to be processed. They are the closest to the stores and the client applications.</li><li><strong>Inner rings</strong> — contain the application and data services of the technology platform responsible for processing customer transactions. They also handle failover events, ensuring our software continues to run if any single ring becomes unstable or unavailable.</li><li><strong>Intelligent routing</strong> — routes store traffic to the closest outer ring. For our use case, “closest” means the ring that is the fewest number of miles away from any given Walmart store.</li></ul><p>Using a ring pattern allowed us to achieve several things. First, there could be as many outer and inner rings as needed, enabling our platform to have extremely high resiliency and scalability. Second, using intelligent routing we were able to guarantee store transactions get processed by the closest cloud region. This was very important as it avoided scenarios where a single customer transaction would be processed by multiple cloud regions. If this were to happen, performance would be poor and the customer experience would have been adversely impacted.</p><p><strong>Solution Design</strong></p><p>Now that we’ve reviewed the core aspects of this pattern let’s take a look at the solution design and discuss how it works:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*5h8fCcmQZVRseVAnfykMcg.png" /><figcaption>Ring Architecture Solution Design</figcaption></figure><p>Working from the top, transactions from client applications in the stores are processed by an intelligent router that determines the destination outer ring. In our implementation, each outer ring is a cloud region so this routing directs store traffic to where processing takes place. Store traffic is sharded between regions using a unique identifier that is assigned to each Walmart store and included with each transactional request. The job of the custom routing algorithm in the router is to interrogate these unique identifiers and send traffic to the appropriate region.</p><p>Each cloud region has a single primary inner ring and dedicated load balancer. The load balancer sends 100% of its traffic through the primary route during normal processing. The secondary route is used only when the primary route is not available, meaning there is an outage. All of this is configuration-driven and does not require any code to be released. Once traffic is sent to an inner ring, all subsequent service-to-service integrations stay within that ring using our service mesh frameworks.</p><p>Transactional data is stored locally within each ring to keep transactional processing optimized for performance. These transactional stores are designed in such a way as to guarantee zero data loss during ring or region failures. We configured this using cloud-native solutions to avoid unnecessary complexity. The common layer shown at the bottom is where all transactional data gets integrated for analytics and where we store reference data which is replicated to each inner ring in a data cache. This design enabled us to meet the objectives for preserving the customer experience, ensuring zero data loss, and enabling data consistency during transactional processing.</p><p>There are numerous implications when using this pattern that will need to show up in the detailed design and implementation. It’s important to get ahead of these to complete the architecture at a deep enough level to enable the engineering work.</p><ul><li>Services that are a part of the core transaction must be ring-aware, meaning they all reside in the same inner ring. Keep in mind that making each service ring-aware could change the application architecture for those impacted services.</li><li>Services which are not a part of the core transaction can be ring-aware but don’t have to be/can’t be. These could include dependent services from outside domains, services that are integrated using asynchronous patterns, message/streaming services, or legacy business services that follow a different deployment model.</li><li>Each primary inner ring will have a full capacity disaster recovery (DR) ring which <em>must be in a different outer ring</em>. This enables operating at full scale in the event an outer ring is not accessible (e.g. there is a region outage) or when an inner ring has become unstable and a controlled failover is in place.</li><li>There will be limitations that do not allow all services to be ring-aware. A common layer, as shown in the solution design, will need to be a part of the architecture implementation. In our case, the common layer contains reference data and the data warehouse. Reference data is authored and managed outside the ring infrastructure and cached within each inner ring. Caches in each inner ring co-locate this data with the transactional services that use them. All reporting and analytics also sit outside the ring, providing a single, integrated source for operational analytics.</li><li>Looking for transactional data requires knowing in which inner ring to search. In our case we had a way to do this by identifying the unique store number upfront and knew our worst case would be to search each inner ring. Keep this use case in mind and make sure it’s addressed. Searching each ring may work fine where there are only a few rings but this will not scale well as more are added.</li><li>It is unlikely that conventional load balancing and routing algorithms will match the strategy needed for traffic sharding to a given outer ring. As detailed above, we used store location and implemented a custom routing script. This was decided after analyzing several data points including sales volumes by store, revenue per store, and latencies between cloud regions. Determine what data points suit your need, and plan this carefully as it will directly drive how many outer and inner rings are needed.</li><li>Disaster recovery processes will get more complicated. Maximize automation and pay particular attention to how transactional data needs to be treated to recover from an outage without any loss.</li><li>Don’t overlook the importance of CI/CD automation and deployment parity. When implementing this pattern, build pipelines will need to always deploy to all active and disaster recovery inner rings. You may also need to be able to deploy store applications to a ring or a set of stores in a ring. In our architecture, store to ring mappings are implemented as technical reference data. This data is managed in a central location so that we can avoid any hardcoding.</li><li>Operational logging, monitoring, and transaction tracing will get harder. Have a unique identifier for each outer and inner ring and add them to all application logs. This will enable tracing and mapping transactions back to the rings from where they were processed. Follow specifications and standards such as OpenTelemetry to get deep telemetry data to help analyze performance and behavior.</li></ul><p><strong>Wrap-Up</strong></p><p>Architecting for resiliency and scale in retail systems requires innovative thinking and using infrastructure solutions that supplement approaches taken in the application tier. A ring infrastructure architecture pattern is one such example and is enabling us to meet the high demands of our business. Using it does add complexity so choose when and where to use this pattern wisely and understand the implications through the entire solution stack. Although a one per cloud region was illustrated here, there can be as many inner and outer rings as needed for the use case at hand. Start simple, be practical, and evolve based on your unique needs.</p><h4>Acknowledgements</h4><p>Key contributors to this architecture and its implementation: <a href="https://medium.com/@sskrishna.kumar">Krishna Kumar (KK)</a>, <a href="https://amit894.medium.com/">Amit Raj</a>, <a href="https://medium.com/@zahiritpro">Zahir Rafi</a>, and <a href="https://www.linkedin.com/in/siva-gollapudi-66621a6/">Siva Gollapudi</a>.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=380aafc26c24" width="1" height="1" alt=""><hr><p><a href="https://medium.com/walmartglobaltech/using-a-ring-architecture-for-in-store-application-resiliency-380aafc26c24">Using a Ring Architecture For In-Store Application Resiliency</a> was originally published in <a href="https://medium.com/walmartglobaltech">Walmart Global Tech Blog</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[The importance of customer support in a digital world]]></title>
            <link>https://navdpsingh.medium.com/the-importance-of-customer-support-in-a-digital-world-d9fb25fb4cc3?source=rss-e69b651a733e------2</link>
            <guid isPermaLink="false">https://medium.com/p/d9fb25fb4cc3</guid>
            <category><![CDATA[customer-support]]></category>
            <category><![CDATA[customer-stickiness]]></category>
            <category><![CDATA[digital-transformation]]></category>
            <category><![CDATA[customer-experience]]></category>
            <dc:creator><![CDATA[Navdeep Singh]]></dc:creator>
            <pubDate>Mon, 13 Dec 2021 12:08:53 GMT</pubDate>
            <atom:updated>2021-12-13T12:08:53.818Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*RLgJ01qhx2H2cjXOeaDXzw.jpeg" /><figcaption>Photo by <a href="https://www.pexels.com/@tima-miroshnichenko?utm_content=attributionCopyText&amp;utm_medium=referral&amp;utm_source=pexels">Tima Miroshnichenko</a> from <a href="https://www.pexels.com/photo/close-up-shot-of-text-on-a-brown-surface-5912738/?utm_content=attributionCopyText&amp;utm_medium=referral&amp;utm_source=pexels">Pexels</a></figcaption></figure><p>It was Friday, work was done, and I was out getting a few ingredients for a pizza dinner which I promised to make for my daughter. When it was time to pay, as I normally do, I opened up GPay (Google Pay) and held it up to the reader and…nothing. As I patiently waited a few seconds for the reader to connect to my phone a message popped up telling me I had no card setup for contactless payments. Ugh, really? I had multiple cards set up prior to this and have been regularly using them for years. Oh well, I grabbed my physical card, paid, and off I went.</p><p>Later that night after enjoying that pizza dinner with my daughter I went through the normal steps of setting up my cards again for contactless payments and to my surprise I hit a wall. Nothing I tried worked — removing/re-adding cards, clearing caches, reinstalling GPay, and the error message which kept popping up said I needed to contact my bank. Following these instructions, I called Citi and waited for about forty minutes until an agent answered. This very polite agent checked my account, said everything was good to go, and that I needed to talk to tech support. Back on hold I go and about twenty minutes into waiting the phone gets cut off. After a few more tries (the phone got cut off multiple times as I waited in the virtual line) I finally got a technical support person on the phone who then proceeded to walk through the same script as the first person as well as the steps I had already tried on my own. I get it, there’s a process to follow however from what I can see the level one and level two support groups are both following the same steps and level two was unable to see what level one had previously attempted. We spent another forty-five minutes on the phone trying various things but nothing worked. The conclusion was that I needed to call Google.</p><p>Getting someone from Google on the phone, which I did the next day, was easier and took less time than Citi. We started with that same pesky script, which means I’ve tried the same steps at least three times now. This time I was able to get error codes in the GPay app, surely the Google rep would be able to look up what that code meant and identify the root cause! No such luck, the agent did not have a way to look up error codes displayed to their customers within the app and needed to escalate to the GPay technical support team. Back on hold I go and about ten minutes later I get connected to an agent and we’re off to the races. We tried to re-enroll cards, deleted caches, deleted cards from GPay, and tried to uninstall the application. There’s a pattern here — again we tried all the things I had done and the conclusion was another level of escalation was needed so someone could research the issue. In the meanwhile I was told that it’s likely a problem with the card issuers and I should try calling them.</p><p>Sunday rolls around and I figured I’d try my luck with Chase since I already called Citi. After twenty minutes of waiting I was on the phone with an agent and out of nowhere the same script showed up! We spent nearly an hour going through the same steps and getting the same results. This time I was a bit smarter and tried to help the agent debug by asking to see if the tokenization of my card could be cleared on the account, any API keys stored be deleted, and asked to remove my device from the account to force it to re-register. Everything was a no-go, this call ended with yet another escalation to a different support group who would need at least two days to get back to me. At the same time, I got an email from Google indicating the problem had been resolved and to try again. Success! Not so fast, unfortunately that was not the case and not a single card worked.</p><p>So let me summarize this experience:</p><ul><li>I spent nearly six hours on the phone. While most of this time was with human agents there were very long wait times and several cases where the phone got cut off, likely due to a technical glitch while routing calls.</li><li>Multiple teams in the same organization had the exact same troubleshooting script and could not see what the prior team had done.</li><li>Support agents didn’t have the tools they needed at their disposal and needed to escalate to get the next level of detail for troubleshooting, even when I had error codes readily available.</li><li>When multiple entities are integrating with one another to provide services it is often the end user who gets caught in the middle between them when things do not work as they should.</li></ul><p>Being deep in IT, working on digital transformations, and always looking at ways to improve customer experience, I quickly sized up some takeaways:</p><ul><li>Offering new digital services using deep integrations between multiple entities can absolutely bring tons of value to customers but when things don’t work as expected they are very difficult to troubleshoot. Under the covers there’s a complex web of API’s being used and need to be very carefully planned in terms of exception cases and troubleshooting. There needs to be explicit error codes and messages so that root causes can be quickly determined when a customer calls in with a problem. Customers are at the mercy of these entities to know what to do when things don’t work.</li><li>Transform and re-imagine support processes to decrease time to resolution and avoid duplication. Customers have a variety of resources at their disposal so expect that by the time they call in they have already tried all of the steps that can be found in your support articles and by searching the web. There’s no need to repeat those steps and one of the first things a support agent should do is ask what was already tried and figure out from where they need to start. Static support steps must become fluid and dynamic on a case-by-case basis.</li><li>Front line support agents must have all of the tools and knowledge they need to solve problems. Escalations to multiple different groups who do not have access to the problem history results in a poor customer experience and severely increases time to resolution. Level one support staff need to have self-service tools which they can use without having to escalate.</li><li>Call center technologies must work without a glitch. Dropped calls are a frustrating experience for customers and add more time to the resolution process.</li></ul><p>All of the agents with whom I spoke were professional, courteous, and tried to do their best with the tools at their fingertips. Kudos to them for their efforts.</p><p>It is now Monday morning and I got another email from Google telling me the problem is fixed. Unfortunately it is not however I spent a mere 10 minutes last night setting up my cards in Samsung Pay so I am back in action. And there’s the final takeaway — customers have options. If one experience falls short, there’s another tool out there to be used. Customer stickiness is achieved when solutions work as they should and when they don’t, resolution is fast, very fast.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d9fb25fb4cc3" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Is Enterprise Architecture (EA) Dead in Digital?]]></title>
            <link>https://navdpsingh.medium.com/is-enterprise-architecture-ea-dead-in-digital-50613183e549?source=rss-e69b651a733e------2</link>
            <guid isPermaLink="false">https://medium.com/p/50613183e549</guid>
            <category><![CDATA[digital-transformation]]></category>
            <category><![CDATA[enterprise-architecture]]></category>
            <dc:creator><![CDATA[Navdeep Singh]]></dc:creator>
            <pubDate>Sun, 10 Oct 2021 20:40:02 GMT</pubDate>
            <atom:updated>2021-10-10T20:40:02.713Z</atom:updated>
            <content:encoded><![CDATA[<p>Any EA group in an organization starting or going through digital transformation will face this question. I’ve been there, have been challenged directly, and have asked myself this question when leading EA through digital. Having gone through a big wave of the journey I can say without a doubt, <em>EA is not dead in digital</em> and plays a vital role in the transformation. Architecture leaders and practitioners must modernize EA and disrupt themselves, making the necessary changes to operate as an agile, lean, and business outcome focused organization where speed to market, innovation, and business value drive day-to-day activities.</p><h3>Lessons Learned</h3><p>I took away many lessons along my journey thus far. Below are some which stood out and were key catalysts for changing how EA was organized and how it operated. Everyone’s journey will be different and I hope these, at a minimum, help to fuel your transformation as you reconfigure, retool, and launch EA into the digital atmosphere.</p><p><strong>Lengthy target state development and roadmapping efforts don’t work.</strong> A key demand placed on EA is to be agile. Target states, blueprints, and roadmaps matter however they must be lightweight, directional, fluid, and formed quickly to establish and maintain a common vision and approach which enables execution. The focus on speed to market, innovation, and competitive edge force architectures to be highly dynamic and emergent, shifting traditional top-down EA to bottom-up where organic solutions become deliberate over time, refactoring where needed.</p><p><strong>Be lean, agile, and focus on business outcomes.</strong> The days of unnecessary paperwork, heavy governance checkpoints, and enforcement through checklists are gone. EA must enable speed to market and high business value through deepened engagement models being active side-by-side contributors with product owners and delivery teams leading development of resilient and scalable solutions. Use architecture guidelines as a way to inform and enable delivery teams, achieving consistency over time as opposed to force fitting old solutions for new business challenges. Governance activities should be lean, business value/ROI focused, and merged in with agile delivery methods.</p><p><strong>Take risks, fail fast, pivot.</strong> Driving innovation, adopting new technologies, and managing test-and-learn efforts require courage to take risks and, more importantly, navigating complexity when things don’t go as planned. New technologies and frameworks will not always work as expected, business demands will change, and customer feedback may require directional shifts. Fail fast and often so strategies and solutions which do not work or no longer meet what’s needed can be quickly revised or replaced.</p><p><strong>Conventional EA frameworks must be extended into architecture solutioning, connecting all architecture domains.</strong> Architecture activities must deepen past strategic viewpoints into execution in order to connect strategy, execution and governance and have them work in harmony. Leverage deep solutioning to sharpen the focus on security, scalability, and resiliency while developing product designs. Drive out reusable services and frameworks addressing cross-cutting product concerns, speeding time to market and lowering development costs for digital capabilities.</p><h3>Final Thoughts</h3><p>EA and its practitioners must be thought leaders, change agents, and innovators in the digital transformation journey. Modernizing the architecture of an organization and going digital is hard work and needs a modern, agile EA practice to lead the way. Shed conventional practices which don’t stand up to today’s demands and be the leaders and innovative thinkers comfortable with taking risks while staying laser-focused on business value. Embrace failures and take the lessons they bring to grow and think in new directions.</p><p><em>Originally published at </em><a href="https://www.linkedin.com/pulse/enterprise-architecture-ea-dead-digital-navdeep-singh/"><em>https://www.linkedin.com</em></a><em>.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=50613183e549" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Why Being A Hands-On EA Leader Matters]]></title>
            <link>https://navdpsingh.medium.com/why-being-a-hands-on-ea-leader-matters-3633dde8eaa2?source=rss-e69b651a733e------2</link>
            <guid isPermaLink="false">https://medium.com/p/3633dde8eaa2</guid>
            <category><![CDATA[leadership]]></category>
            <category><![CDATA[enterprise-architecture]]></category>
            <category><![CDATA[software-engineering]]></category>
            <dc:creator><![CDATA[Navdeep Singh]]></dc:creator>
            <pubDate>Sun, 10 Oct 2021 20:38:05 GMT</pubDate>
            <atom:updated>2021-10-10T20:38:05.202Z</atom:updated>
            <content:encoded><![CDATA[<p>Enterprise Architect (EA) leaders often get a bad reputation and are labeled as being “ivory tower”. This usually results from being out of date with technology and modern practices, not being able to get deep into solutioning &amp; engineering, pushing heavy governance and policing, and being too theoretical with little to no practicality. Let’s face it, if you were a business leader or in a delivery team experiencing this from your EA leads you’d say the same.</p><p>Highly effective EA leaders are able to influence, lead others, solve complex problems, and communicate at all levels in an organization. Today’s business demands require EA leaders to be able to define strategy, establish and drive implementation of modern architecture patterns, and bring in new technologies to keep organizations at the leading edge and highly competitive. They are at the forefront of transformational initiatives providing thought-leadership and working alongside agile delivery teams from start to finish. A mix of highly developed soft skills, broad technology skills, complex problem-solving, and the <strong><em>ability to go deep</em></strong> are core competencies needed by today’s EA leaders to meet these demands. Let’s talk about what the “ability to go deep” means, why it’s important, and ways to stay hands-on as you advance into senior architecture roles and leadership.</p><h3>Don’t Talk Fluff, Do Stuff</h3><p>EA leaders who are able to go deep can roll up their sleeves and get into the software layers at design and code levels. It means they understand the details of how technologies work, how to implement modern patterns, and can be hands-on leading complex problem-solving and solution design while factoring in scalability, resiliency, and security. They are experienced with modern software engineering principles, patterns, and practices including agile, microservices, CI/CD, DevSecOps, and understand how the guidelines and standards they define impact the way software is designed, implemented, and managed. These skills don’t come overnight, they are progressively built over time through experience and must be maintained to keep up with the ever-changing technology landscape so EA leaders can engage at all layers to define and connect strategy to execution.</p><h3>Be An Engineer First, Architect Second</h3><p>Starting my career in software development, I’m fortunate to have advanced into EA taking on various roles. My ability and natural inclination to go deep stemmed from my software development and engineering background and as I grew into architecture leadership positions I immediately saw the necessity of these experiences in my daily activities. Regardless of the role, the need to have these skills never diminished. In fact they became more important as my scope increased, the business problems grew more complex, and I found myself being a part of digital transformation and modernization initiatives.</p><p>Modern EA leaders must recognize the importance of engineering skills and their connections with on-the-ground architecture activities. The solutions they define need to be comprehensive, defining both the “what” and the “how”. They need to be pragmatic and practical, going beyond theory to a hands-on level. In other words, it requires <strong><em>being an engineer first, architect second</em></strong>. Architecture skills are built from hands-on engineering experience and together form a combination essential for today’s EA leaders. Having an engineering mindset will drastically change how you approach architecture, enabling you to identify and manage business risk and technical debt, help as you engage with and lead others, and power your ability to drive strategic architecture down to software design and implementation.</p><h3>Keeping the Engineering Skill</h3><p>The reality is that keeping the engineering skill and mindset can get more difficult as you move into higher level roles and take on more responsibility. As with any other skill, keeping these current and at a deep level requires continuous use. There are many opportunities around you offering the ability to stay deep and, depending on your environment, some may work better than others. Below are several which I’ve adopted over time that have become regular activities in my professional life as an architect:</p><ul><li><strong>Be a life learner</strong>, learning new frameworks, methods, patterns, and solution approaches. There are no shortages of online classes, books/tutorials, articles, and certifications you can take. Be sure to pair any conceptual topics with concrete examples showing design and implementation level details. Code at home, over lunch (or after hours with a work group), and set aside time during your work week for training and development. If you’re the type who needs structure, keep a personal development plan with milestones to help track your progress. Keep what you learn primed and ready to use at a moments notice when the right business problems arise.</li><li><strong>Participate in hackathons</strong> to put your coding skills to work in a casual atmosphere and exercise your creative thinking/problem solving skills. You’ll meet many bright people with whom you can exchange ideas and talk shop. Hackathons can be in the workplace or externally sponsored. Both are perfectly suitable as long as you get to exercise your mind and put your hands on a keyboard.</li><li><strong>Teach</strong> through a formal university, online, or informally via a brown bag/lunch &amp; learn/internal training session. If you do something within your organization create regular occurring sessions and foster collaboration by inviting others to also teach. Keep topics detailed, hands-on, and relevant to your organization.</li><li><strong>Wear multiple hats at work and stay close to delivery</strong>, whether through a formal rotation or informally by helping with implementation. Take on a role with a product team where you lead solutioning and stay through implementation. This is a favorite of mine because there’s never a shortage of teams needing help and opportunities where you can step in to fill a gap. Lead POC’s, leveraging them as a way to create reference implementations for new architecture patterns which you can use elsewhere.</li><li><strong>Get involved with innovation efforts</strong>, where you get to be hands-on evaluating new and emerging technologies, frameworks, and tools while developing scalable solution designs to address tactical business needs. You’ll be able to find and attack very complex business problems which require out-of-the-box thinking and creative solutions.</li></ul><h3>Wrap Up</h3><p>An engineer has a deep understanding of how to use technology and design software to meet business needs; an architect can design highly scalable and resilient solutions, solves complex problems, defines technology strategy through execution, and influences leadership. Being an architect requires a foundation of engineering skills and mindset. Modern EA leaders must establish a norm where these skills are maintained and put to use regularly as a part of their architecture responsibilities.</p><p><em>Engineer your architecture, don’t just draw it; all architecture is engineering but not all engineering is architecture. Lastly, remember that architecture is not a noun, it is a verb.</em></p><p><em>Originally published at </em><a href="https://www.linkedin.com/pulse/why-being-hands-on-ea-leader-matters-navdeep-singh/"><em>https://www.linkedin.com</em></a><em>.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=3633dde8eaa2" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Modern Practices for Documenting Architectures]]></title>
            <link>https://navdpsingh.medium.com/modern-practices-for-documenting-architectures-dd070e96ba98?source=rss-e69b651a733e------2</link>
            <guid isPermaLink="false">https://medium.com/p/dd070e96ba98</guid>
            <category><![CDATA[software-architecture]]></category>
            <category><![CDATA[agile-methodology]]></category>
            <category><![CDATA[software-engineering]]></category>
            <category><![CDATA[enterprise-architecture]]></category>
            <dc:creator><![CDATA[Navdeep Singh]]></dc:creator>
            <pubDate>Sun, 10 Oct 2021 20:32:59 GMT</pubDate>
            <atom:updated>2021-10-10T20:32:59.296Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/852/0*Zop7oOWiausbXv-h" /></figure><p>Let’s talk about everyone’s favorite topic — architecture documentation! Ok, I see some eyes rolling, hear some deep sighs, and some may have already turned their backs to walk in the opposite direction. You’re probably having visions of overbearing governance requiring mounds of paperwork but you may also be shivering as you think back to times you’ve had to manage, extend, support, or maintain brittle and undocumented systems. On one hand you’re right, however, on the other architecture documentation matters and in many ways more than it ever has.</p><p>Throughout my career in Enterprise Architecture (EA) one of the most passionate debates (next to governance of course) is of architecture documentation. Traditionally run EA groups follow conventional methodologies focusing on heavy view-based architecture documentation and blueprints that take months to create. I’ve certainly done it in the past and while it did provide value at that time when waterfall methods were predominant, the approach today with agile must be very different. In my article entitled <a href="https://www.linkedin.com/pulse/enterprise-architecture-ea-dead-digital-navdeep-singh/?lipi=urn%3Ali%3Apage%3Ad_flagship3_profile_view_base_post_details%3BHxNW%2FdwzQFOyJ1pmQ%2Fn5oQ%3D%3D"><em>Is Enterprise Architecture (EA) Dead in Digital</em></a> I touched on why lengthy architecture blueprinting, target state development, and heavy documentation no longer work. Let’s take that a step further — these traditional practices are dated, counter to agile principles and, in reality, trying to apply documentation-heavy approaches provide little to no value when business needs require optimizing time to market and nimbleness to change. The challenge enterprise architects face is how to architect systems and document them in a lean way that supports agile delivery methods while ensuring it is not an afterthought but a part of the process from start to finish. <em>Just as we can emerge an architecture, we can emerge architecture documentation.</em></p><h3>Enter Agile Delivery and Lean Methods</h3><p>Agile and lean methods do not advocate foregoing documentation; they emphasize focusing on and documenting <em>what matters</em>. Without the right set of documentation decisions go unmanaged, business risks are hidden, and designs get complex, creating brittle systems over time which are unable to be scaled, supported, or extended. We’ve all been in the position of having to make sure artifacts were in place when building new systems rapidly and have dealt with undocumented ones that made modernizing or extending them very painful. The documentation that matters will vary from organization to organization and in practice gets created at different points in time. Enterprise architects must not lose sight of its importance and must narrow the focus on those artifacts bringing high value to business and technology teams enabling both tactical and strategic needs.</p><h3>Best Practices</h3><p>Rather than following a strict order for when and how to document architecture we need to be flexible, part from traditional ways, and lead the way to an approach that works for each scenario whether that means at an program, project, or product level.</p><ul><li><strong><em>Document what matters and when it matters.</em></strong> Not everything needs to be documented at the beginning. Architectures and corresponding designs can be fluid especially when testing new capabilities, when in pilot mode, or building a new system. Some can be transient while others need to be permanent so start with working code, the minimal set required, and extend over time.</li><li><strong><em>Capture all architecture decisions from the very start.</em></strong> Organic architecture is not architecture. Architecture is deliberate, emergent, and intentional, avoiding situations where we question why a system and its components are designed a certain way and maintaining clarity on what forces resulted in a specific approach. Documenting decisions will allow you to look back and verify the solutions continue to meet business needs and helps when extending or refactoring them.</li><li><strong><em>Track architecture debt</em></strong> to keep a current, well managed record of what needs to be addressed and to facilitate product level planning and backlog grooming. Undocumented debt must be avoided at all costs.</li><li><strong><em>Document architecture as a part of the process</em></strong> and not as a catch-up activity or when there’s time because there’s never time. Define “design complete” as completing an architecture, its design, and the required artifacts. Just as untested code introduces business risk so does an undocumented architecture.</li><li><strong><em>Maximize automation of artifacts.</em></strong> While some artifacts require manual work, it is entirely possible to automate the creation of others including context and interface diagrams, process flows, service &amp; API catalogs, and infrastructure diagrams. Leveraging self-documenting techniques and automation keeps artifacts current based on what was built and what’s running.</li></ul><p>A well-documented architecture can be the difference between a project that succeeds and one which fails. It pays large dividends and ensures a system is well-understood, designed in a thoughtful way, and can be communicated to others. Be practical in what you document, make it a part of the process, and keep being deliberate in what you architect, design, and solution to meet your business needs.</p><p><em>Originally published at </em><a href="https://www.linkedin.com/pulse/modern-practices-documenting-architectures-navdeep-singh/"><em>https://www.linkedin.com</em></a><em>.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=dd070e96ba98" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Ready, Set, Microservices!]]></title>
            <link>https://navdpsingh.medium.com/ready-set-microservices-a8a8a5a74f6f?source=rss-e69b651a733e------2</link>
            <guid isPermaLink="false">https://medium.com/p/a8a8a5a74f6f</guid>
            <category><![CDATA[microservices]]></category>
            <category><![CDATA[software-design]]></category>
            <dc:creator><![CDATA[Navdeep Singh]]></dc:creator>
            <pubDate>Sun, 10 Oct 2021 20:29:49 GMT</pubDate>
            <atom:updated>2021-10-10T20:34:35.601Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*x_kMsR_2mdL8eLHW" /></figure><p>Let me paint the picture…you’re in the seat as a lead or chief architect. All eyes are on you as you’re responsible for leading the next wave of IT transformation, modernizing application software, and migrating to a public cloud. You’ve got a long and difficult road ahead that requires sharp critical thinking skills, the ability to drive new solutions, a business focus to influence the masses, and (let me emphasize this one)…the ability to be a practical architect! You grip the steering wheel, press the gas pedal, and off you go!</p><p>Ok, that was a dramatic start so let’s get right to the topic. Being in this seat you’re going to face many challenges. I want to talk about one in particular which I’m very passionate about and, from my experience, is misunderstood and has caused lots of confusion — microservices.</p><p>Microservices have been a heavily discussed and popular topic since their onset. They promise many things; extreme scalability, very high agility, flexibility to name a few and are likely to be the first thing you’ll hear in any discussion about modern application architectures. While these promises are true, adopting microservices is not easy. It takes comprehensive architectural planning, solutions for the complexities they bring, and a deep understanding of their impacts and side effects. It doesn’t stop there, there is a significant organizational cultural shift required when adopting them.</p><p>I’ve worked on numerous transformational initiatives involving application modernization and have had wonderful success with microservices. Along the way I made my fair share of mistakes and learned very valuable lessons. In fact, I still have some bruises and scars left over from the battles. When I think back now, I can confidently say microservices are far from a technical silver bullet. Adopting them without the right culture, practices, technology stack, and matching business needs will result in a high degree of complexity, risk, and even failed initiatives. However, when used for the right reasons, they can bring a ton of business value and competitive edge. Before jumping into this type of architecture paradigm take a step back, breathe deep, and keep these things in mind:</p><p><strong>Not all use cases are fit for or require microservices.</strong> Scale and speed are table stakes for today’s architectural solutions but by no means do they require microservices. Microservices optimize for <em>web scale</em> and <em>extreme agility</em> where functional changes can be released at a highly rapid pace and as frequently as needed. That being said, it is entirely possible to meet business demands for flexibility, scalability, and agility with other service design patterns. The point is as follows: use them for the right business reasons.</p><p><strong>Microservices are a destination, not a starting point.</strong> Avoid starting off with an objective to build microservices, simply think services. Adopting them unnecessarily and without understanding the implications will without a doubt take you down a rough road of unmanaged complexities and software that simply won’t work. Lean in and let your service architecture emerge over time. Distributed data management, high visibility, fault tolerance, operational support, service mesh, event-based designs, security, are only a handful of the areas which you’ll need to tackle along the way.</p><p><strong>Business capability, domain, and event models are essential.</strong> I cannot emphasize this one enough. If you don’t have these available and up to date, start here first. They aren’t important only for microservices, they are key inputs for architecture development and solutioning regardless of architectural style. Well-defined service boundaries, domain object specifications, and business events depend on these models. Don’t boil the ocean, start small and use agile architecture practices to build comprehensive models over time. Keep the documentation light and easy to understand; unnecessary documentation will not bring value.</p><p><strong>Frameworks, third party tools, and cloud services may not be mature enough for adoption.</strong> By far this was one of the largest lessons I learned. Technologies continue to improve but be very mindful of the features you need from the other parts of the architecture ecosystem. Run enough tests and proofs of concept to make sure things are where they need to be before going all in.</p><p><strong>Automation &amp; Responsiveness are essentials.</strong> Continuous Integration/Continuous Delivery (CI/CD) focuses on automating the software delivery lifecycle without any human intervention. DevOps is a set of practices that combine software development and technology operations to shorten the software development lifecycle. Monitoring microservices, tracing transactions, and debugging are not trivial. Taking it one step further, DevSecOps integrates security throughout the DevOps cycles. Bring all of these deep into the mix and not as afterthoughts. Keep the focus small by starting with one project and scale as the culture is developed, technologies are learned, and skills are mastered.</p><p><strong>Design for failure, code defensively.</strong> This isn’t something specific to microservices and applies to any distributed architecture. However, microservices make this more critical due to one simple fact: <em>technology fails</em>. Microservices result in a highly distributed environment where one business transaction can be served by many underlying distributed services. Any failure or hiccup along the way needs to be gracefully handled and managed. Defensive coding practices ensure the continuing function of a piece of software under unforeseen circumstances by using techniques such as automated health checks, circuit breakers, assertions, and strictly standardized exception handling, monitoring, and alerting.</p><p>These items are the tip of the iceberg when it comes to microservices. Tuck these key points into your back pocket and keep them easily accessible as constant reminders. The journey to microservices will take you down a winding, bumpy road full of complex design and implementation decisions. Keep things simple, start with conventional service designs and use the business needs as drivers for when and where you need more complex solutions. Push the envelope to adopt new service design patterns where it makes sense to do so and shy away from unnecessary complexity. At the end you will very likely have a mix of micro, macro, mini, and whatever new service paradigm exists in the future…and that’s a perfectly fine place to be.</p><p><em>Originally published at </em><a href="https://www.linkedin.com/pulse/ready-set-microservices-navdeep-singh/"><em>https://www.linkedin.com</em></a><em>.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=a8a8a5a74f6f" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Microservices with Orchestration and Choreography]]></title>
            <link>https://medium.com/walmartglobaltech/microservices-with-orchestration-and-choreography-d09941b1b4e6?source=rss-e69b651a733e------2</link>
            <guid isPermaLink="false">https://medium.com/p/d09941b1b4e6</guid>
            <category><![CDATA[choreography]]></category>
            <category><![CDATA[agile-architecture]]></category>
            <category><![CDATA[service-orchestration]]></category>
            <category><![CDATA[practical-architecture]]></category>
            <category><![CDATA[microservices]]></category>
            <dc:creator><![CDATA[Navdeep Singh]]></dc:creator>
            <pubDate>Fri, 06 Aug 2021 02:02:21 GMT</pubDate>
            <atom:updated>2021-08-06T02:02:21.020Z</atom:updated>
            <content:encoded><![CDATA[<p><strong>Building a modern platform for wireless order processing at Walmart</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*LG_qb_KPYAUgJzgCMeUsZA.jpeg" /><figcaption>Source: <a href="https://pixabay.com/illustrations/personal-collective-group-knowledge-3286017/">https://pixabay.com/illustrations/personal-collective-group-knowledge-3286017/</a></figcaption></figure><p>I am often presented with the question of whether orchestration should be used in a modern services architecture or if all integration needs to be through choreographed events. I’ve even had conversations with architects who believe orchestration has no place in modern microservices architectures. If you read some of the technical literature out there, you may start to believe this yourself. Well, I can confidently say this is simply a myth. The reality is some business problems are best served by hybrid approaches where both orchestration and choreography need to be used. The trick is knowing when to use which approach and how to deal with the complexities they bring.<br>Like anything related to architecture design, deciding between orchestration, choreography, or both is a <em>“it depends”</em> answer. So then how do you choose? For starters, you need to have a very deep understanding of the business problem being solved including the complexities of the underlying processes, have measurable business outcomes (in other words, what does success mean — and not the fluffy stuff), and know how/when/where to allow design complexity. To illustrate this, I’m going to detail how orchestration and choreography can be used together. This won’t be theory, I am going to use an architecture I’ve implemented at Walmart which has survived its initial launch, scaled without any issues, and is being extended via the next wave of business transformation. Let’s get to it.</p><h3><strong>Problem Statement</strong></h3><p>Before I can talk about why certain choices were made, I need to explain the business problem. The overall problem needing to be solved was transforming a legacy wireless order processing system which had become complex and brittle over time. It was no longer able to scale to higher volumes, could not be changed to meet new business needs, and was too costly to maintain. To make things even more complex, the new system had to support ecommerce and in-store sales channels which meant it was direct consumer facing and would be used by associates in retail stores. From an architecture perspective the legacy system had many challenges. Services lacked properly defined boundaries, there were numerous data silos, designs were brittle and complex, and it was built on what was then an outdated tech stack. Last but not least, it was deployed in a data center which was being shut down and needed to be moved to the cloud. This was a classic case of a system that served its purpose well at one point, however new business needs exceeded what this architecture was originally intended to provide and it needed to be transformed. Years of technical debt mounted and the logical go forward investment was to rebuild and modernize it.</p><p>Before we get into the solution details let’s talk about the overall business vision. The business wanted a platform which could, of course, support their current needs of processing wireless orders but also needed one which could support order processing for different products. Having point solutions for each product was not a viable option and would result in far more complexity and cost than desired. Obviously we couldn’t design for what we didn’t know, however, we also knew the importance of understanding where the business wanted to be in order to create the right foundational architecture. Order processing in our domain, regardless of product type, shared a common set of business capabilities; the core architecture objective was to build a reusable and extensible platform that could sustain growth to enable multi product order management.</p><h3><strong>Architecture Solution</strong></h3><p>Now let’s take this down another level. There were several important factors about the business processes which were core inputs into the solution design:</p><ul><li>The order process spanned several business domains and contained well-defined process flows for all normal paths. Some exception paths were well-defined but there were a number of use cases that did not follow a strict path and therefore needed processing flexibility, especially in the case of retail sales.</li><li>Processing wireless orders was complex, involved many steps, and required numerous interactions with external third party systems. Some of these interactions are highly responsive while others take longer. To make things more interesting, latencies on these interactions can vary so the solution needed to accommodate different types of characteristics on a transaction-by-transaction basis.</li><li>The business wanted near real time insights into transactions (orders) as they were taking place. Additionally, there were explicit business events which needed to be tracked and available for operational insights. These were especially important during sales, promotions, and holiday events where the business needed to see sales volume and track process status as orders were taking place.</li><li>Any glitch in the process, whether a business or technical exception, meant a loss of sales. Tracking every processing step and the state of each order in an easy way were essential. Also, there was very, very little tolerance for data loss. Simply put, when an order reached a certain state and was paid for, data must not be lost. No exception at any level including a full disaster recovery event, could result in a data loss.</li></ul><p>There’s alot to unpack in this list. Before you read further, take a second look at the items above and study them. Each item fed directly into how the architecture was built and how trade-offs were made. We compared and analyzed different ways to manage orders, had some hefty discussions, and ultimately landed on the following key architecture facets:</p><ul><li>The end-to-end order process would be orchestrated by a business process management (BPM) engine which would be in the bounded context of the core business service. This service, Order Processing Service, would be responsible for taking a wireless order through its required steps, emitting business events along the way, and would be the single system of record for the order state at any point in time. In other words, its job was to orchestrate business processes and respond to choreographed events. The decision to use a BPM engine was due to the strict requirements to manage each order through a series of steps, to provide a way to quickly make workflow changes, and to provide near real time operational views as each order was being executed. The Order Processing Service was decidedly a miniservice and great care was taken in how the workflows and subflows were designed to achieve the flexibilities needed.</li><li>Events were divided into two types; <em>macro events</em> which were events needed to manage order state and drive workflow processing by the BPM engine and <em>micro-events</em> which were events used to choreograph finer grained activities between domain services which were subordinate to the core flow.</li><li>Domain services, which are all the services in the same business domain needed when processing orders, would be solutioned as mostly microservices. Each supporting service had a specific responsibility, would be free to use additional technologies to fulfill their portion of the order processing (e.g. a rules engine, a sub-workflow), would not maintain order state, and would be responsible for informing Order Processing Service when it completed work using events or API callbacks if asynchronous processing was used or, if synchronous was used, it would be immediate as the calls were blocking. Where needed, domain services would be able to create their own micro-events and communicate directly with one another for micro-flows without having to go through the Order Processing Service.</li><li>Enterprise integrations would all be choreographed through synchronous APIs because they were a part of the core BPM flow, connected directly to the customer journey, and attached to the user experience layer. There were also critical service level agreements (SLAs) which had to be tightly managed.</li><li>Business data, including order state, would be stored separately from workflow operational data and both would be within the boundary of the Order Processing Service. Order state data was maintained as business data and separate from other workflow operational data.</li><li>Data would flow to the data warehouse based on events which the business wanted to consume for analytics and to monitor transactions. Other transactional data would be available in the warehouse on a near real time basis. The requirement was to have data available in the warehouse within minutes (think 1–3, not 5–10). This velocity tolerance was a significant factor when it came to deciding when and where to use orchestration, choreography, and determining event granularity.</li></ul><p>Below is what the architecture looked like at a logical level with all of the components described above laid out.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/611/1*BG43QD9aCKgQiGBJr0ty1A.png" /></figure><h3><strong>Some Challenges</strong></h3><p>This architecture is not without its complexities. Here are some of the things that came up during its implementation which we had to address:</p><ul><li>Statement management for processing steps implemented using choreographed service interactions. While there was decisiveness as to what was a macro vs mini-event, managing state so that it can be easily determined at any point in time is made easier with BPM but the mini-events will also need to be tracked and not lost.</li><li>How to effectively draw the line between the core business flow and both sub-flows and mini-flows that execute portions of the process independently. While things may happen outside the core business flow, we needed to know exactly where an order was in its lifecycle at any point.</li><li>Related to the above item, deciding on the granularity of events is important. We started with what was needed to drive the orchestration and slowly created finer grained events to enable choreographies and execution of mini-flows. There needs to be a relationship between macro events and mini events.</li><li>Handling of retry logic, exceptions, timeouts, and user experience management for long running transactions. In short these items are the complex non-happy path scenarios which need to be thought through and modeled. In this architecture nearly all were handled by Order Processing Service. However there would be cases, particularly where there were long running transactions and choreographies, some of this logic would be implemented by domain services. Deciding where compensating transactions would be needed, ensuring idempotency of services, and leveraging state management all became techniques we had to introduce over time.</li><li>Data velocity for analytics. Generally speaking data should move as fast as it can to reporting and analytical layers, unless it’s being consumed from event streams directly and have necessary details. However, when data is dispersed across microservices, stitching together a consumable data set can be complex.</li></ul><h3><strong>Summing It Up</strong></h3><p>So there you have it. There may be some who say this is not a “pure” modern service architecture and choreography should have been used without any orchestration. I beg to differ and would offer a lesson — build the simplest solution your business needs by being practical. Don’t take on complexities you don’t need to and don’t assume theory reflects reality. Agile architecture means starting simple, evolving, and shaping the best solution iteratively. Choreography and orchestration can absolutely work together and if they are the right tools for the problem, go for it.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d09941b1b4e6" width="1" height="1" alt=""><hr><p><a href="https://medium.com/walmartglobaltech/microservices-with-orchestration-and-choreography-d09941b1b4e6">Microservices with Orchestration and Choreography</a> was originally published in <a href="https://medium.com/walmartglobaltech">Walmart Global Tech Blog</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[The Importance of Architecture Retros]]></title>
            <link>https://navdpsingh.medium.com/the-importance-of-architecture-retros-b75ccdf7efed?source=rss-e69b651a733e------2</link>
            <guid isPermaLink="false">https://medium.com/p/b75ccdf7efed</guid>
            <category><![CDATA[agile]]></category>
            <category><![CDATA[retrospectives]]></category>
            <category><![CDATA[agile-architecture]]></category>
            <dc:creator><![CDATA[Navdeep Singh]]></dc:creator>
            <pubDate>Sun, 21 Mar 2021 23:23:19 GMT</pubDate>
            <atom:updated>2021-03-21T23:23:19.228Z</atom:updated>
            <content:encoded><![CDATA[<p>I am always looking for ways to be more efficient, be more effective, and up the game of IT architecture. For me it’s a personal quest and stems from my passion for all things architecture and the goal of continuous learning. <em>Agile architecture</em> is an important topic to me and I’ve never wanted to use that phrase until I was actively making architecture development faster, continuous, and adaptive. It’s a bit of a pet peeve, I don’t like to use technology terms until I’ve understood what they mean and how to use them in my day-to-day work. After all, what is theory without practice?</p><p>Over the years I’ve added multiple tools to my belt which have allowed me to bring agility to architecture. One in particular stands out because it’s proven to have worked time and time again. Throughout my professional career I’ve seen many architectures which I’d describe as being band-aided, top-down waterfall-built, debt-ridden, and outdated. As expected, these characteristics would be prevalent in legacy systems but I have seen some show up in newer ones with the worst offenders being those that are in the process of being built to replace legacy systems (no, I’m not exaggerating)!</p><h3>Let’s Talk About Retros</h3><p>An <strong>architecture retro </strong>is an important tool to bring quality, effectiveness, and continued business alignment to your solutions. Just like a normal sprint retro, an architecture retro enables a team to reflect back on what was done, discuss what parts of the solution worked well, and where improvements are needed. They have become an essential part for how I implement agile architecture and emergent design within initiatives and how I make sure to always keep a strong alignment to business objectives.</p><p>If you’ve effectively applied agile principles to architecture development, you will already have a deep understanding of the business goals, have documented architecture decision records (ADRs), just enough design artifacts, and prioritized technical debt. In other words, you already have the necessary inputs to get into an architecture retro! I’d recommend doing one soon after a major release which could be the initial launch, an iteration where new business capabilities were introduced, or after significant architectural changes were implemented.</p><h3><strong>The Do’s and Don’ts</strong></h3><p>Conducting an architecture retro doesn’t require lots of planning so don’t overthink it. I always start retro’s with an opening statement which would include a summary of what was set out to be built, the business goals that drove the architecture, and setting ground rules for the retro itself. It’s important to keep a positive and constructive atmosphere throughout the retro to get the most out of it. Here are some guidelines for how to go about running an effective architecture retro:</p><p><strong>DOs:</strong></p><ul><li><strong>Bring in one or two outside team members</strong> who have enough knowledge of the business area but were not actively involved in the day-to-day work. You can also include engineers who partially contributed for a period of time as they will have familiarity with the product. I find that having third party opinions bring a good balance and will open up the team to new ideas.</li><li><strong>Revisit business objectives. </strong>Reviewing these will make sure there’s a common understanding for what the architecture was intended to enable. We all know that business objectives can change so use the retro to communicate them based on where you are now and to give a sense of what’s changing and why. Be careful to not use revised objectives when looking back at what was built because they were not in play at that time. Rather, revised objectives will help plan the next architecture iteration and when used in the retro informs the team of what lies ahead and where the opportunities lie.</li><li><strong>Keep it highly collaborative.</strong> Encourage everyone to speak up and share their ideas! The retro should be a relaxed setting so that all participants are actively engaged and speaking openly. Remember, no idea is a bad idea and you never know what’ll pop.</li><li><strong>Track outcomes and next steps.</strong> Use your agile project management tooling to track what’s next based on what was voted on by the team to change. After a successful retro there should be a combination of things to improve, affirmation of things that worked well (think architecture decisions and solution patterns), new approaches to potentially adopt, and should go as far as having a list of proof of concepts to prove out new ideas. These should feed into the planning process and when you’re iterating over the architecture through detailed execution plans, features, and stories.</li></ul><p><strong>DON’Ts:</strong></p><ul><li><strong>Don’t treat it like an assessment.</strong> Retros aren’t assessments, you aren’t creating a scorecard, and this is not meant to be a heavyweight governance process. Retros should be conducted in a way that welcomes critique in a positive manner and which enables all participants to have a voice.</li><li><strong>Don’t blame or point fingers</strong>. Without a doubt there would have been some heavy discussions and debates during the architecture development which led to decisions being made. Do look at them and discuss why a decision was made but definitely do not voice anything as a bad one or plant blame on anyone. Things like this will quickly shut down any benefit a well run retro would have given.</li><li><strong>Don’t do solution design</strong>. Resist the temptation to get into detailed solutioning for new candidate designs. There will be plenty of time to talk about solution alternatives and doing so will distract the retro. Keep solution discussions at a conceptual, high level so everyone understands what’s being suggested but leave the details until later.</li><li><strong>Don’t assume prior architecture decisions need to stay the same</strong>. Original reasons for architecture decisions may have changed. Be mindful why certain design choices were taken but don’t shy away from discussing them and digging into how well they did or did not work. Just remember the earlier points and keep the discussion positive.</li></ul><h3>Final Thoughts</h3><p>IT architectures are not static, they need to be built to last and must evolve when needed. Speed to market pressures will cause you to make tactical decisions and take on debt. Changing business needs, priorities, and objectives must be met with architectures that are constantly improving and ready to take on new capabilities. An architecture retro is an essential tool to facilitate agile, iterative architecture development. No matter the size and complexity of the solution you’re building there is always room for improvement. An architecture is never a one-and-done deliverable, it needs to be maintained and enhanced for as long as the underlying solution is active. If you follow these steps I assure you that you’ve got one of the most practical and effective tools to help implement agile architecture. Architecture retros have served me well and I’m confident they will do the same for you.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=b75ccdf7efed" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[lead·​er·​ship | \ ˈlē-dər-ˌship \]]></title>
            <link>https://navdpsingh.medium.com/lead-er-ship-%CB%88l%C4%93-d%C9%99r-%CB%8Cship-f2ffe2051ae4?source=rss-e69b651a733e------2</link>
            <guid isPermaLink="false">https://medium.com/p/f2ffe2051ae4</guid>
            <category><![CDATA[coaching]]></category>
            <category><![CDATA[teamwork]]></category>
            <category><![CDATA[leadership]]></category>
            <dc:creator><![CDATA[Navdeep Singh]]></dc:creator>
            <pubDate>Mon, 22 Feb 2021 04:32:20 GMT</pubDate>
            <atom:updated>2021-02-22T04:33:29.750Z</atom:updated>
            <content:encoded><![CDATA[<h4>Lessons of leadership</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*gqD0B88-KfRdtrAYotR8Yw.jpeg" /></figure><p>Leadership starts with who you are as a person, your true self. It’s the person you wake up as every morning and the person you are when you go to sleep every night. Leadership is not a mask you can put on and take off and not something you can whip up on demand. It’s who you are, how you treat others, and the person you choose to be. There’s no faking it when you’re in a position of leadership and those who try aren’t fooling anyone.</p><p>I always thought it was odd how everyone in a business meeting would introduce themselves with an emphasis on their job title and that they “led” something. I never liked introducing myself as the “lead” of anything. If I meet you on the street, I’m “Nav” and if I meet you in the workplace, I’m still “Nav” and I may go on to say that I “do IT architecture”. You see, my name is my brand. I’ve always wanted people to know my true self and not identify me by some fancy label. My title didn’t define me and in no way did it make me a leader. I always felt that introducing myself as a lead or head of anything was from a place of ego. I get that it’s not always the case but for many it is and that’s just not who I want to be. My name is the doorway into my true self and is how I want people to know me. My actions express who I am, not some title or label. It’s just that simple.</p><h3>The top things I learned about leadership</h3><p><strong><em>Leaders don’t tell who they are, they show it. Leadership is not granted by a title, it is defined by who you are, what you do, and how you treat others. Leadership starts without carrying any form of bias, by losing the ego, and with humility.</em></strong></p><p>I’m the type who respects corporate hierarchies and organizational boundaries but when things need to get done they don’t matter. Those boundaries become imaginary lines where the walls and reporting lines are replaced with shared objectives, outcomes, and partnerships. It’s how I’m wired. Each and every person brings a unique set of skills, points of view, and ideas into a team. Leaders understand the importance of these facets, the value in this diversity, and how they bring strength to a collective group. They know how to find the hidden talents in people, sprinkle them with enough water, and will provide continued encouragement so they can grow on their own. <strong><em>Leaders aren’t there to give all the answers. They bring people together to work as a unit with shared objectives under a single strategy. They don’t walk in front of them, they walk alongside them from start to finish. A leader who creates walls and wants things his or her way doesn’t understand leadership.</em></strong></p><p>By definition the word <em>failure</em> is the opposite of <em>success</em>. Seems like a harsh and negative word, right? Well, that’s because it is. I have seen people in leadership roles chastise others because of their failures. It’s something which I’ve never understood, have been on the receiving end, and know exactly how it feels. Here’s the straight truth — chastising someone because they didn’t meet your expectations damages people, creates fear, and is not a leadership quality. I’ve had fantastic mentors who taught me about failures, how to lead through them, and how to learn from them. No matter what you do things won’t go as planned. Not only is it normal but it’s a fantastic way to learn as long as it’s handled the right way. Instead of talking about failures, have a conversation about learnings. Focus on the ideas that worked and talk through those that didn’t. Conversations that linger on what went wrong cause people to get defensive, close up, and point blame. When you talk about what was learned the focus shifts to new ideas and introspections, which are accompanied with positive emotions. Although you will need to touch on what went wrong don’t make it the focal point and spend time overanalyzing it. Help the team get to the root causes quickly and then make the sharp turn to talk about moving forward with new ideas. <strong><em>Leaders understand the path to success will have many failures along the way. They position discussions of failures as discussions of learnings. They know how to teach and build others and never, ever place blame on people.</em></strong></p><h3>From the dark side: the final lesson</h3><p>The road of leadership has a dark side which, no matter what you do, is unavoidable. You will run across those people who want to bring you down, who want the spotlight all to themselves, and who are downright toxic. I’m not talking about people who do these things unknowingly or innocently, I’m talking about those who do them with negative intent. These are the culture killers within an organization. Let me give you an example with a personal story. I was once tasked with taking a conceptual business vision all the way through to implementation. I had a small team of direct reports and two of them along with a handful of others were to work with me and under my direction. This wasn’t a small project, this was one of my early digital transformation efforts which meant we had to drive change, influence and partner with many teams, and not stop until the solution was developed and in front of our customers. We worked countless hours and in the end we got it done. It was a major success for the business sponsor and for the company. I was proud of everyone involved and it was a moment for them to celebrate. I remember the launch party for the solution vividly because my team and I weren’t invited. No, that’s not a typo and it was not an unfortunate oversight. It turns out a senior executive, someone whom we worked closely with during the latter part of the initiative, decided to have a big celebration to congratulate himself and his team for taking this business vision from concept to implementation all by themselves. The weight of this insult cannot be put into words. Truthfully, I really didn’t care about myself. Rather, I cared about the people who were in this with me, who did the hard work, and who deserved to shine. It was easy to see how hurtful it was to them and I couldn’t shake how bad I felt.</p><p>What a horrible story right? Fortunately this one has a good ending. I could have gone out screaming about what this person was doing but the reality is I didn’t need to nor did I want to. As a leader your reactions are just as important as your actions and I knew this was the moment where I had to teach perseverance and maturity. Remember what I stated at the top of this, <em>leadership starts with your true self</em>. Everyone could see what was happening and many people ended up calling me and my team to congratulate us and express their gratitude. We had our own small celebration where they got the thanks and rewards they deserved. To this day we talk about how fantastic of a project it was and all the things we learned together. At the end of the day those negative events were just a blip on a radar and of no consequence. There are many lessons in this story but I’ll leave you with what I explained to the team. <strong><em>Leaders don’t create or chase a false prestige. They don’t take credit, they give credit. They do not get anywhere or get anything done alone, they do it with and alongside others. Always be your true self and stick to your values; leadership is action, not position.</em></strong></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f2ffe2051ae4" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>