HFT CORE SYSTEMS

AF_PACKET, PACKET_MMAP, and AF_XDP

Lesson 39 of 96Phase 04: Network datapaths
Video lesson coming soon

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

cppvalley on YouTube ↗

Learning objectives

What you should understand

  1. Compare socket, mmap ring and XDP data paths
  2. Understand copy and ownership boundaries
  3. Choose a path by portability, complexity and latency

Lab

Hands-on exercise

Implement equivalent receivers using two Linux packet APIs.

Deliverable

Evidence of completion

A receiver comparison with feature, throughput and tail-latency matrix.

Prerequisite
EP 38

Phase 04

Network datapaths

Full curriculum