<?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 Lakshminarayana Potukuchi on Medium]]></title>
        <description><![CDATA[Stories by Lakshminarayana Potukuchi on Medium]]></description>
        <link>https://medium.com/@lakshminarayana.potukuchi?source=rss-977cbbad4f52------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/proxy/1*TGH72Nnw24QL3iV9IOm4VA.png</url>
            <title>Stories by Lakshminarayana Potukuchi on Medium</title>
            <link>https://medium.com/@lakshminarayana.potukuchi?source=rss-977cbbad4f52------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Wed, 02 Dec 2026 21:46:37 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@lakshminarayana.potukuchi/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[Importance of Metrics in Workflows — An Example from Capillary Engagement Platform]]></title>
            <link>https://medium.com/capillary-tech/importance-of-metrics-in-workflows-an-example-from-capillary-engagement-platform-2f5ecb2edd0e?source=rss-977cbbad4f52------2</link>
            <guid isPermaLink="false">https://medium.com/p/2f5ecb2edd0e</guid>
            <category><![CDATA[metrics]]></category>
            <category><![CDATA[custom-metrics]]></category>
            <category><![CDATA[marketing-automation]]></category>
            <category><![CDATA[workflow]]></category>
            <category><![CDATA[observability]]></category>
            <dc:creator><![CDATA[Lakshminarayana Potukuchi]]></dc:creator>
            <pubDate>Fri, 27 Oct 2023 06:36:21 GMT</pubDate>
            <atom:updated>2023-10-27T06:36:21.125Z</atom:updated>
            <content:encoded><![CDATA[<h3>Importance of Metrics in Workflows — An Example from Capillary Engagement Platform</h3><h4>Introduction</h4><p>Capillary Engage+ is an AI-powered consumer engagement platform that empowers brands to connect with end-consumers in real time and build meaningful, long-lasting experiences. It improves conversion by providing end-to-end personalized campaign automation solutions. Moreover, it provides diverse communication channels, including Email, SMS, WhatsApp, Line, WeChat, Viber, Facebook, Instagram, Google Ads, etc., enabling effective customer engagement.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/960/0*NA6JDeDb8qudWzAD" /></figure><h4>Background</h4><p>Campaign execution involves multiple tasks like audience management, personalization, issuance of incentives, customer subscription checks, communication services, and many more.</p><p>To accomplish the marketing objective of the brands, Engage+ employs multiple microservices in the background. Each microservice is designed to achieve a distinct goal.</p><p>Each of these services has been designed to seamlessly integrate with any other Capillary product and can function independently catering to different scenarios. Every service receives an entity and produces a distinct entity tailored to its own domain.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/960/0*fFWgTbM8zVCF_UzM" /></figure><p>The execution of a campaign is akin to orchestrating a symphony of tasks, meticulously choreographed and executed in a structured manner. Picture it as a series of steps, some unfolding sequentially while others dance in harmony concurrently. This orchestration, resembling a beautifully intricate dance, takes the form of what we in the tech world call directed acyclic graphs (DAGs). Imagine the initial step as retrieving the Audience list, followed by a synchronized ballet of fetching User profiles, conducting subscription &amp; reachability checks, and the grand finale — the issuance of points or coupons, concluding with the assignment of a gateway. It’s crucial to understand that any stumble, any glitch in this meticulous process can cascade into the overall failure of the entire campaign execution.</p><h4>Importance of Metrics</h4><p>In this choreography of tasks, metrics emerge as the critical audience watching from the wings. They are the observers, the evaluators, and the judges determining the success of this intricate dance. Engage+, our AI-powered consumer engagement platform, relies on these metrics as the eyes and ears of the system. Within the microservices, pre-built libraries meticulously collect vital metrics — application latencies, error rates, resource usage, and system throughput. These metrics aren’t just numbers; they are the pulse, the heartbeat of efficient operations. They don’t just sit idly; they are harnessed, calibrated, and utilized to configure alerts. When irregularities arise, they sound the alarm, ensuring swift intervention and a return to the harmonious rhythm of the campaign.</p><p>Yet, the story doesn’t end here. While these metrics from microservices provide valuable insights, they offer only a glimpse into the grand performance. The real magic lies in metrics that delve deeper, metrics essential for monitoring the progression of sub-tasks, ensuring deadlines are met, and steering decisions with the power of data. In the world of workflow-oriented systems, these metrics are the unsung heroes. They identify the weak spots, and the areas for enhancement, and guide our teams in making educated tweaks to the choreography of tasks. These adjustments, honed by the insights from these metrics, pave the way for streamlined processes, a reduction in operational costs, and most importantly, superior outcomes in the realm of workflow systems.</p><p>In the grand spectacle of campaign execution, metrics aren’t just observers — they are active participants, shaping the performance, ensuring flawless execution, and ultimately, delivering a standing ovation-worthy outcome.</p><p>Some of the metrics that differ in these systems from the traditional API-based systems are:</p><ol><li><strong><em>Response Time</em></strong><em>: API-Based Systems:</em> Measure response time for individual API calls, focusing on low-latency processing. Eg. get campaign settings API. <em>Workflow-Based Systems:</em> Consider overall workflow execution time, including processing, transitions, and dependencies between tasks. Eg: Campaign execution time.</li><li><strong><em>Throughput</em></strong><em>: API-Based Systems:</em> Focus on the number of requests processed per unit of time to gauge system load. Eg. No. of Campaign templates GET API RPM. <em>Workflow-Based Systems:</em> Analyze the number of workflows completed within a specific timeframe to understand system efficiency. Eg. No. of campaigns processes in one hour.</li><li><strong><em>Error Rates</em></strong><em>: API-Based Systems:</em> Track error rates for each API endpoint, indicating issues with specific functionalities. Eg. No. of API call failures in GET Campaigns API. <em>Workflow-Based Systems:</em> Monitor error rates across the entire workflow, identifying bottlenecks or faulty task sequences. Eg. No. of Campaigns with failures in execution.</li></ol><p>In the intricate world of campaign execution, unseen challenges often lurk behind the scenes, threatening to disrupt even the most meticulously planned strategies. Imagine a scenario: a brand rolls out two campaigns — one targeted for 100 users and the other ambitiously reaching out to 500,000 users. Unforeseen glitches strike, causing 5 users from the first campaign and 100 users from the second to encounter failures within a specific microservice. The overall failure rate, minuscule at 0.0021%, might seem negligible on paper, but from the brand’s perspective, it translates into missed opportunities and potential revenue loss. The challenge compounds when these failures occur within a vast web of interconnected services.</p><h4>Need of Custom Metrics</h4><p>Debugging such issues is akin to finding a needle in a haystack. Traditional alerting mechanisms, reliant on threshold settings, often fall short of capturing these nuances. A single user left unaddressed due to a minor glitch might lead to unforeseen consequences for the brand. To tackle this, a proactive approach becomes imperative.</p><p>This is where the power of custom metrics steps in. Designed with meticulous attention to detail, these metrics operate at the campaign level, ensuring no user is left behind. Unlike generic alerts triggered by predefined thresholds, these metrics offer a nuanced understanding of each campaign’s journey. They not only flag failures but also track execution times, identifying specific phases or microservices causing delays.</p><p>Consider this as a proactive vigil, where even the slightest deviation from the benchmark standards sets off an alert. It’s not merely about detecting issues; it’s about understanding the ‘why’ behind every glitch. Is it a transient hiccup that resolves on its own, or does it hint at a deeper problem within the campaign’s architecture? Custom metrics answer these questions, equipping the team with insights for optimization.</p><p>In the dynamic landscape of parallel campaign executions, the need for granular, campaign-specific metrics becomes paramount. Each campaign, each user interaction, is a unique story waiting to unfold. By harnessing the power of custom metrics, brands not only ensure the successful completion of every campaign but also gain invaluable insights to refine their strategies. In this proactive approach, challenges transform into opportunities, and campaigns, once vulnerable to the unseen, emerge stronger and more resilient than ever before.</p><h4>How Engage+ developed these</h4><p>To create these custom metrics, Engage+ embarked on a meticulous design process. The team mapped out each campaign’s execution stages, constructing a comprehensive flowchart. Each microservice’s output became the input for subsequent phases, forming a meticulous chain of dependencies. The metrics were then crafted around benchmarked thresholds for each phase, allowing swift detection of anomalies and ensuring SLA compliance at every step. The result? A robust monitoring system capable of identifying and resolving issues before customers even notice.</p><p>In visualizing these metrics, Engage+ introduced the ‘Campaign Checker,’ a tool offering a comprehensive view of campaign execution. Through intuitive graphs, teams can observe the heartbeat patterns of various phases, ensuring the seamless flow of tasks. Anomalies, represented by deviations in these patterns, trigger alerts, signaling a potential disruption that demands immediate attention.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*7Zx-h-ZsJGTSF8TH" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*7xyj-6Pym5NBSa4-" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*t4ZG1FUq1A_i1zeX" /></figure><p>For ease of debugging, whenever any alert gets raised for a mismatch in these heartbeat-shaped graphs, the details of such events can be found in a summary like the table:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*FFkzZOeBqe6GhGVH" /></figure><p>The overall idea is to measure that both parameters, involving the summation of all executed batches during a planned campaign schedule, coincide between the start and end of that specific execution phase. If any disparity occurs within a predefined threshold timeframe, we aim to receive alerts to address the issue manually.</p><h4>Learnings</h4><p>These custom metrics serve as more than just data points — they are the architects of enhanced efficiency, the guardians of seamless workflows, and the navigators guiding teams toward optimized outcomes. In this intricate dance of tasks, Engage+ has found its rhythm, ensuring each campaign’s journey is not just executed but executed flawlessly.</p><p>We hope this insight into Engage+’s custom metric approach sheds light on the intricate world of workflow systems, illustrating the transformative power of tailored metrics. If you found this article insightful, share it with your colleagues and peers. Together, let’s navigate the evolving landscape of workflow systems, armed with the knowledge of the right metrics, ensuring our campaigns not only reach but resonate with our audience.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=2f5ecb2edd0e" width="1" height="1" alt=""><hr><p><a href="https://medium.com/capillary-tech/importance-of-metrics-in-workflows-an-example-from-capillary-engagement-platform-2f5ecb2edd0e">Importance of Metrics in Workflows — An Example from Capillary Engagement Platform</a> was originally published in <a href="https://medium.com/capillary-tech">Capillary Technologies</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>