~/talk

Optimizations in the HFT world

Talkat Core C++ 2024 · 2024-11-26..11-28· [c-and-cpp, software-architecture]
links:none on file
links:none on file
slides:none on file

Dedicated servers run isolated with isoCPU and real-time threads avoid syscalls by using static memory pools; networking uses Solarflare cards with onload, tcp direct or low-level efvi to shave thousands of ns. Cache-warming sends dummy orders every N events to keep rare risk-check paths hot; an example trades 2→3µs for common events but cuts the critical execution path 5→4µs, winning the market. A custom single-consumer multi-producer queue with per-producer subqueues raises retiring from ~4% to ~14% and the pop retiring to ~73%; code is published for testing.

AI-written summary · about

  1. 0:00Introduction and background
  2. 4:02High-level HFT architecture
  3. 6:07Thread isolation and CPU scheduling
  4. 9:21Bypassing the kernel for performance
  5. 12:33Latency vs throughput in HFT
  6. 13:58Optimizing for rare events
  7. 16:08Cache warming techniques
  8. 19:44Risk checks and exceptions
  9. 23:14Data sharing between threads
  10. 32:29Optimizing for throughput
  11. 34:12Market open/close challenges
  12. 35:19Queue performance analysis
  13. 37:48Single-consumer multi-producer queue
  14. 47:04Further queue optimizations
  15. 51:16Benchmarking and measurement
  16. 53:04Hiring and closing remarks
~/search
type to search 8,222 conferences, 162,397 speakers and 219,688 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
← →
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
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.