gl00m

← All projects

shunt

kernel-bypass market-data receiver

2026 · in progress · C++ · eBPF/XDP · AF_XDP · libbpf

What it is

A kernel-bypass market-data receiver in C++20. An XDP program steers UDP feed packets toward AF_XDP shared-memory rings, so user space can parse updates, track sequence gaps, and maintain book state without the kernel's socket receive path.

Why

Exchanges publish market data over UDP, and every microsecond in the receive path matters. shunt measures what bypassing the kernel's socket stack actually buys, against a plain UDP-socket receiver handling identical traffic.

How it works

Results so far

Decisions