HFT CORE SYSTEMS

Layout by access pattern, not packing

Lesson 47 of 96Phase 05: Low-latency C++
Video lesson coming soon

The written objectives and hands-on lab are available now.

cppvalley on YouTube ↗

Learning objectives

What you should understand

  1. Choose AoS, SoA and hybrid layouts by access pattern
  2. Separate hot, cold and infrequently written fields
  3. Balance cache density with clarity and update cost

Lab

Hands-on exercise

Redesign an order record for three different access paths.

Deliverable

Evidence of completion

A layout decision with sizes, access benchmarks and trade-offs.

Prerequisite
EP 46

Phase 05

Low-latency C++

Full curriculum