Blog
Posts, notes, and articles.

The Practical Guide To Implementing A Quadtree For Spatial Indexing Of 2d Points
2026-03-20A comprehensive technical exploration of the practical guide to implementing a quadtree for spatial indexing of 2d points, covering key concepts, practical implementations, and real-world applications.

Designing A Scalable Session Store Using Crdts For Gdpr Compliant Data Retention
2026-03-19A comprehensive technical exploration of designing a scalable session store using crdts for gdpr compliant data retention, covering key concepts, practical implementations, and real-world applications.

Implementing The Sha 256 Hashing Algorithm From Scratch (bit Level Operations)
2026-03-14A comprehensive technical exploration of implementing the sha 256 hashing algorithm from scratch (bit level operations), covering key concepts, practical implementations, and real-world applications.

A Deep Dive Into The Rust Borrow Checker: Lifetime Inference And Nll Implementation
2026-03-13A comprehensive technical exploration of a deep dive into the rust borrow checker: lifetime inference and nll implementation, covering key concepts, practical implementations, and real-world applications.

Designing A Distributed Namespace With Unikernel Based Microkernels
2026-03-11A comprehensive technical exploration of designing a distributed namespace with unikernel based microkernels, covering key concepts, practical implementations, and real-world applications.

Implementing A Custom Wave Function Collapse Algorithm For Procedural Generation
2026-03-07A comprehensive technical exploration of implementing a custom wave function collapse algorithm for procedural generation, covering key concepts, practical implementations, and real-world applications.

QUIC and HTTP/3: The UDP-Based Transport Revolution — 0-RTT, Connection Migration, and Stream Multiplexing Without Head-of-Line Blocking
2026-03-06How QUIC rewrites the transport layer rulebook by moving TCP's reliability into userspace on top of UDP — 0-RTT handshakes, connection migration across IP addresses, and solving head-of-line blocking once and for all.

Content Delivery Networks: DNS-Based Routing, Anycast, Edge Caching, and the Economics of CDN Peering
2026-03-04How Akamai, Cloudflare, and Fastly keep the web fast — DNS-based request routing, anycast IPs, consistent hashing at the edge, and the business of CDN peering that makes it all economically viable.

Building A Distributed Graph Processing Engine: Pregel Model And Superstep Implementation
2026-03-03A comprehensive technical exploration of building a distributed graph processing engine: pregel model and superstep implementation, covering key concepts, practical implementations, and real-world applications.

Writing A Simple Container Runtime: Namespaces, Cgroups, And A Minimal Oci Runtime
2026-03-02A comprehensive technical exploration of writing a simple container runtime: namespaces, cgroups, and a minimal oci runtime, covering key concepts, practical implementations, and real-world applications.

The Theory And Implementation Of The Pagerank Algorithm: Power Iteration And Dangling Nodes
2026-02-25A comprehensive technical exploration of the theory and implementation of the pagerank algorithm: power iteration and dangling nodes, covering key concepts, practical implementations, and real-world applications.

Implementing The Knuth Morris Pratt Algorithm: Failure Function And String Matching
2026-02-23A comprehensive technical exploration of implementing the knuth morris pratt algorithm: failure function and string matching, covering key concepts, practical implementations, and real-world applications.

Designing A Bft Storage System With Erasure Codes And Accountability
2026-02-22A comprehensive technical exploration of designing a bft storage system with erasure codes and accountability, covering key concepts, practical implementations, and real-world applications.

Building A Dns Resolver From Scratch: Recursive Queries, Caching, And Dnssec
2026-02-19A comprehensive technical exploration of building a dns resolver from scratch: recursive queries, caching, and dnssec, covering key concepts, practical implementations, and real-world applications.

Edge Computing: The Fog/Mist/Cloud Continuum, K3s, and the Computation Offloading Decision
2026-02-16How the edge-cloud continuum reshapes where computation happens — from K3s and MicroK8s for edge-native Kubernetes to 5G MEC, the offloading decision problem, and why latency and bandwidth dictate architecture at the edge.

Implementing A Thread Pool With Work Stealing: The Cilk Scheduler In C++
2026-02-15A comprehensive technical exploration of implementing a thread pool with work stealing: the cilk scheduler in c++, covering key concepts, practical implementations, and real-world applications.

Geo-Distributed Systems: WAN Latency, Multi-Leader Replication, and the Speed-of-Light Constraint
2026-02-13How the speed of light shapes the architecture of global-scale systems — from multi-leader and leaderless replication to CRDTs, Spanner, CockroachDB, and the fundamental tension between consistency and latency.

A Practical Introduction To Federated Learning: Aggregation, Differential Privacy, And Secure Aggregation
2026-01-30A comprehensive technical exploration of a practical introduction to federated learning: aggregation, differential privacy, and secure aggregation, covering key concepts, practical implementations, and real-world applications.

Designing A Custom Compression Codec: Lz77, Huffman Coding, And Deflate From Scratch
2026-01-29A comprehensive technical exploration of designing a custom compression codec: lz77, huffman coding, and deflate from scratch, covering key concepts, practical implementations, and real-world applications.

Building A Simple State Machine Replication System With Raft And A Key Value Store
2026-01-26A comprehensive technical exploration of building a simple state machine replication system with raft and a key value store, covering key concepts, practical implementations, and real-world applications.

Implementing The Minimum Spanning Tree Algorithms: Kruskal With Union Find And Prim With Fibonacci Heap
2026-01-26A comprehensive technical exploration of implementing the minimum spanning tree algorithms: kruskal with union find and prim with fibonacci heap, covering key concepts, practical implementations, and real-world applications.

The Architecture Of A Modern Sqlite: Pager, B Tree, And Virtual Machine Internals
2026-01-24A comprehensive technical exploration of the architecture of a modern sqlite: pager, b tree, and virtual machine internals, covering key concepts, practical implementations, and real-world applications.

Implementing A Distributed Snapshot Algorithm: Chandy Lamport State Recording
2026-01-22A comprehensive technical exploration of implementing a distributed snapshot algorithm: chandy lamport state recording, covering key concepts, practical implementations, and real-world applications.

Writing A Tiny X86 Emulator In C: Instruction Decoding, Segmentation, And Paging
2026-01-21A comprehensive technical exploration of writing a tiny x86 emulator in c: instruction decoding, segmentation, and paging, covering key concepts, practical implementations, and real-world applications.