Reading guide Draft

Reading list

1 min read

On this page

Reading list

The readings are grouped by chapter. The first item in each group introduces the topic; the others provide additional depth.

  • Chapter 1: Ulrich Drepper, What Every Programmer Should Know About Memory (sections 3 and 6). Agner Fog, Optimizing Software in C++, chapters on caches and branches.
  • Chapter 2: Red Hat Low Latency Performance Tuning guide. Brendan Gregg, Systems Performance, chapter 6 (CPUs).
  • Chapter 3: Mara Bos, Rust Atomics and Locks (free online), chapters 1 to 5. Jeff Preshing, Memory Barriers Are Like Source Control Operations.
  • Chapter 4: Beej’s Guide to Network Programming for basics; Cloudflare blog How to receive a million packets per second; the SBE specification overview.
  • Chapter 5: Dmitry Vyukov’s lock-free blog (SPSC queue post). The crossbeam and rtrb crate source as worked examples.
  • Chapter 6: The venue’s order-book feed specification; Binance’s local order-book procedure as a concrete snapshot-plus-delta example.
  • Chapter 7: Gil Tene, How NOT to Measure Latency (talk); Brendan Gregg on flame graphs; the hdrhistogram crate docs.
  • Across the book, optional: Carl Cook, CppCon 2017, When a Microsecond Is an Eternity. The best 60-minute overview of everything above.