Chapter 21

The Grand Finale: A Live Failover

Subhash Choudhary · 10 min read

The story of Dukaan was no longer a secret. After the Scaler podcast, our engineering culture and my personal journey were out in the open. But it was our next move-the public announcement of our migration to bare metal and the almost unbelievable 95% cost savings-that truly set the Indian tech community ablaze.

The reaction was a mix of awe, disbelief, and outright skepticism. Blog posts were written, and Twitter threads debated our sanity. "It's impossible to save that much." "Their reliability must be terrible." "It's a great story, but it can't be real."

We had told the world we had built a better, cheaper, and faster engine. Now, the world wanted to look under the hood.

This is the story of the day we didn't just open the hood; we took a sledgehammer to the engine, live on camera, to prove how fast it could repair itself.

Part 1: The Challenge - "Asli Engineering"

Amidst the buzz and debate, an email arrived from Arpit Bhayani. Arpit is an ex-Googler and the creator of "Asli Engineering," a tech YouTube channel deeply respected by the best engineers in the country. His brand wasn't about high-level founder stories; it was about getting your hands dirty, diving into the code, and exploring technology from first principles. "Asli Engineering" translates to "Real Engineering," and it was a direct challenge to the often superficial, buzzword-driven conversations in the tech world.

An invitation from Arpit was different. It wasn't a friendly chat; it was a public technical audit. He wanted to talk about our move to bare metal, and I knew he would dig deep into the "how" and "why."

This time, something in me was different. The impostor syndrome that had haunted me before the Scaler podcast was gone. That experience had taught me a valuable lesson: the community didn't care about my degree; they cared about the problems I had solved.

My feeling wasn't fear; it was a fierce sense of pride in what our team had built and a frustration with the skepticism. I knew we had built something special, something that went against the common "cloud-only" dogma. I also knew that talk is cheap. I could spend an hour telling Arpit our system was resilient, but it wouldn't be enough to convince the doubters.

I needed to do something more. I needed to show them.

As we were planning the podcast, I had an idea-an idea that was equal parts brilliant and insane. I decided to pitch it to Arpit on our prep call.

"Arpit," I began, trying to sound casual, "the conversation about bare metal and cost is great. But anyone can show a cost-saving chart. I want to show them why we're so confident in this setup. I want to show them the resilience."

"What do you have in mind?" he asked.

"Let's do a live failover," I said. "While we're recording, live on air, I'll open a terminal, SSH into one of our main European production servers... and I'll shut it down completely."

There was a pause on the line. I could almost hear the gears turning in his head-the engineer in him calculating the immense risk, the showman in him recognizing the incredible drama.

"You're serious?" he finally said.

"One hundred percent," I replied. "I want people to see, with their own eyes, what happens. I want them to see the Anycast network re-route, the system heal itself, and the site stay online. No tricks, no edits. We do it live."

Arpit's response was pure "Asli Engineering." He didn't sound worried; he sounded thrilled. "Okay," he said, a grin evident in his voice. "Let's do it. Fatega to dekha jayega." (If it breaks, we'll see.)

The stage was set. This wasn't just going to be another podcast. It was a high-wire act without a net. A live, public stress test of our entire global architecture and, with it, the entire reputation of our engineering team. We were about to put everything on the line to prove our point.

Part 2: The Live Failover - Shutting Down Production

The first half of the podcast with Arpit was the deep dive. We had talked through our "Asli Engineering" philosophy. We had shown our CI/CD configs. We had debated the merits of bare metal versus cloud, backing it all up with our own shocking cost and performance data.

But talk is cheap.

"This all sounds incredible," Arpit said, leaning into the camera, playing the part of the skeptic. "But it's a complex system. How do you know it's as resilient as you say it is?"

I grinned. This was the moment I had been waiting for.

"That's a fair question," I replied. "So, let's not just talk about it. Let's test it. Right now. Live."

I shared my screen. The audience wasn't looking at slides anymore. They were looking at my desktop.

Step 1 & 2: Establishing the Baseline

"Okay, first, let's look at a live store," I said, typing in the URL for buywow.in, the official site for Wow Skin Science. The page loaded instantly.

I opened the browser's developer tools and went to the Network tab. I pointed my mouse at the response headers for the main document. "See this?" I said, highlighting a custom header. "x-edge-route: bom1. That's our internal routing code. That tells us my request from here in India is being served by our bare-metal cluster in Mumbai. Fast and local."

"Now, let's see how it performs for the rest of the world." I opened the global latency test tool from KeyCDN. I typed in the URL and hit "Test." A world map appeared, and within seconds, the results started populating.

The numbers were beautiful. They were the physical proof of our 100ms promise.

The Grand Finale: A Live Failover

The Grand Finale: A Live FailoverThe Grand Finale: A Live FailoverThe Grand Finale: A Live Failover

Step 3 & 4: Proving the Edge

"This," I explained, "is only possible because we are serving the site from the edge. If we were serving all of this from a single location in India, the response time for London and New York would be over 200ms, guaranteed. This is the speed of light tax we talked about, and we've eliminated it."

To drive the point home, I clicked on the result for Frankfurt in the test tool. The response headers popped up. "Look. For the test from Germany, the x-edge-route is ams1. The request was automatically served from our cluster in Amsterdam, the nearest node." The Anycast network was working perfectly. The audience could now see, with their own eyes, that our claims were real.

Step 5 & 6: The Point of No Return

I took a deep breath. "Now for the fun part," I said. "Let's break something."

I switched to my terminal. The black screen with green text filled the stream. "I am now going to SSH into our live, production Kubernetes node in our New York data center." The audience watched as I typed ssh root@ny-prod-01 and the login prompt appeared.

"This machine is live," I narrated. "It's serving traffic right now for a portion of our users on the US East Coast." I ran htop to show the running processes-the live containers doing their work.

Then, I moved my cursor to a new line. The tension was palpable. Arpit was leaning in, watching my screen with a look of pure, nerdy excitement.

"Okay," I said. "Let's shut it down."

I typed the command, slowly, deliberately:

sudo shutdown -h now

I hovered my finger over the Enter key for a beat, letting the gravity of the moment sink in. Then I pressed it.

My SSH session instantly died. The connection was lost. The server in New York was going offline.

Step 7, 8 & 9: The Magic

Without missing a beat, I switched back to the KeyCDN tool. "Okay, the New York server is dead. Let's re-run the test." I clicked the button.

The results started coming in again. London, fast. Frankfurt, fast. Singapore, fast. Then the result for New York appeared. The status was still a green 200 OK. The site was still online.

But the TTFB had changed dramatically. It was no longer a snappy 34ms. It was now 231ms.

I clicked on the result to show the headers. "And here is the magic," I said, pointing to the screen. "Look at the x-edge-route. It's no longer New York. It now says la. Our Anycast network detected that the New York node was down and, in seconds, automatically re-routed all of our East Coast traffic to the next nearest healthy location: Los Angeles."

I turned back to the camera. "The latency is higher, yes, because the physical distance for the user is now greater. But the site never went down. Not a single packet was dropped. An instant, automatic failover."

Arpit's reaction was epic. He was speechless for a second, then just broke into a huge grin, shaking his head in disbelief. "That is insane," he said. "You actually just did that. You shut down a production server, live, and it just... worked. That is 'Asli Engineering'."

Of course. Here is the final part of this chapter, capturing the aftermath of our grand finale.

Part 3: The Echo

The live demo was the ultimate mic drop. In that one moment, we had moved from making claims to providing undeniable proof. The high-wire act was over, and we had landed it perfectly.

Arpit's stunned, excited reaction was the first wave, but the real impact came in the days and weeks that followed, in the form of an incredible outpouring from the engineering community. The YouTube comments section became a testament to what we had accomplished. It was the echo of our work, and it was louder than we could have ever imagined.

The Community Reaction: "This is Insane!"

The reaction wasn't just positive; it was electric. People were not just impressed by the technology, but by the audacity and transparency of the demo itself.

The live shutdown became the stuff of legend. The comments section was filled with people in disbelief:

They saw the confidence it took to perform such a risky act live. One commenter, @x87-64, wrote, "Man he is knowledgeable and confident enough to show the inside workings of his company. Really respect him." This was the core of it. We weren't hiding behind marketing slides; we were showing our real, working, and sometimes messy infrastructure to the world. And the community respected that. As another viewer put it, "How many CTO / Founder share so much of internal working code on YouTube... He knows that sharing helps people to learn."

The "Asli Engineering" Philosophy

Our message of simplicity, first-principles thinking, and challenging the cloud-first dogma had found its tribe. The comments celebrated this mindset:

The podcast became more than just an interview; it was a rallying cry for a different way of building. The engagement was off the charts. People who intended to watch for a few minutes found themselves captivated. As one viewer, @_Yash_Agarwal, wrote in a comment that touched our whole team: "Man this video is insane... I've literally been doing engineering for last few years but it was all about writing code... but no one ever talks about these optimisations from the perspective of costs... Ive never commented on any youtube video before, creating a channel just to comment on this one."

The Final Validation

This was the culmination of our entire journey. We had gone from a single, crashing 512MB server that woke me up with terror in the middle of the night, to a global, self-healing network that I could confidently try to break on a live stream without even flinching.

That confidence wasn't arrogance. It was a deep, earned trust.

We weren't afraid of a server failing because we had architected for failure. We had embraced the philosophy of "Fatega to dekha jayega"-not as a reckless gamble, but as a statement of confidence in our ability to recover instantly and automatically.

The podcast was the ultimate proof. We had not just mastered the machine; we had demonstrated that mastery to the world.

Key Takeaways

  • The ultimate test of a resilient system is its ability to handle live, unexpected failure with grace. Don't just believe your system is resilient; test it.
  • Radical transparency builds immense trust. Showing your real architecture, your real numbers, and even trying to break your own systems in public is a powerful way to establish your credibility and attract the best talent.
  • "Asli Engineering"-a mindset focused on simplicity, first principles, and cost-effectiveness-resonates deeply with passionate engineers.
  • Show, don't just tell. The most powerful story you can ever tell is a live demonstration. One successful failover is worth a thousand slides on high availability.