Blastbeat: Replacing 10 Years of C++ with Rust and io_uring

At Meta, every server runs a network observability agent sending 500K+ UDP probes per second to detect network faults in all networks: fabrics, AI training and backbone. The original C++ implementation served us well for a decade, but its synchronous architecture hit a wall: too much CPU, too many syscalls, with the codebase showing the signs of he works of more than 60 contributors.
We rewrote it in Rust. Results: 80% less CPU, 98% fewer syscalls, and a unified binary replacing two C++ processes. This component includes many advanced features, such as hardware timestamps and bitflip detection, while maintaining sub-100us RTT accuracy.

LEVEL: Intermediate
Place
RustLab Deep Ocean
Length
45 min
When
November 3rd, 2026
14:45

Abstract

At Meta, every server runs a network observability agent sending 500K+ UDP probes per second to detect network faults in all networks: fabrics, AI training and backbone. The original C++ implementation served us well for a decade, but its synchronous architecture hit a wall: too much CPU, too many syscalls, with the codebase showing the signs of he works of more than 60 contributors.

We rewrote it in Rust. Results: 80% less CPU, 98% fewer syscalls, and a unified binary replacing two C++ processes. This component includes many advanced features, such as hardware timestamps and bitflip detection, while maintaining sub-100us RTT accuracy.

This talk covers the journey from code to fleet-scale deployment. I'll walk through the architectural bets: io_uring for batched zero-syscall I/O, unsafe code with safety discipline for raw sockets, and a pluggable design for protocols and reportersI'm gonna share how me and my colleagues managed a mass rewrite with a small team and the hard lessons learned: kernel compatibility surprises, performance tuning, and rollout strategies to replace a decade-old, battle-scarred binary without breaking network observability for millions of servers.

RustLab is a conference made by Develer.
Develer is a company based in Campi Bisenzio, near Florence. Our motto is : "Technology to give life to your products". We produce hardware and software to create exceptional products and to improve industrial processes and people's well being.
In Develer we have passion for the new technologies and we offer our clients effective solutions that are also efficient, simple and safe for the end users. We also believe in a friendly and welcoming environment where anybody can give their contribution. This passion and this vision are what we've been driven to organize our conference "made by developers for developers".

Subscribe to our newsletter

We hate spam just as much as you do, which is why we promise to only send you relevant communications. We respect your privacy and will never share your information with third parties.
©2026 RustLab | The international conference on Rust in Italy-Design & devCantiere Creativo-Made withDatoCMS