🎟️ Why One Seat Can't Be Sold Twice: The Engineering Behind Bulletproof Booking SystemsSep 12, 2025·5 min read
🔍 Tracing & 🚨 Alerting in System Design (Part 3 of Observability Series)Sep 11, 2025·4 min read
Pinned🛡️ Bulkhead Pattern in System Design: A Beginner’s Guide to Building Resilient SystemsIntroduction: Why Do Systems Fail So Badly? Imagine you’re on a cruise ship 🛳️. One part of the ship gets a hole — does the entire ship sink immediately? No. Ships are divided into sealed compartments (bulkheads) so that damage in one part doesn’t f...Sep 10, 2025·4 min read
A Beginner's Guide to Conflict-Free Replicated Data Types (CRDTs)Introduction: Why Conflicts Happen in Distributed Systems Imagine you and your friend are both editing the same shared to-do list. You add “Buy milk”. At the same time, your friend adds “Buy bread”. When the system tries to merge these updates, w...Sep 10, 2025·5 min read
🕒 Why Time Is Tricky in Distributed Systems: A Beginner’s Guide with Lamport and Vector ClocksIntroduction: Why Ordering Events Matters Imagine you’re chatting with a friend on WhatsApp. You send “Hello” and then “How are you?”. But when your friend opens the chat, they see: How are you? Hello That feels weird, right? The order of messages m...Sep 8, 2025·5 min read
How Do Database Transactions Really Work? I Built a Mini Key-Value Store to Find OutI tried implementing a mini in-memory key-value data store that supports transactions, rollback, and commit — just to see how databases handle these operations under the hood. Turns out, it’s a fascinating journey of layers, reversibility, and data i...Jul 10, 2025·4 min read
Exploring Python Enums: Adding Custom Data to ConstantsIf you've been working with Python for a while, you've probably used Enums for simple constants. But did you know that Python Enums can carry custom data and behave like mini data classes? Let me show you a powerful pattern that will change how you t...Jun 7, 2025·5 min read
Understanding the SAGA PatternIntroduction In distributed systems, maintaining data consistency across multiple services is challenging, especially in financial applications where transactions must be atomic and reliable. The SAGA pattern is a design pattern that helps manage dis...Jun 7, 2025·3 min read
Fine-Tuning a Pretrained Model for BeginnersA Step-by-Step Guide to Training Your Own AI Model 1. What is Fine-Tuning? Fine-tuning is like teaching a well-read scholar to specialize in a new field. Imagine someone who’s read thousands of books (the pretrained model) – we’re giving them a cras...May 16, 2025·5 min read