Blog

Writing and notes

Short posts, technical notes, and project updates. Add a Markdown file and it appears here automatically.

May 7, 2026

What is an API Gateway?

Interview notes on gateway routing, middleware, caching, scaling, and when to use a gateway at all.

system-designgatewaymicroservices

May 7, 2026

Design a URL Shortener

Interview notes on short-code generation, redirects, caching, uniqueness, and scaling a Bitly-like service.

system-designshortenercache

May 7, 2026

What is Cassandra?

Interview notes on Cassandra's wide-column model, partitioning, consistency levels, write path, and schema design.

system-designcassandranosql

May 7, 2026

System Design Interview Patterns

A practical pattern catalog for realtime updates, long-running tasks, contention, reads, writes, blobs, multi-step flows, and proximity search.

system-designpatternsinterview

May 7, 2026

System Design Core Concepts

A compact interview guide to scaling, CAP, locking, indexing, communication, security, and monitoring.

system-designinterview-notesdistributed-systems

May 7, 2026

Design a Distributed Rate Limiter

Interview notes on rate limiting algorithms, storage choices, consistency tradeoffs, and API placement.

system-designrate-limitingredis

May 7, 2026

Design Facebook Post Search

Interview notes for a custom inverted-index search system with hot/cold storage, ranking, and query-time intersection.

system-designsearchindexing

May 7, 2026

Design Google Docs

Interview notes for a real-time collaborative editor using WebSockets, operational transformation, and durable operation logs.

system-designrealtimecollaboration

May 7, 2026

Design LeetCode

Interview notes for executing untrusted code safely with isolated workers, queues, and cached leaderboards.

system-designsandboxingqueues

May 7, 2026

Design Robinhood

Interview notes for live stock pricing, order lifecycle management, exchange connectivity, and low-latency fan-out.

system-designtradingrealtime

May 7, 2026

Design Uber

Interview notes for geospatial driver matching, location updates, locking, and low-latency ride dispatch.

system-designgeomatching

May 7, 2026

Design a Ticket Booking Site

Interview notes for event browsing, seat reservation, booking consistency, caching, and virtual queues.

system-designbookingconsistency

May 7, 2026

Design WhatsApp

Interview notes for a real-time messaging system with persistent connections, guaranteed delivery, inbox tracking, and media uploads.

system-designmessagingrealtime

May 7, 2026

Design YouTube

Interview notes for a global video platform built around direct uploads, transcoding pipelines, manifests, and CDN delivery.

system-designvideocdn

May 7, 2026

Design Facebook Live Comments

Interview notes for high-fanout live commenting with aggregation, async delivery, and low-latency state updates.

system-designrealtimeaggregation

May 7, 2026

Design a Distributed Cache

Interview notes for a Redis-like distributed cache with LRU eviction, consistent hashing, replication, and hot-key handling.

system-designcacheredis

May 7, 2026

Design Facebook's News Feed

Interview notes for a chronological feed built around fan-out on write, fan-out on read, and a hybrid celebrity strategy.

system-designfeedfanout

May 7, 2026

How to Scale Writes

A practical write-scaling playbook: vertical scaling, sharding, queues, batching, and hot-key handling.

system-designscalingdatabases

May 7, 2026

Design a News Aggregator

Interview notes for a Google News style feed with publisher polling, cursor pagination, regional caches, and article metadata.

system-designnewsfeeds

May 7, 2026

System Design Core Concepts

A compact reference on scaling, CAP, locking, indexing, protocols, security, and monitoring.

system-designfoundationsdistributed-systems

May 7, 2026

Design YouTube's Top-K Videos Feature

Interview notes for exact top-K ranking over huge view streams using sharded counters, heaps, snapshots, and time windows.

system-designrankingstreaming

May 7, 2026

How to Scale Reads

A practical mental model for scaling read-heavy systems, from indexes to replicas, caches, CDN, and sharding.

system-designpostgresqlscaling