Layout by access pattern, not packing
Binary Protocol and Order-Book Engineering · Advanced → Expert
Structured lesson outlineThis lesson's video and full tutorial are not yet published. The learning objectives and exercises below outline what the finished lesson will cover.
Learning objectives
Focus on the underlying model and the engineering decisions rather than memorizing a single code snippet.
- 01
Choose AoS, SoA and hybrid layouts by access pattern
- 02
Separate hot, cold and infrequently written fields
- 03
Balance cache density with clarity and update cost
Hands-on exercise
Redesign an order record for three different access paths.
What a good result looks like
A layout decision with sizes, access benchmarks and trade-offs.
APPLY WHAT YOU LEARN
3 related C++ topicsC++ practice problems
01Detect False Sharing from a Memory Access TraceConcurrency · MediumIn review02Identify Critical Sections in an Access LogConcurrency · EasyIn review03Apply Add Update Delete Level-1 Quote EventsHFT Systems · MediumIn review
In-review topics are curriculum-linked challenge plans, not yet complete runnable tasks.
Progress is saved on this device.