~/talk

Trading at light speed: designing low latency systems in C++

Talkat Meeting C++ 2022 · 2022-11-17..11-19· [frontend-architecture]
links:none on file
slides:none on file

Claims concrete wins: designing for cache locality drops working set from ~400 MB (node‑based map) to ~1 MB (custom stable vector), targets software latencies around 2.5 μs and exchange trigger→target pockets near 10 μs, and achieves ~60M msgs/s with one reader and ~20M msgs/s with 10 readers using a custom SPMC queue v2. Tools and checks include rdtsc timing, WSS measurements, in‑house clang xray profiling and system tuning (disable C‑states/P‑states, huge pages). Code and benchmarks are built and measured, not just promised.

AI-written summary · about

  1. 0:00Introduction
  2. 0:11AUTOMATED TRADING A HIGH STAKES GAME
  3. 1:40AUTOMATED TRADING: THE NEED FOR SPEED
  4. 4:34DESIGN FOR PERFORMANCE
  5. 5:48STRATEGY & TACTICS
  6. 7:42HOW FAST IS FAST?
  7. 15:24AN UNDERWHELMING PROFILING RESULT
  8. 16:34DATA MODEL FOR PERFORMANCE
  9. 19:06DATA MODEL: INSTRUMENT STORE
  10. 22:23STABLE VECTOR
  11. 24:46WSS ESTIMATION
  12. 27:55CONCURRENT DATA IN TRADING SYSTEMS
  13. 29:21HOW MUCH DATA?
  14. 35:06SEQLOCK PROPERTIES
  15. 37:33CONCURRENT DATA: EVENTS
  16. 38:37SPMC QUEUE V2
  17. 47:00IS YOUR SYSTEM TUNED CORRECTLY?
  18. 48:28C-STATE, P-STATE
  19. 50:36SHARED LLC OPTIMIZATION
  20. 53:53METRICS
  21. 57:59CONCLUSION
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.