HFT CORE SYSTEMS

Allocation strategy: arenas, PMR, pools, and failure policy

Lesson 48 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 an allocator by lifetime and capacity
  2. Use arenas, pools and polymorphic resources deliberately
  3. Define exhaustion behavior before the hot path runs

Lab

Hands-on exercise

Implement a bounded pool and force controlled exhaustion.

Deliverable

Evidence of completion

An allocation policy with capacity model, latency and failure tests.

Prerequisite
EP 47

Phase 05

Low-latency C++

Full curriculum