Posts
All the articles I've posted.
-
System Design - How Kubernetes Networking Works
How Kubernetes networking works: the flat network model, pod-to-pod communication via CNI plugins, Service abstraction with kube-proxy iptables/IPVS, DNS resolution with CoreDNS, and how packets actually flow from one pod to another.
-
LeetCode 1162 As Far from Land as Possible
Solutions for LeetCode 1162, medium, tags: array, dynamic programming, breadth-first search, matrix.
-
LeetCode 2300 Successful Pairs of Spells and Potions
Solutions for LeetCode 2300, medium, tags: array, binary search, sorting.
-
LeetCode 456 132 Pattern
Solutions for LeetCode 456, medium, tags: array, stack, monotonic stack.
-
System Design - How RocksDB Compaction Works
How RocksDB compaction works under the hood: leveled compaction scheduling, file picking, merge-sort mechanics, write amplification tradeoffs, and a source code walkthrough from the facebook/rocksdb repository.
-
System Design - How Search Engines Work (Inverted Indexes and Ranking)
How search engines work: inverted indexes, TF-IDF/BM25 scoring, query processing with skip pointers, distributed scatter-gather, and how Lucene organizes segments for near-real-time search.