<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: sandeep chagalakonda</title>
    <description>The latest articles on DEV Community by sandeep chagalakonda (@sandeep_chagalakonda_6e60).</description>
    <link>https://dev.to/sandeep_chagalakonda_6e60</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F4112301%2Fc590b808-fb1d-4794-a410-103a49817f09.png</url>
      <title>DEV Community: sandeep chagalakonda</title>
      <link>https://dev.to/sandeep_chagalakonda_6e60</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/sandeep_chagalakonda_6e60"/>
    <language>en</language>
    <item>
      <title>The Day Our Green CI Pipeline Deployed an 11-Day-Old Bug to Production</title>
      <dc:creator>sandeep chagalakonda</dc:creator>
      <pubDate>Sat, 19 Sep 2026 14:30:53 +0000</pubDate>
      <link>https://dev.to/sandeep_chagalakonda_6e60/the-day-our-green-ci-pipeline-deployed-an-11-day-old-bug-to-production-1n3c</link>
      <guid>https://dev.to/sandeep_chagalakonda_6e60/the-day-our-green-ci-pipeline-deployed-an-11-day-old-bug-to-production-1n3c</guid>
      <description>&lt;p&gt;The Day Our Deployment Pipeline Deployed the Wrong Version to Production&lt;br&gt;
We had 47 green checkmarks. Every test passed. CI was happy. The deploy button was practically begging to be pressed.&lt;/p&gt;

&lt;p&gt;I pressed it.&lt;/p&gt;

&lt;p&gt;Twenty minutes later, a customer support ticket came in: "The export feature is completely broken. It's showing data from three weeks ago."&lt;/p&gt;

&lt;p&gt;Then another. Then five more.&lt;/p&gt;

&lt;p&gt;We hadn't broken the export feature. We had deployed a version of the code from eleven days earlier — quietly overwriting a critical bug fix and reintroducing a data staleness issue we'd already resolved.&lt;/p&gt;

&lt;p&gt;The scariest part? Our pipeline said everything was successful. No errors. No warnings. Green across the board. We had just shipped the wrong version of our own application with total confidence.&lt;/p&gt;

&lt;p&gt;Here's how that happened, and the changes we made so it can't happen again.&lt;/p&gt;

&lt;p&gt;The Setup: A Pipeline That Looked Solid&lt;br&gt;
Our deployment flow looked reasonable on paper:&lt;/p&gt;

&lt;p&gt;Push to main → Run tests → Build Docker image → Push to registry → Deploy to production&lt;br&gt;
Jenkins pipeline, roughly:&lt;/p&gt;

&lt;p&gt;groovy&lt;br&gt;
pipeline {&lt;br&gt;
    agent any&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;stages {
    stage('Checkout') {
        steps {
            git branch: 'main', url: 'https://github.com/company/order-service.git'
        }
    }

    stage('Test') {
        steps {
            sh 'mvn test'
        }
    }

    stage('Build') {
        steps {
            sh 'docker build -t order-service:latest .'
        }
    }

    stage('Push') {
        steps {
            sh 'docker push registry.company.com/order-service:latest'
        }
    }

    stage('Deploy') {
        steps {
            sh 'kubectl set image deployment/order-service order-service=registry.company.com/order-service:latest'
        }
    }
}
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;

&lt;p&gt;}&lt;br&gt;
Notice anything? I didn't, for months. Everything is tagged :latest.&lt;/p&gt;

&lt;p&gt;That single word — latest — was about to cause a very bad Tuesday.&lt;/p&gt;

&lt;p&gt;The Failure: How "Latest" Betrayed Us&lt;br&gt;
Here's the actual sequence of events, once we reconstructed it from logs:&lt;/p&gt;

&lt;p&gt;Step 1: A teammate had an old feature branch, checked out locally from &lt;br&gt;
crossposting:&lt;a href="https://sandeeptechieeblogs.blogspot.com/2026/09/the-day-our-green-ci-pipeline-deployed.html" rel="noopener noreferrer"&gt;https://sandeeptechieeblogs.blogspot.com/2026/09/the-day-our-green-ci-pipeline-deployed.html&lt;/a&gt;&lt;/p&gt;

</description>
      <category>springboot</category>
      <category>systemdesign</category>
      <category>java</category>
      <category>productivity</category>
    </item>
    <item>
      <title>How My Microservices Architecture Collapsed (And How I Fixed It)</title>
      <dc:creator>sandeep chagalakonda</dc:creator>
      <pubDate>Fri, 11 Sep 2026 14:58:53 +0000</pubDate>
      <link>https://dev.to/sandeep_chagalakonda_6e60/how-my-microservices-architecture-collapsed-and-how-i-fixed-it-3o5d</link>
      <guid>https://dev.to/sandeep_chagalakonda_6e60/how-my-microservices-architecture-collapsed-and-how-i-fixed-it-3o5d</guid>
      <description>&lt;p&gt;It was 11 PM on a Friday when my phone started buzzing non-stop.&lt;/p&gt;

&lt;p&gt;Not the good kind of buzzing. The kind that means production is on fire.&lt;/p&gt;

&lt;p&gt;I opened Slack. 47 unread messages. The order service was throwing timeouts. The payment service couldn't reach the inventory service. Customers were seeing spinning loaders that never stopped spinning.&lt;/p&gt;

&lt;p&gt;Our "scalable microservices architecture" — the one I was so proud of three months earlier — had turned into a house of cards. And someone had just sneezed.&lt;/p&gt;

&lt;p&gt;Here's what happened, why it happened, and how I fixed it so it never happened again.&lt;/p&gt;

&lt;p&gt;The Setup: When Microservices Felt Like a Good Idea&lt;br&gt;
Six months earlier, we split our monolith into five services:&lt;/p&gt;

&lt;p&gt;Order Service → Payment Service → Inventory Service → Notification Service → Shipping Service&lt;br&gt;
On paper, this looked great:&lt;/p&gt;

&lt;p&gt;Each team owns their service&lt;br&gt;
Independent deployments&lt;br&gt;
Scale services individually&lt;br&gt;
Clean separation of concerns&lt;br&gt;
In practice, we had created a distributed monolith. Every service called every other service synchronously, and none of us had thought about what happens when one link in that chain gets slow — or breaks entirely.&lt;/p&gt;

&lt;p&gt;Because "later" showed up for us at 11 PM on a Friday. It probably will for you too.&lt;/p&gt;

&lt;p&gt;Questions? Comments? Drop them below. I read and reply to every comment.&lt;/p&gt;

&lt;p&gt;Related Reading&lt;br&gt;
Why Your Spring Boot API is Slow: The N+1 Query Problem&lt;br&gt;
How Redis Reduced My Spring Boot API Response Time from 800ms to 5ms&lt;br&gt;
Building a Secure JWT Authentication Filter in Spring Boot 3 &lt;br&gt;
Cross-posted from my blog:&lt;a href="https://sandeeptechieeblogs.blogspot.com/2026/09/how-my-microservices-architecture.html" rel="noopener noreferrer"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Follow for more production engineering insights on Java, Spring Boot, and distributed systems.&lt;/p&gt;

</description>
      <category>ai</category>
      <category>java</category>
      <category>springboot</category>
      <category>productivity</category>
    </item>
    <item>
      <title>"Why Your Spring Boot API is Slow: The N+1 Query Problem (And How I Fixed It in Production)"</title>
      <dc:creator>sandeep chagalakonda</dc:creator>
      <pubDate>Sun, 06 Sep 2026 12:50:10 +0000</pubDate>
      <link>https://dev.to/sandeep_chagalakonda_6e60/why-your-spring-boot-api-is-slow-the-n1-query-problem-and-how-i-fixed-it-in-production-3pmk</link>
      <guid>https://dev.to/sandeep_chagalakonda_6e60/why-your-spring-boot-api-is-slow-the-n1-query-problem-and-how-i-fixed-it-in-production-3pmk</guid>
      <description>&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F3f1284nzacuv44fz3ff9.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F3f1284nzacuv44fz3ff9.jpg" alt=" " width="800" height="533"&gt;&lt;/a&gt;I was debugging a Spring Boot API at 2 AM on a Tuesday when I realized something that should have been obvious: my database query was being executed 500 times per request.&lt;/p&gt;

&lt;p&gt;Not 5 times. Not 50 times.&lt;/p&gt;

&lt;p&gt;Five. Hundred. Times.&lt;/p&gt;

&lt;p&gt;One single user request → 500 SQL queries → API response time: 3.2 seconds.&lt;/p&gt;

&lt;p&gt;That's when I learned about the N+1 query problem. And how it nearly destroyed production.&lt;/p&gt;

&lt;p&gt;The Setup: Everything Seemed Fine&lt;br&gt;
Our food delivery microservice was working great. Orders were being processed, customers were happy, and performance looked good in development.&lt;/p&gt;

&lt;p&gt;Then we hit production traffic.&lt;/p&gt;

&lt;p&gt;Day 1: Latency: 200ms ✅ Day 5: Latency: 500ms ⚠️ Day 10: Latency: 1.2 seconds 🔴 Day 15: Latency: 3+ seconds 💥&lt;/p&gt;

&lt;p&gt;Our API was getting slower every single day. And we had no idea why.&lt;/p&gt;

&lt;p&gt;I grabbed a profiler and started investigating. That's when I found it: the N+1 query catastrophe.&lt;/p&gt;

&lt;p&gt;What Is the N+1 Query Problem?&lt;br&gt;
Imagine you want to fetch a list of orders with their customers.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Cross-posted from my blog:&lt;/strong&gt; &lt;a href="https://sandeeptechieeblogs.blogspot.com/2026/09/why-your-spring-boot-api-is-slow-n1.html" rel="noopener noreferrer"&gt;Spring Boot N+1 Query Problem&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Follow for more production engineering insights on Java, Spring Boot, and distributed systems.&lt;/p&gt;

</description>
      <category>productivity</category>
      <category>java</category>
      <category>springboot</category>
      <category>webdev</category>
    </item>
  </channel>
</rss>
