Library

All Articles

Technical deep-dives on algorithms, system design, networking, and distributed systems — organized by topic.

Data Structures & Algorithms

Binary Search — Concept

Binary search is not just searching in a sorted array. It's about finding a boundary in a monotonic decision space. Covers templates, invariants, and floating-point binary search.

Jan 26, 202610 min read

Binary Search — Practice Questions

Curated list of 40+ binary search problems from LeetCode, GeeksforGeeks, Codeforces, and SPOJ — organized by pattern.

Mar 14, 20265 min read

Heaps & Heapsort — One-shot notes

Priority Queue ADT, Binary Heap (max & min), Max_Heapify, Build_Max_Heap, HeapSort — complete walkthrough with demos, pseudocode, and complexity proofs.

Mar 5, 202625 min read

Priority Queue — Practice Problems

A categorized list of easy, medium, and hard heap and priority queue interview problems.

Mar 4, 20265 min read

Time & Space Complexity Analysis

Comprehensive guide to asymptotic analysis, Big-O, recurrences, Master Theorem, Akra–Bazzi, and amortized analysis — with mathematical methods and practice problems.

Mar 19, 202630 min read

High Level Design

SSL / TLS Explained

HTTP vs HTTPS, TLS handshake, TLS 1.3, certificates & CAs, symmetric vs asymmetric encryption, AES-256, cipher suites, mTLS, attacks & mitigations, and best practices.

Mar 20, 202625 min read

JWT & Auth

How JSON Web Tokens actually work — structure, signing and verification, auth flows, access and refresh tokens, and the security pitfalls, compiled into one unit.

Aug 27, 202620 min read

Netflix Hollow — Deep Dive

How Netflix Hollow replicates a read-only, in-memory dataset from one producer to many consumers — snapshots, deltas, reverse deltas, ordinal-based columnar storage, producer/consumer lifecycle, and failure modes.

Jun 21, 202635 min read

Dynamo: Amazon's Highly Available Key-value Store

Amazon's 2007 Dynamo paper — a decentralized, highly available key-value store: consistent hashing, vector clocks, sloppy quorums, hinted handoff, Merkle trees, and gossip-based membership.

Jul 11, 202645 min read

Cluster Architecture — Building Up the Ring

Build a Cassandra cluster from one node up — naive partitioning, consistent hashing, virtual nodes (vnodes), replication, and rack-aware placement, derived from first principles.

Jul 10, 202628 min read

Consistency

Tunable consistency in Cassandra — why different operations need different correctness, quorums, R + W > N, read repair, and consistency levels.

Jun 29, 202620 min read

Cassandra Storage Engine Internals

Why Cassandra uses LSM trees instead of B-trees — memtables, SSTables, the commit log, compaction, bloom filters, and the read/write paths.

Jul 12, 202650 min read

How Discord Stores Billions of Messages

How Discord scaled message storage to billions on Cassandra — data modeling, partitioning by bucket, and the operational lessons learned.

Jul 5, 202610 min read

How Discord Stores Trillions of Messages

How Discord moved from Cassandra to ScyllaDB to store trillions of messages — GC pain, hot partitions, and a shard-per-core C++ rewrite.

Jul 8, 202622 min read

Multi-Paxos Deep Dive

How Multi-Paxos elects a stable leader to turn single-value Paxos into an efficient, fault-tolerant log-replication engine for distributed databases.

Jul 30, 202616 min read

Nginx Deep Dive

How NGINX serves hundreds of thousands of concurrent connections on modest hardware with a small pool of event-driven worker processes.

Aug 12, 202628 min read

How Amazon S3 Works — Durability & Scale

How Amazon S3 reaches 11 nines of durability and serves over 1 PB/s by erasure-coding objects into shards spread across millions of cheap drives.

Aug 9, 202617 min read

The October 2025 DynamoDB us-east-1 Outage

How a latent race condition in DynamoDB's automated DNS management emptied the us-east-1 endpoint's DNS record and cascaded into a ~14.5-hour AWS outage.

Oct 20, 20258 min read

Dynamo & Bigtable Inheritance

How Cassandra inherits its cluster mechanics from Amazon Dynamo and its on-disk storage engine from Google Bigtable, replacing vector clocks with last-write-wins.

Jul 20, 20262 min read

Cassandra Data Modeling & Anti-Patterns

Query-first data modeling in Cassandra — hot partitions, partition-size limits, common anti-patterns to avoid, and when not to use Cassandra.

Jul 20, 202621 min read

Low Level Design

📄Articles coming soon — stay tuned.

Mathematics

📄Articles coming soon — stay tuned.

ML / Deep Learning

Embeddings — Introduction

An intuitive introduction to embeddings: fixed-length vectors that place items with similar meaning close together, learned by compressing raw data through a model.

Aug 2, 20264 min read

Embeddings — Recommendation as a Business Problem

Why embeddings exist — recommendation and search as a business problem — and how machine learning turns users and items into vectors to surface the right content.

Aug 2, 202612 min read

Computer Fundamentals

HTTP/1 Deep Dive

HTTP fundamentals, TCP relationship, keep-alive, pipelining, HOL blocking, domain sharding, and protocol overhead.

Mar 31, 202620 min read

Data Flow In TCP

TCP flow control, slow-start, congestion avoidance, bandwidth-delay product, head-of-line blocking, connection reuse, and performance optimization strategies.

Mar 25, 202630 min read

Building Blocks of TCP

OSI model, TCP/IP layers, TCP properties, 3-way & 4-way handshakes, keepalive, SYN flood & mitigation, TCP vs UDP, and port sharing.

Mar 22, 202625 min read

HTTP/2 Deep Dive

HTTP/2 keeps HTTP semantics but changes how data is transported — binary frames, multiplexed streams, HPACK compression, server push, and flow control.

Mar 16, 202620 min read

HTTP/3 Deep Dive

HTTP/3 keeps HTTP semantics but swaps the transport — running over QUIC on UDP to remove TCP head-of-line blocking, merge the TLS handshake for 1-RTT/0-RTT setup, and enable connection migration.

Aug 22, 202612 min read

gRPC Deep Dive

Why gRPC's HTTP/2 transport, Protobuf binary serialization, and first-class streaming outperform REST for high-scale service-to-service communication.

Apr 20, 20267 min read

QUIC Deep Dive

How QUIC folds reliability, multiplexed streams, congestion control, and built-in TLS 1.3 encryption into one UDP-based transport.

Aug 20, 20269 min read

DevOps & Infrastructure

Understanding Docker Containers: A Complete Guide

Everything you need to know about Docker containers — from basic concepts to production deployment patterns and best practices.

Mar 10, 202612 min read

Git Branching Strategies for Teams

Comparing GitFlow, GitHub Flow, and trunk-based development. Which branching strategy is right for your team?

Dec 15, 20258 min read

General

REST API Design Best Practices

A practical guide to designing clean, consistent, and developer-friendly REST APIs. Covers naming, versioning, error handling, and pagination.

Feb 22, 202610 min read

TypeScript Generics Explained Simply

Generics don't have to be confusing. A step-by-step guide with real-world examples to master TypeScript generics.

Nov 5, 20259 min read