Low Latency Designs From London Finance
summary
Concrete actions and numbers: use HDR histograms and measure percentiles (not medians), benchmark with BenchmarkDotNet, and prefer UDP or ring-buffer patterns (Disruptor/SBE) over TCP where ordering costs matter. Know operation costs (add vs divide) and targets — machines here move 1 GB in 2s, push ~41M msgs/s, and a 3‑node test handled ~660 durable msgs/s. Visualize flows, identify the critical path (a UI slider drops from 250 ms to ~35 ms after fixing eight redundant calls), and prefer circular buffer single‑producer designs to cut allocations and GC from thousands to near zero.
AI-written summary · about
chapters (14)
- 0:00Introduction and sponsors
- 0:47Talk overview and background
- 3:39Know your targets and measurement
- 9:42Understanding operation costs
- 12:54Visualize your data flows
- 18:57Identify critical paths
- 19:17Mechanical sympathy explained
- 22:06Challenge conventional wisdom
- 26:03Justify code and abstractions
- 31:46Garbage collection pitfalls
- 33:11Avoid contended resources
- 37:44Performance culture principles
- 40:57Applied science and testing
- 42:22Bonus: Bit twiddling demo
