Blog

Technical Writings

Deep dives into distributed systems, software engineering architecture, and lessons from building at scale.

Feature Flags: How to Deploy Safely to Production at Big Tech Scale

From naive SQL queries on the hot path to deterministic evaluation engines backed by Redis and pub/sub invalidation — how feature flags actually work at 10,000 TPS.

#distributed-systems #feature-flags #backend #architecture #big-tech

Zero-Downtime Migration of Amazon Business Checkout to Microservices Using the Strangler Fig Pattern

How I migrated the high-traffic Amazon Business Checkout page from a Java monolith to a scalable microservices architecture with zero downtime, using the Strangler Fig pattern.

#java #microservices #distributed-systems #amazon #architecture

Zenoh vs Kafka: Choosing the Right Messaging Backbone for Your System

A deep dive into the architectural differences between Zenoh and Kafka, and when to choose each for your messaging backbone.

#architecture #kafka #zenoh #messaging #distributed-systems

Building a Kafka Clone from Scratch in Go

An educational odyssey into the heart of bit-flipping, disk persistence, and network protocols by building Samsa: a lightweight Kafka clone in Go.

#go #kafka #distributed-systems #performance

Evolving my Python Redis Clone: From Request-Response to Pub/Sub

How I shifted from a request-response paradigm to an async Pub/Sub architecture using inverted indices and asyncio in my custom Redis engine.

#python #asyncio #architecture #redis

How I Built a Redis Server from Scratch in Python

A high-performance async Redis client built from scratch in Python.

#python #asyncio #distributed-systems #performance