~/talk

Designing, Building and Testing Deterministic HFT Systems

Talkat QCon Shanghai 2019 · 2019-10-17..10-19· [distributed-systems]
slides:none on file

Chronicles Java libraries and microservices focus on minimal work per component to hit tight SLAs using JMH benchmarks, kernel bypass NICs, and avoiding DB calls. A three‑microservice fixed income OMS achieves 99.9% <20µs end-to-end for six persisted messages, two-process persist and deserialize runs under 1µs, replication adds ~30µs, and a bank replacement yields ROI in three months. Design uses event-sourced deterministic lambdas, low GC churn, long-encoded IDs, data-driven replayable tests and fast component constructor-only wiring for reproducible debugging and failover.

AI-written summary · about

  1. 0:00Introduction to deterministic HFT
  2. 3:36Designing for minimal latency
  3. 10:07Sources of latency in systems
  4. 14:52Garbage collection and JVM tuning
  5. 17:00Deterministic functions and event sourcing
  6. 22:29Storing everything for reproducibility
  7. 24:38Unit testing with deterministic inputs
  8. 32:45Balancing speed and developer efficiency
~/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.