All books

Professional

Apps About Coach Log in Start reading
Cover of Low-Latency Software

Read online · Technology

Low-Latency Software

Low-latency software: the CPU, caches and the memory hierarchy, measuring latency, C++ and Rust at the limit, lock-free queues and Linux tuning, exchange protocols, feed handlers, order books, gateways and pre-trade risk, ending in a measured tick-to-trade path.

The Machine

  1. 1 Where Latency Comes From 8 solved exercises
  2. 2 CPU Microarchitecture 8 solved exercises
  3. 3 Memory Hierarchy and Caches 8 solved exercises
  4. 4 Multi-Socket Machines and Interconnects 8 solved exercises
  5. 5 Measuring Latency 8 solved exercises

Languages at the Limit

  1. 6 C++ for Latency I: Memory 8 solved exercises
  2. 7 C++ for Latency II: Compile Time 8 solved exercises
  3. 8 C++ for Latency III: The Compiler 8 solved exercises
  4. 9 Rust for Low Latency 8 solved exercises
  5. 10 Managed and Functional Languages on the Desk 8 solved exercises
  6. 11 Lock-Free Programming 8 solved exercises
  7. 12 Queues, Ring Buffers and Shared Memory 8 solved exercises
  8. 13 Linux Tuning 8 solved exercises
  9. 14 Vector Instructions and Data-Parallel Code 8 solved exercises

Protocols and Clients

  1. 15 Protocols I: FIX 8 solved exercises
  2. 16 Protocols II: Binary Exchange Protocols 8 solved exercises
  3. 17 WebSocket, REST, TLS and JSON at Speed 8 solved exercises

The Trading System

  1. 18 The Feed Handler 8 solved exercises
  2. 19 The Order Book Builder 8 solved exercises
  3. 20 The Strategy Engine 8 solved exercises
  4. 21 Order Gateway and Order Management 8 solved exercises
  5. 22 Pre-Trade Risk and Kill Switches 8 solved exercises
  6. 23 Logging, Capture and Replay 8 solved exercises
  7. 24 Resilience 8 solved exercises
  8. 25 Testing and Deploying Low-Latency Systems 8 solved exercises
  9. 26 Build: Tick-to-Trade, Measured 8 solved exercises

26 chapters — 26 online so far, and more publishing regularly. The complete book is already available as a free PDF you can read online.