AF_PACKET, PACKET_MMAP, and AF_XDP
Exchange Feed Networking & Multicast · 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
Compare socket, mmap ring and XDP data paths
- 02
Understand copy and ownership boundaries
- 03
Choose a path by portability, complexity and latency
Hands-on exercise
Implement equivalent receivers using two Linux packet APIs.
What a good result looks like
A receiver comparison with feature, throughput and tail-latency matrix.
APPLY WHAT YOU LEARN
3 related C++ topicsC++ practice problems
01Build a Bounded UDP Packet Reordering BufferHFT Systems · MediumIn review02Parse a Binary Market Data Packet with Bounds ChecksHFT Systems · MediumIn review03Calculate the Bid-Ask Spread in Basis PointsHFT Systems · EasyIn review
In-review topics are curriculum-linked challenge plans, not yet complete runnable tasks.
Progress is saved on this device.