After building the first version of the web coding playground, I started noticing places where the system could be faster, lighter, and more efficient.
The first challenge I wanted to tackle was boot time — how long it took for a containerized environment to become fully operational after being scheduled on Kubernetes.
Part 1: Build A Scalable Web Coding Playground Infrastructure
I remember the first time I used a sophisticated online coding playground like codedamn. It wasn't just a single-file snippet editor. It was a full, containerized environment where I could:
- Spin up an entire React or Next.js app with preview.
- Run a Java program or a Go code.
- Install dependencies, run builds, and see live output—all in the browser.
The experience was incredibly fast, smooth, and reliable. I was blown away. And immediately, the engineer in me asked: "How on earth is this built?"
This blog is the story of my deep dive into that question. It's not a tutorial for a finished product, but a research log of the architectural problems I identified and the potential solutions I explored to build such a system at scale.
Mastering Error Handling: Common Mistakes and Best Practices
Error handling is one of the most critical yet often overlooked aspects of software development.Poor error management can lead to confusing bugs, hard-to-maintain code, and a terrible user experience. In this blog, we’ll look at common mistakes developers make while handling errors and discuss best practices to handle them effectively.
Stop Being So Opinionated
Aight, today I want to talk about something I see way too often—both online and in real life:
the endless hunt for other people’s opinions. Just the other day, I saw a post on Reddit where someone asked,
Should I buy Harkirat's cohort course?
Build your own video processing and streaming architecture
Hey everyone,
I'm thrilled to share a recent milestone in my personal project journey: completing a significant aspect of my video processing infrastructure. I've always been fascinated by the mechanics behind platforms like YouTube, which seamlessly process video files into multiple qualities in a highly scalable manner. While AWS MediaConvert is a popular choice for this task, I've discovered a cost-effective alternative that I'm excited to share with you. Let's delve into the architecture of my implementation