Mechanical sympathy

The hardware under your abstractions: CPU caches, branch prediction, virtual memory, thread scaling, and why async is not parallelism.

Read in order: later instalments assume the earlier ones. 7 more instalments in the publish queue.

  1. 01 CPU Caches and Spatial Locality: Why an Array is 3x Faster Than a Linked List for the Exact Same Big-O Complexity
  2. 02 Branch Prediction: Why an if Inside a Hot Loop Costs Milliseconds
  3. 03 Virtual Memory and Lazy Allocation: Why RSS Matters More Than malloc()
  4. 04 Thread-per-Core Architecture: Why Extra Threads Eventually Destroy Throughput
  5. 05 Bloom Filters vs Counting Bloom Filters: When Deletions Kill Performance
  6. 06 Cuckoo Filters: Cache-Friendly Membership Checks With Deletions
TTFB: -- ms LOAD: -- s PAYLOAD: -- kb