HFT CORE SYSTEMS

Bounded MPMC queues and sequence numbers

Lesson 62 of 96Phase 06: Concurrency and lock-free engineering
Video lesson coming soon

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

cppvalley on YouTube ↗

Learning objectives

What you should understand

  1. Coordinate multiple producers and consumers per slot
  2. Use sequence numbers to distinguish queue generations
  3. Evaluate contention, fairness and bounded capacity

Lab

Hands-on exercise

Implement or rigorously study a bounded sequence-number queue.

Deliverable

Evidence of completion

A linearization sketch plus saturation benchmark.

Prerequisite
EP 61

Phase 06

Concurrency and lock-free engineering

Full curriculum