<?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 Deepika R on Medium]]></title>
        <description><![CDATA[Stories by Deepika R on Medium]]></description>
        <link>https://medium.com/@deepikars?source=rss-f831b6b90d16------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*8p-hapySBnLoie3u4lOsVQ@2x.jpeg</url>
            <title>Stories by Deepika R on Medium</title>
            <link>https://medium.com/@deepikars?source=rss-f831b6b90d16------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sun, 06 Dec 2026 18:19:15 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@deepikars/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[Building a Vendor-Independent Performance Testing Platform]]></title>
            <link>https://medium.com/@deepikars/building-a-vendor-independent-performance-testing-platform-dde29345eeac?source=rss-f831b6b90d16------2</link>
            <guid isPermaLink="false">https://medium.com/p/dde29345eeac</guid>
            <category><![CDATA[performance-testing]]></category>
            <category><![CDATA[opentelemetry]]></category>
            <category><![CDATA[platform-engineering]]></category>
            <category><![CDATA[observability]]></category>
            <category><![CDATA[devops]]></category>
            <dc:creator><![CDATA[Deepika R]]></dc:creator>
            <pubDate>Fri, 13 Nov 2026 09:53:23 GMT</pubDate>
            <atom:updated>2026-11-13T09:53:23.215Z</atom:updated>
            <content:encoded><![CDATA[<p><strong>We started with a familiar engineering problem: our PHP application’s performance tests depended on a commercial tool. The tool worked, but it also shaped how we measured performance, how we expressed assertions, and how much of that workflow we could control. Not to forget the cost.</strong></p><p>Rather than looking for a like-for-like replacement, we stepped back and asked a more useful question: which performance capabilities did our engineering workflow actually need? That question changed the scope of the work. We were not simply swapping one tool for another. We were designing an internal performance testing platform, with a repeatable benchmark dataset, deterministic regression checks, database-level visibility, and a separate path for deeper investigation.</p><p>This article follows that design journey: from the benchmark data problem, through the four measurement pillars, to the decision that shaped the architecture.</p><h3>The starting point: performance testing depended on Blackfire</h3><p>The application under test is a PHP service with an established PHPUnit-based performance test suite. Historically, Blackfire had two roles in that suite. Engineers used it for profiling: understanding where time and resources were spent during a request or scenario. The tests also used Blackfire assertions to fail a build when a scenario exceeded defined performance limits, such as wall-time or SQL query count.</p><p>Those are related, but distinct, needs. Profiling helps answer why an execution is expensive. Assertions help decide whether a change is acceptable. We wanted to own both capabilities without tying the testing workflow to one vendor’s measurement and assertion model.</p><p><strong><em>The goal was not simply to remove Blackfire. It was to decompose the capabilities we depended on and rebuild them as independently owned engineering components.</em></strong></p><h3>Choosing the right benchmark dataset</h3><p>Before building the measurement framework, we needed a database that could support realistic and repeatable performance testing.</p><p>Our initial consideration was to use a production database snapshot. While production data offers the closest representation of actual application usage, it wasn’t necessarily the right choice for a controlled benchmarking environment. We wanted a dataset that could be used consistently across local development and CI, without introducing dependencies on production data or its operational processes.</p><p>We therefore chose a sanitized, staging-derived PostgreSQL dataset. Staging provided a realistic representation of the application’s data, relationships, and distribution, while being more suitable for controlled benchmark execution.</p><p>The restored dataset was approximately 60 GB, large enough to exercise realistic application and database workloads, including Doctrine queries and PostgreSQL operations.</p><p>This gave us a practical balance: representative data for meaningful performance analysis, with a dataset we could manage, reproduce, and use independently of production.</p><h3>Treating benchmark data as a versioned platform asset</h3><p>We chose Google Cloud Storage (GCS) for the large benchmark dump. A multi-gigabyte database artifact did not belong in the application repository, in Git history, or in developer-specific file sharing. Object storage gave us a central source of truth accessible to developer machines, CI, and future GKE workloads, with IAM-based access control and lifecycle management.</p><p>We also introduced a <em>dataset_id</em>. It identifies a particular generation of the benchmark dataset, and every benchmark execution records which dataset_id it used. This matters because benchmark results are only comparable when we understand the data they were measured against. If the staging-derived dataset is regenerated, the new generation can be identified rather than silently replacing the old one.</p><p>This turned the dataset from an informal file into an explicit input to the benchmark platform.</p><h3>What did we actually need to replace?</h3><p>With the data strategy established, we examined what our tests asserted on and what engineers needed during performance investigations. Four distinct capabilities emerged. They could be implemented using native PHP facilities, existing Doctrine instrumentation, PostgreSQL statistics, and open telemetry standards rather than one commercial product.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*bCZI5-cnzRK-RxMgd4fDDg.png" /><figcaption><em>The four pillars separate application cost, ORM behaviour, database-side execution, and distributed tracing.</em></figcaption></figure><h3>Pillar 1: application timing and memory</h3><p>The first collector measures the cost visible at the PHP application level. We use hrtime() for high-resolution timing and memory_get_peak_usage() for peak memory; current memory can also be useful. These native PHP facilities let us tie deterministic measurements directly to a scenario execution without adding an external process or agent to the measurement path.</p><p>Wall-time and memory answer basic but important questions: how long did this scenario take, and how much PHP memory did it use? They do not explain every source of overhead, but they give us consistent values that can be compared across runs.</p><h3>Pillar 2: Doctrine SQL behaviour</h3><p>The second collector looks at database activity from the application’s point of view through Doctrine. It captures SQL query count and execution time, and supports analysis of duplicate queries, slow queries, and potential N+1 behaviour.</p><h3>Pillar 3: PostgreSQL execution statistics</h3><p>PostgreSQL collector, through <em>pg_stat_statements </em>can report execution time, planning time, call counts, rows, shared-buffer hits and reads, and temporary I/O. These measurements complement the Doctrine view.</p><p>The distinction is useful. Doctrine can expose application-level inefficiencies such as N+1 query patterns. PostgreSQL statistics can reveal database-side costs, such as a query that is inexpensive to issue but expensive to plan or execute. Looking at both layers gives us a more complete picture than either one alone.</p><h3>Pillar 4: OpenTelemetry tracing</h3><p>The first three pillars produce structured, relatively small measurements suitable for deterministic comparison. They can tell us that a scenario became slower or started issuing more queries. They cannot always explain why.</p><p>That was the gap OpenTelemetry filled. It provides vendor-neutral instrumentation for distributed traces, metrics, and logs. For this platform, the primary initial use is tracing: capturing execution context and spans that help us investigate where time was spent across the request.</p><h3>From measurements to a performance decision</h3><p>The four pillars produce structured per-scenario results. A Performance Assertion Engine evaluates those results against configured limits: maximum wall-time, SQL count, SQL time, peak memory, slow-query limits, and duplicate-query limits.</p><p>This moves assertions away from Blackfire’s assertion model, thresholds, and scoring methodology. The platform evaluates the metrics it collects itself.</p><p>We also found that a single absolute threshold is not enough for every decision. A baseline comparison gives us another useful signal. For example, one documented comparison used a 200 ms wall-time baseline and a 218 ms candidate result, a 9% increase. SQL count moved from 3,900 to 3,991, a 2.3% increase.</p><p>The platform produces a structured diff between a candidate run and its baseline. That diff can be evaluated alongside absolute thresholds to produce a PASS or FAIL decision. This baseline-and-diff mechanism is the core of the merge-request performance gate.</p><h3>Why the orchestrator lives in a separate repository</h3><p>We created a dedicated repository called performance-platform and implemented the orchestration layer in Go. It is deliberately separate from the PHP application repository, seconds-service.</p><p>The PHP application remains responsible for application-specific benchmark scenarios and instrumentation: the application timer, Doctrine instrumentation, and application-side OpenTelemetry instrumentation. The Go platform owns the scenario registry, execution orchestration, PostgreSQL metrics, baseline and comparison logic, result aggregation, reporting, dataset orchestration, and the planned Grafana integration.</p><p>The split gives us language independence and clearer ownership. The application does not need to know about dataset orchestration, comparison logic, or reporting. The platform can evolve its comparison rules, dataset sources, and reporting targets without requiring changes to application code. It also creates a path for other services to reuse the orchestration layer.</p><h3>The architectural decision that shaped the platform: two execution modes</h3><p>During design, we found that one workflow could not efficiently satisfy two very different jobs: making a fast merge decision and performing a deep investigation using realistic data and distributed tracing.</p><p>If every merge request restored a roughly 60 GB database and started a tracing stack, we would add latency and infrastructure dependencies to a decision that usually needs a quick answer: did this change regress performance beyond the accepted limit?</p><p>We split the platform into two modes, each optimized for a different purpose.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*teaQPNo8i0eHvZZLNbXpAg.png" /><figcaption><em>The MR gate optimizes for speed and deterministic decisions. Full E2E optimizes for realistic data and investigative depth.</em></figcaption></figure><h3>Mode A: the MR Performance Gate</h3><p>The MR Performance Gate is designed to run on every merge request. It uses a smaller benchmark dataset and collects application, Doctrine, and PostgreSQL metrics. It compares the candidate run with a baseline, evaluates the structured diff, and produces a PASS or FAIL result that can be used as a GitLab merge gate.</p><p>OpenTelemetry is intentionally off in this mode. The gate is optimized for speed, repeatability, and minimal infrastructure dependencies.</p><h3>Mode B: the Full E2E Performance Platform</h3><p>The Full E2E path is designed for deeper performance analysis against the roughly 60 GB restored staging dataset. It runs the full benchmark suite with OpenTelemetry enabled, and uses an OpenTelemetry Collector, Grafana Tempo, and Grafana to store, query, and investigate traces.</p><p>The target cadence is weekly against master, with the option to trigger a run manually against a selected feature branch. This path can take longer because it is not part of every merge decision. Its purpose is to provide realistic data volume and the telemetry needed to investigate a performance change.</p><p>Tempo is the current trace backend because it is OpenTelemetry-compatible, integrates with Grafana, and is purpose-built for distributed trace storage. It is a current implementation choice, not a hard architectural lock-in: the application emits telemetry through OpenTelemetry rather than a proprietary instrumentation format.</p><h3>Proving the Full E2E design locally before productionizing it</h3><p>Before investing in Kubernetes deployment, infrastructure-as-code, cluster networking, persistent observability infrastructure, and scheduled CI, we chose to prove the complete logical workflow locally.</p><p>The local proof of concept covered the flow from a sanitized benchmark dump in GCS, through dataset download and PostgreSQL restore, into benchmark execution. Application, Doctrine, and PostgreSQL metrics were collected, while OpenTelemetry sent traces through a local Collector to local Tempo and Grafana.</p><p>This allowed us to validate the end-to-end design without first building the production deployment. The target architecture keeps the same logical components; what changes is where they run.</p><h3>Correlating measurements and traces</h3><p>A trace is useful only if we can connect it to the benchmark execution that produced it. Every Full E2E run is assigned a unique <em>run_id</em>. That identifier acts as the correlation key between the run’s artifacts: <em>dataset_id</em>, Git reference, commit, scenario, application/Doctrine/PostgreSQL metrics, <em>trace_id</em>, and the Grafana view.</p><p>A <em>batch_id </em>identifies a suite-level execution: one invocation of run-all that executes multiple or all scenarios together. This gives us two useful levels of correlation. <em>run_id </em>identifies an individual benchmark run, while <em>batch_id </em>groups the scenarios from a larger execution.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*tAYbBo1OAsFwa0gpOT49Sw.png" /><figcaption><em>The run_id connects dataset identity, source revision, scenario measurements, trace identifiers, and the Grafana investigation view.</em></figcaption></figure><p>The Grafana experience is designed around reusable dashboards filtered by <em>run_id </em>or <em>batch_id</em>, rather than generating a new dashboard for every pipeline execution. A dashboard can also filter by dataset, Git reference, commit, scenario, and timestamp. This keeps the visualization model manageable as the number of runs grows.</p><h3>Cost and reliability were part of the design</h3><p>The two-mode architecture is a technical decision, but it is also a cost and reliability decision. The large dataset is not restored for every merge request. OpenTelemetry is off in the MR gate. Tempo and Grafana are not dependencies of merge decisions, so an observability-stack issue cannot block a code merge. Full E2E runs are initially weekly or on demand rather than per commit.</p><p>We also chose to reuse existing hosted Grafana rather than stand up another visualization service. Large benchmark artifacts live in object storage instead of Git, avoiding repository growth and unnecessary clone costs. The same PHPUnit scenarios participate in both workflows, so we do not need to maintain two separate test suites.</p><p>There are still operational trade-offs to manage. The staging-derived dataset can drift from current production data, so it needs periodic regeneration and an explicit dataset_id. The benchmark specification must evolve with schema and feature changes. The 60 GB restored footprint determines the disk requirements for Full E2E infrastructure. We also need to monitor benchmark variance, maintain baselines as application performance legitimately changes, align PostgreSQL versions, and apply bounded trace retention.</p><h3>What we learned</h3><p>The first lesson was to separate regression detection from regression investigation. They need different levels of data, observability, runtime, and infrastructure.</p><p>The second was that a benchmark dataset is part of the test platform, not just a file. Its size, sanitization, version, restore time, and compatibility with scenarios all affect whether results are repeatable.</p><p>The third was to measure from more than one layer. Doctrine tells us what the application asked the database to do. PostgreSQL statistics tell us what the database experienced. Application timing and memory tell us about the PHP execution cost. Traces help us investigate the path between components.</p><p>Finally, open standards do not remove the need for careful integration. OpenTelemetry gives us a vendor-neutral instrumentation interface, but the trace backend, storage, retention, and dashboards still need operational ownership.</p><h3>What comes next</h3><p>The next steps are focused on improving the quality of performance analysis. Beyond that, potential extensions include historical trend dashboards, OTel metrics for time-series visualization, instrumentation of additional services, tracing supporting infrastructure such as Redis and RabbitMQ, automatic N+1 detection, automatic slow-query analysis, performance-regression annotations on merge requests, and direct links from MR reports to relevant Grafana views.</p><p>These are future directions, not current capabilities. The existing architecture gives us a place to add them without changing the basic separation between benchmark execution, measurement, regression analysis, and investigation.</p><h3>Closing: owning the capability, not just replacing the tool</h3><p>We began with a dependency on a commercial profiler, but the work led us to a broader design. We decomposed that vendor-supplied capability into application measurement, ORM query analysis, database statistics, regression detection, distributed tracing, and visualization.</p><p>The result is an internal performance engineering platform built around existing PHPUnit scenarios, a versioned benchmark dataset, a Go orchestration layer, and open telemetry standards. The MR gate remains small and deterministic. The Full E2E path provides realistic data and deeper observability when we need to understand why performance changed.</p><p><strong><em>We did not replace one closed profiler with another. We separated the capabilities we needed, gave each one a clear responsibility, and connected them through explicit data and run identifiers.</em></strong></p><p>That is the pattern we wanted to share: make the merge decision fast and repeatable, keep investigation rich but deliberate, and treat datasets, measurements, baselines, and traces as parts of one coherent engineering workflow.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=dde29345eeac" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[The Privilege of Questioning]]></title>
            <link>https://medium.com/@deepikars/the-privilege-of-questioning-7712b34dcbd9?source=rss-f831b6b90d16------2</link>
            <guid isPermaLink="false">https://medium.com/p/7712b34dcbd9</guid>
            <dc:creator><![CDATA[Deepika R]]></dc:creator>
            <pubDate>Sat, 16 May 2026 08:16:33 GMT</pubDate>
            <atom:updated>2026-05-16T08:16:33.636Z</atom:updated>
            <content:encoded><![CDATA[<p>There are people who seek truth the way a scientist seeks a formula. Through questioning, analysis, understanding, and proof. And honestly, that is probably the noblest way to approach knowledge.</p><p>We celebrate the mind that doubts before it accepts and refuses to agree without evidence. I am guilty of doing this myself. But over the years there’s been a profound shift in this mental model of mine. Here’s an attempt to explain why.</p><p>In medicine, mathematics, aerodynamics, or quantum mechanics, blind belief can be dangerous. Understanding and questioning matter.</p><p>But spirituality belongs to a very different space in the human experience.</p><p>Not because it should never be questioned, and not because it is beyond logic, but because the people who seek spirituality are often not seeking expertise at all.</p><p>A person studying physics may want to master the universe.</p><p>A person seeking spirituality is often simply trying to survive life.</p><p>There is a huge difference between the two.</p><p>The human being who turns toward faith is not always sitting peacefully in a library with a notepad in their hands.</p><p>Sometimes they are sitting beside someone on their deathbed. Sometimes they are going through the final stages of a life ending illness themselves. Sometimes they are staring at the ruins of a marriage they gave everything to. Sometimes they are drowning in financial stress, carrying sadness too heavy to explain, or waking up every day with anxiety that no logic has been able to resolve.</p><p>And in those moments, spirituality is not approached as an academic subject.</p><p>It becomes a reason to believe that tomorrow might still be okay.</p><p>We often ask people, <strong>Why do you believe this without fully understanding it?</strong></p><p>But maybe the deeper question is:</p><p><strong>Why must understanding always come before peace?</strong></p><p>Why do we assume that every person searching for emotional stability must first become intellectually qualified in spirituality?</p><p>Not everyone who prays wants to become a philosopher.</p><p>Not everyone who believes wants to become a guru.</p><p>Some people are simply trying to find enough hope to get through another difficult day.</p><p>And maybe that is not weakness.</p><p>Maybe that is just deeply human.</p><p>Of course, there is immense beauty in studying deeply. Reading scriptures, understanding philosophies, questioning contradictions, contemplating existence with honesty. Anyone who wants to combine faith with understanding absolutely should.</p><p>But the existence of that path does not invalidate the simpler one.</p><p>A mother praying for her child does not need a complete scriptural understanding before her prayer becomes meaningful.</p><p>A dying person whispering the name of God does not need to first defend why he thinks God exists.</p><p>Sometimes faith comes before understanding because pain came before preparation.</p><p>And perhaps spirituality was never meant only for the intellectually sound. Perhaps it was also meant for the weak, the grieving, the anxious, the frightened, and ordinary people trying to carry the weight of life without collapsing under it.</p><p>We speak often about the dangers of blind belief, and nothing wrong with that . But there is another danger we rarely acknowledge. The privilege of believing that only the fully informed deserve spiritual peace.</p><p>Human beings are not machines built purely on logic.</p><p>We are emotional beings carrying invisible battles within us. And we never know what heals us!</p><p>And sometimes, belief, however blind, keeps a person alive long enough to continue their journey toward understanding.</p><p>Maybe faith and understanding were never enemies at all.</p><p>Maybe they are simply two different doors through which human beings try to search for meaning, purpose, peace, and the strength to endure life itself.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=7712b34dcbd9" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[From Monitoring to AIOps: Building an Agentic Queue Health Monitor]]></title>
            <link>https://medium.com/@deepikars/from-monitoring-to-aiops-building-an-agentic-queue-health-monitor-e199fe980264?source=rss-f831b6b90d16------2</link>
            <guid isPermaLink="false">https://medium.com/p/e199fe980264</guid>
            <dc:creator><![CDATA[Deepika R]]></dc:creator>
            <pubDate>Sat, 25 Apr 2026 11:48:39 GMT</pubDate>
            <atom:updated>2026-04-25T11:48:39.192Z</atom:updated>
            <content:encoded><![CDATA[<h3>The silent failure mode of queue-based systems</h3><p>RabbitMQ and similar messaging systems are foundational to modern distributed architectures. They allow services to decouple, scale independently, and process workloads asynchronously.</p><p>But they also introduce a class of failures that are deceptively quiet.</p><p>Unlike a crashing service, a queue rarely “fails” in a visible way. It continues to accept messages. Metrics continue to flow. From the outside, the system appears operational.</p><p>Until it isn’t.</p><p>A common failure scenario looks like this: producers continue publishing messages, while consumers — due to deployment issues, crashes, or configuration drift — stop processing them. Messages begin to accumulate. Latency increases. Downstream systems start to degrade.</p><p>By the time an alert is triggered, the system is already in a compromised state.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*MDnzW9bKN2MtfSevhE2zug.jpeg" /><figcaption>A typical failure mode: producers continue publishing while consumers are unavailable, leading to silent backlog accumulation.</figcaption></figure><p>Traditional monitoring tools capture this as rising queue depth or declining consumer count. But they stop there. They expose signals, not meaning.</p><p>They don’t answer the questions engineers actually care about:</p><p>Is this a transient spike or a failure condition?<br> What is the likely root cause?<br> What action should be taken — and is it safe?</p><p>This gap between <strong>signal and action</strong> is where most operational effort is spent.</p><h3>From observability to decision-making</h3><p>Over the past few years, AI has been widely adopted in the development lifecycle for code generation, testing and/or documentation. The next logical step is applying it to system operations.</p><p>This is the premise behind <strong>AIOps</strong>: not just collecting and visualizing data, but <strong>interpreting it and assisting with decisions</strong>.</p><blockquote>What is AIOps?</blockquote><blockquote>Artificial intelligence for IT operations (AIOps) is a process where you use artificial intelligence (AI) techniques maintain IT infrastructure</blockquote><blockquote><a href="https://aws.amazon.com/what-is/aiops/">https://aws.amazon.com/what-is/aiops/</a></blockquote><p>Instead of a linear pipeline:</p><p><em>Detect → Alert → Human investigates → Human acts</em></p><p>we begin to see a feedback loop:</p><p><em>Detect → Diagnose → Decide → Act</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*C7-CaQykQnpKFMnfS-A4Mw.png" /><figcaption>The shift from passive monitoring to active, AI-assisted operational decision-making.</figcaption></figure><p>The difference is subtle but significant. The system is no longer passive; it becomes an active participant in operations.</p><h3>An agentic approach to queue health</h3><p>To explore this idea, We built an <strong>Agentic Queue Health Monitor</strong> — a workflow that treats queue monitoring as a continuous control loop rather than a set of alerts.</p><p>At a high level, the system behaves like an <strong>SRE assistant</strong>. It continuously observes queue state, reasons about it using an AI model, evaluates possible actions through guardrails, and executes remediation where appropriate.</p><h4>What was actually built</h4><blockquote><strong>Flow</strong>:</blockquote><blockquote><strong>Cron Trigger → RabbitMQ API → Normalize Metrics → AI Diagnostic Engine → Threshold Evaluation →Auto-Purge (if required) → Email Notifications</strong></blockquote><p>This system was implemented as a lightweight, production-like workflow using existing tools rather than building a platform from scratch.</p><p>At the core, <strong>RabbitMQ (hosted on CloudAMQP) </strong>serves as the source of truth for queue telemetry. The system periodically queries the RabbitMQ Management API to retrieve metrics such as <em>queue depth, consumer count, and runtime state</em>.</p><p>This data is then passed into a workflow orchestrated using <strong>n8n</strong>. The choice of n8n was deliberate — it provides a simple way to model the entire control loop as a sequence of observable steps, while remaining flexible enough to integrate external systems.</p><p>Within the workflow, the raw telemetry is <strong>normalized </strong>and enriched before being sent to an<strong> AI model (initially Gemini, with support for other LLMs such as Claude via HTTP APIs). </strong>The model is prompted with structured input and returns a concise diagnostic output, including system status, likely cause, and recommended actions.</p><p>Importantly, the AI output is not treated as authoritative. It is passed through a <strong>decision layer </strong>implemented within the workflow, where predefined <strong>guardrails </strong>evaluate whether any action is safe to execute. These guardrails incorporate context such as queue criticality, backlog thresholds, and allowed operations.</p><p>Based on this evaluation, the system can take different paths. For non-critical scenarios, it may trigger remediation actions such as <strong>purging </strong>a queue or routing messages to a <strong>retry </strong>mechanism. For more sensitive cases, it limits itself to generating structured alerts and notifications. The workflow also supports actions at the infrastructure level, such as recommending or triggering <strong>consumer scaling</strong> and restart mechanisms through external APIs.</p><p>In parallel, the system generates human-readable outputs in the form of email notifications and daily summary reports. These reports consolidate queue health across the system and provide consistent, AI-generated operational insights.</p><p>The entire setup runs within a containerized environment using <strong>Docker</strong>, with deployment managed via <strong>Kubernetes and Helm</strong>. This ensures the workflow can be easily replicated, scaled, and integrated into existing infrastructure.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/915/1*FlmDDCtfhZpgo2aY4iWyrA.png" /><figcaption>High-level architecture showing how queue telemetry flows through AI reasoning and controlled remediation layers.</figcaption></figure><p>The key is not automation alone, but <strong>structured decision-making under constraints</strong>.</p><h3>The Reflections (Questions we answered for ourselves)</h3><h4>Turning metrics into diagnosis</h4><p><strong><em>Why AI?</em></strong></p><p>The first step is straightforward: collect queue telemetry from RabbitMQ via the management API.</p><p>Metrics such as queue depth, consumer count, and processing state provide a snapshot of system behavior. But their real value emerges when interpreted together.</p><p>A queue with a large backlog and no active consumers is not simply “busy” — it is likely stalled. A queue with growing backlog despite active consumers suggests a throughput bottleneck. Repeated retries may indicate poison messages circulating through the system.</p><p>This is where the AI layer comes in.</p><p>Using a lightweight model, the system transforms raw telemetry into <strong>contextual diagnosis</strong>, bridging the gap between observability and understanding.</p><h4>Decisions require constraints</h4><p><strong><em>Does this mean AI will take away our job? ;)</em></strong></p><p>If the system stopped at diagnosis, it would still be useful — but not transformative.</p><p>The real challenge lies in deciding what to do next.</p><p>In production environments, actions must be safe, contextual, and reversible where possible. The system therefore introduces a <strong>guardrail layer</strong> that evaluates risk before execution.</p><p>Queues can be classified by criticality, and each category is associated with a set of permitted actions. Thresholds determine when intervention is justified, and destructive operations are explicitly constrained.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/800/1*KjEa5BakAwbhaDylReCQuw.jpeg" /><figcaption>The agentic control loop: observe, reason, decide, and act — continuously adapting to system state.</figcaption></figure><p>This ensures that while the system can act autonomously, it does so within well-defined boundaries.</p><h4>Beyond purge: a spectrum of remediation</h4><p><strong><em>Is the decision making straight-forward?</em></strong></p><p>One of the key realizations during this work was that remediation is not a single action, but a continuum.</p><p>At the queue level, the system can intervene directly in the data plane — clearing backlogs in non-critical queues or isolating problematic messages by routing them to retry queues.</p><p>At the infrastructure level, it can operate in the control plane — triggering consumer restarts, recommending scaling actions, or escalating issues when automation is unsafe.</p><p>This layered approach allows for <strong>progressive intervention</strong>, balancing recovery speed with operational safety.</p><h4>Where scaling fits — and where it doesn’t</h4><p><strong><em>Why can’t we just scale consumers when queues fill?</em></strong></p><p>Systems like KEDA are highly effective at scaling consumers based on queue depth, ensuring that throughput matches demand during normal operation.</p><p>However, they assume that the system is fundamentally healthy.</p><p>When consumers fail due to configuration errors, crashes, or connectivity issues, scaling alone does not resolve the problem. In some cases, it amplifies failure.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*XXMR_CVGa8wLrTxiXHD3nQ.png" /><figcaption>Scaling optimizes performance under load, while agentic systems address failure diagnosis and recovery.</figcaption></figure><p>This highlights the complementary nature of the two approaches: one optimizes performance, the other ensures reliability.</p><h4>Toward AIOps</h4><p><strong><em>Isn’t that cool?!</em></strong></p><p>What emerges from this design is not just a tool, but a pattern.</p><p>A system that continuously observes, reasons, and acts begins to resemble an operational agent — one that assists engineers rather than replacing them.</p><p>While full autonomy remains a future goal, even constrained implementations provide significant value:</p><ul><li>Faster detection of failure conditions</li><li>Reduced manual investigation</li><li>More consistent operational responses</li></ul><h3>Closing thought</h3><p>The next big thing in the software engineering industry is building systems that can understand and act autonomously yet responsibly.</p><p>This project is a small step in that direction.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=e199fe980264" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Reflections – 1]]></title>
            <link>https://medium.com/@deepikars/reflections-1-2c1cd0784cd4?source=rss-f831b6b90d16------2</link>
            <guid isPermaLink="false">https://medium.com/p/2c1cd0784cd4</guid>
            <dc:creator><![CDATA[Deepika R]]></dc:creator>
            <pubDate>Sun, 04 Jan 2026 07:40:43 GMT</pubDate>
            <atom:updated>2026-01-04T07:40:43.141Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*waDXYOFy3p1Yr47_wEaEvA@2x.jpeg" /></figure><p>The image above is an excerpt from <strong>Letters from a Stoic</strong>, a collection of letters written by <strong>Seneca</strong> to his close friend.</p><p>What struck me while reading this passage is how familiar it sounds. Seneca wrote these words more than two thousand years ago (<a href="https://en.wikipedia.org/wiki/Seneca_the_Younger">around the time of birth of the Christ</a>) , yet he is already talking about living with less, eating only to satisfy hunger, owning only what is useful, and not confusing luxury with well being.</p><p>We often think of minimalism as a modern idea, something we need today because the world has become overly materialistic. But if Seneca felt the need to say this in his time, it means people were already chasing comfort, status, and excess back then too.</p><p>That makes me wonder, has humanity always wanted more?</p><p>History suggests that it has. Whenever people had more, they used it to build bigger homes, wear finer clothes, and display success. Wanting more appears to be part of human nature. It brings comfort and a sense of progress, but it can also take control.</p><p>Seen this way, minimalism is not a new lifestyle trend. It is a reminder that should show up whenever we start losing balance. Not to reject material things entirely, but to ensure they remain exactly that, <strong>things</strong>.</p><p>Maybe the question is not whether we should stop pursuing material growth, but whether every such pursuit needs a conscious pull back so that what we own never becomes more important than how we live.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=2c1cd0784cd4" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Two Days, Three Nights at Honnemaradu: Learning to Let Go]]></title>
            <link>https://medium.com/@deepikars/two-days-three-nights-at-honnemaradu-learning-to-let-go-c5b95eb383ef?source=rss-f831b6b90d16------2</link>
            <guid isPermaLink="false">https://medium.com/p/c5b95eb383ef</guid>
            <dc:creator><![CDATA[Deepika R]]></dc:creator>
            <pubDate>Sun, 28 Dec 2025 15:44:57 GMT</pubDate>
            <atom:updated>2025-12-28T16:00:31.927Z</atom:updated>
            <content:encoded><![CDATA[<p>I almost did not sign up for this trek.</p><p>When I first heard about it from Pooja, who runs my daughter Dharitri’s book club, my immediate reaction was hesitation. A two-day trekking trip with water activities did not sound like something I could realistically do. I was worried about my fitness levels, about being outdoors continuously, and most of all about taking my ten-year-old daughter along. In my head, adventure belonged to a different category of people. Fitter people. Braver people. People who were not chronic overthinkers.</p><p>So I let the idea pass.</p><p>A few days later, I found out that my niece and her mother had registered for the same trip. That changed everything. Dharitri was instantly excited at the thought of spending time with her cousin, and slowly, that excitement began to rub off on me. We enquired, very late and very tentatively, and thanks to some last-minute jugaad and the kindness of both Pooja and the trek organizer Madhu, we managed to get our slots confirmed.</p><p>Even after the booking was done, the anxiety did not leave me. In the days leading up to the trip, my mind ran through every possible worst-case scenario. What if I couldn’t keep up with the group. What if I fell sick. What if I embarrassed myself in front of experienced trekkers. What if I became an inconvenience to everyone else.</p><p>Packing, ironically, was the easiest part. I am very sorted when it comes to logistics. But mentally, I was restless. I kept reminding myself that I was 37 years old, and if I wanted adventure to be part of my life at all, I had to start somewhere. I did not want my life experiences to be limited by fear masquerading as practicality. This trip felt like an important first step.</p><p>The journey began late in the night, with a train from Kengeri to Talaguppa. The train was delayed by almost an hour, but in hindsight, that delay worked in our favor. It gave everyone time to settle in, talk to each other, and for the children to bond. The organizers handled everything calmly, making sure people were seated comfortably. By the time we finally settled down to sleep, the nervousness had softened into anticipation.</p><p>We reached Talaguppa around 7:30 in the morning.</p><p>That is when we met Nomito.</p><p>At first glance, she looked like just another person in a salwar kameez and hoodie. I will admit this honestly. I underestimated her in that first moment. But the moment she spoke, everything shifted. There was confidence in her voice, clarity in her instructions, and a calm authority that immediately put me at ease. I realised how quickly I had judged, and just as quickly, I let that judgement go. From that moment, I knew we were in capable hands.</p><p>The day began with kashaya.</p><p>A warm glass of it in the cold Malnad morning did something profound. It was not just about the drink. It was about what it symbolised. As the warmth settled inside us, it felt like we were being gently introduced to the rhythm of the region. Simple, grounded, close to nature. It was as if the forest was welcoming us in.</p><p>We were casually told that the walk from the railway station would be about five kilometres. No timelines. No warnings. I am now deeply grateful for that lack of detail.</p><p>The walk itself was magical. We started in the village, passing small shops and homes that looked straight out of a postcard. Coconut trees lined the way, banana plantations stretched out around us, and arecanuts were laid out to dry in front of homes. The villagers watched us with amused curiosity. Us bundled up in jackets, hoodies, and mufflers, while they went about their day comfortably dressed in saris and cotton shirts, completely adjusted to the weather.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/288/1*iAbGVwBv5eagf2BYpTyxiQ@2x.jpeg" /></figure><p>It was Dhanur Masa, and rangolis were everywhere. Entire families, men, women, and children, sat outside their homes, drawing beautiful rangolis together. What struck me the most was how everyone greeted Nomito. She spoke to each person like family, and it was clear she belonged there in a way city dwellers rarely belong anywhere. In Bangalore, we barely know our neighbours. Here, everyone knew everyone. That sense of community stayed with me long after we left the village behind.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/600/1*_SQfOoX44a4OWW9sEqN-8Q@2x.jpeg" /></figure><p>As the residential area thinned, the forest took over. Birdsong replaced traffic noise. Trees replaced buildings. Pooja, who is an avid bird-watcher, pointed out birds we heard and saw. Conversations flowed effortlessly, from parenting to books, music, science, and life itself. Children walked alongside adults, asking questions, laughing, observing.</p><p>Halfway through, we stopped for breakfast. Avarekai pulao was served, simple and delicious. Everyone had brought their own plates and tumblers. We ate mindfully, finished everything on our plates, and washed our own utensils. The children learned these habits not through instructions, but through quiet example.</p><p>Only later did we realise that those first five kilometres were just half the journey.</p><p>When we finally reached Honnemaradu, the Sharavathi backwaters opened up before us. Vast, calm, and beautiful. Another round of kashaya followed, clothes were changed, and life jackets were buckled on.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*uxBTQlTRKUDXXFFiCO7g6Q@2x.jpeg" /></figure><p>The water activities terrified me.</p><p>Nomito guided us patiently, showing us how to enter the water slowly, take three dips, and acknowledge the water as something alive. It was about building trust, not just ensuring safety. Others swam easily. Children laughed and splashed around. I stayed close to the shore, trying, floating briefly, not entirely satisfied but grateful that I had stepped in at all.</p><p>Lunch followed, back at the central circle. Meals were simple, nourishing, and communal. Discipline flowed naturally. No food waste. No water wastage. Everyone cleaning up after themselves. We pitched tents together, each person contributing, no hierarchy, no rush.</p><p>Later in the afternoon, over tea, Pooja led a reading session. A simple children’s book was passed around, with each participant reading a line. Children, teenagers, adults, even a sixty-year-old woman. Everyone read. The activity quietly dissolved age barriers. What followed was a sharing circle about grandparents. Stories poured out. Apple cake, handwritten letters, lullabies sung before birth. The space felt tender and deeply human.</p><p>Before sunset, we gathered by the shore for a thirty-minute silent session. No talking. No reading. Just sitting and listening to water, birds, and leaves. The silence was not empty. It was full, alive, and grounding. It is rare to experience silence like that without feeling the need to fill it.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/640/1*lsotLYh5qC0JlqqMe2Pruw@2x.jpeg" /></figure><p>Dinner was early. Chapatis and sambar. Then came the campfire. Nomito showed us how to light it naturally, without chemicals. Songs followed in multiple languages. Kannada, English, Spanish, Hindi. Children taught adults songs. Laughter echoed through the forest. Stories circled back to the fire, and the forest seemed to listen.</p><p>Sleep came easily that night.</p><p>The next morning, we packed up our tents once they dried and set out on the trek to Gali Gopura Betta. The climb was moderate, shaded, and steady. We took snack breaks, talked, paused, and encouraged each other. Reaching the peak felt triumphant. We cheered, took photographs, and soaked in views of the Sharavathi backwaters and the Linganamakki Dam. I surprised myself by how capable I felt.</p><p>Breakfast that morning was bisi bele bath with khara boondi. Comforting and hearty.</p><p>Before heading for the second day’s water activities, we performed a beautiful ritual to break the camp. One by one, each participant poured a tumbler of water over the campfire. Steam rose, ashes settled. We dipped our palms into the wet ashes and gently applied them to our own hands and each other’s faces. It felt symbolic. Marking the end of one phase before moving into the next. This was followed by a lively tribal song and dance. There was laughter, movement, and a sense of collective joy.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/600/1*zlI90HZytDKHIsq22kq4mw@2x.jpeg" /></figure><p>Then came the water again.</p><p>This time, I was half-excited and half-scared. A part of me secretly hoped the activity would be cancelled. But being part of a group removes the option to retreat easily, and that turned out to be a blessing. I made a conscious decision to let go. To trust the life jacket. To accept that I did not control everything.</p><p>Balu, one of the volunteers, helped me patiently. This time, I floated properly, moved freely, and stayed with the group. We were divided into two groups. One swimming while the other rafted to the island, then switching. When our raft neared the shore, we were given a choice. Jump into the water and swim back, or stay on the raft.</p><p>I jumped.</p><p>The decision was instinctive, unplanned, and incredibly liberating. In that moment, I felt like I was living the scene from Zindagi Na Milegi Dobara. Fully present, fearless, and alive.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/640/1*lnnDo2mGSuVFlUTw0GBPJQ@2x.jpeg" /></figure><p>After lunch and more relaxed chatter, we packed our bags, reluctant to leave. The final circle was filled with reflections, gratitude, and affection. We thanked each other, the organizers, the volunteers, and the space that had held us for two days.</p><p>The journey back to Bangalore began soon after, but not before one last shared pleasure. A perfectly crisp masala dosa at a hotel in Talaguppa.</p><p>I returned home with sore muscles, a calmer mind, and a quiet confidence I had not carried before. This trip did not just test my physical limits. It taught me about surrender, trust, community, and the healing power of nature.</p><p>Adventure, I learned, does not demand perfection.</p><p>Only presence.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/640/1*cwgWMXVAOWf_wDgUHcaVoQ@2x.jpeg" /></figure><p>More reading :</p><p>About Nomito Kamdar – https://youtu.be/nOTkpVrMjlY?si=LIYmTUkft8LVBCqa</p><p>About Honnemaradu – https://karnatakatourism.org/en/experiences/waterside-escapes-at-honnemaradu/</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c5b95eb383ef" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Life of a Toddler Programmer aka Mother]]></title>
            <link>https://medium.com/@deepikars/life-of-a-toddler-programmer-oops-mother-bb0190db8bf6?source=rss-f831b6b90d16------2</link>
            <guid isPermaLink="false">https://medium.com/p/bb0190db8bf6</guid>
            <dc:creator><![CDATA[Deepika R]]></dc:creator>
            <pubDate>Mon, 10 Jul 2023 09:08:58 GMT</pubDate>
            <atom:updated>2023-07-10T12:39:13.560Z</atom:updated>
            <content:encoded><![CDATA[<p>Wouldn’t it be delightful to explore the hilarious parallels between programming and the life of a toddler mom?</p><p>Be it the experiences of learning, problem-solving, patience, and multitasking, there are many unexpected connections between these two seemingly different worlds.</p><p>The never ending fiasco begins when I begin googling solutions to the latest toddler woes, just as in programming.</p><p>And they both can give you nightmares. While you will need to mask the series of logs on the console to be able to spot that one dangerous error and fix-it, here the endless cries will need to be taken care of first. Only to realise that a tiny ball was stuck under the chair. Not a monster who came and threatened to eat. If only toddlers too came with a handy debug button!</p><p>The competition that runs through the day between us is to see if I switch tabs faster than she switches her mind. Between two running git pipelines is a run to the loo. Or the ball pit. Or to the door. Or to the loo again.</p><p>On an average day, I’m either coding a solution to a twisted problem on my computer or decoding the problem my little human computer is so eloquently describing . A new random letter that she picks up everyday isn’t helping!</p><p>And this untangling linguistic gibberish is a primary skill. Sometimes it could be the cryptic error message on the screen and other times a new toddler jargon. And I must say in this case the former is not as cute as the latter.</p><p>“Availability”, “Flexibility”, “Agility” and not to mention “Multitasking” have new meanings now.</p><p>Stubborn bugs or even stubborn tantrums, ABCs or APIs, staying calm through it all is a superpower I wish to master.</p><p>Patience is the only virtue that can save you while managing both tiny humans and intricate code.</p><p>Finally, As I navigate both roles, I am learning to appreciate the unique challenges and triumphs they offer.</p><p>More power to us!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=bb0190db8bf6" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>