Shastri's Blogs

Welcome to my blog :>

[ Technology ]

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.

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