Signals and Threads

Performance Engineering on Hard Mode with Andrew Hunter

56 snips
Nov 28, 2023
Andrew Hunter, a performance engineer who makes code really fast, discusses optimizing systems at hyperscale and the challenges of optimizing trading systems. He shares his favorite profiling techniques, tools for visualizing traces, and the unique challenges of optimizing OCaml versus C++. They also touch on the joys of musical theater and how to pass an interview when sleep-deprived.
Ask episode
AI Snips
Chapters
Transcript
Episode notes
INSIGHT

Scale Enables Easy Mode

  • Large companies find performance gains easier because any small optimization scales from huge usage.
  • Common infrastructure benefits all business logic, creating a "data center tax" but also huge leverage for improvements.
INSIGHT

Challenging Low-Latency Trade-offs

  • Without hyperscale, micro-optimizations have little financial impact and most time is spent waiting idly in trading systems.
  • Trading systems prioritize low latency during bursts, requiring focus on latency over utilization or throughput.
ADVICE

Have Faith in Small Gains

  • Trust small performance optimizations even if below noise unless they increase risk or complexity.
  • Improving a system requires faith that incremental changes accumulate to meaningful gains over time.
Get the Snipd Podcast app to discover more snips from this episode
Get the app