HFT CORE SYSTEMS

Relaxed atomics, counters, and misconceptions

Lesson 60 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. Use relaxed operations when only atomicity is required
  2. Avoid inferring visibility of unrelated data
  3. Distinguish approximate statistics from synchronization

Lab

Hands-on exercise

Build relaxed telemetry counters beside a correctly synchronized data path.

Deliverable

Evidence of completion

A justification for every memory order and the property it provides.

Prerequisite
EP 59

Phase 06

Concurrency and lock-free engineering

Full curriculum