E-Ink News Daily

Back to list

Hyper-DERP: C++/io_uring DERP relay - Same throughput as Tailscale's derper, half the cores

Hyper-DERP is a new C++/io_uring implementation of a DERP relay that achieves the same throughput as Tailscale's production-grade derper while using half the CPU cores. The project demonstrates significant performance optimization by leveraging Linux's io_uring for efficient I/O operations and avoiding Go runtime overhead. This represents a notable advancement in high-performance networking relay technology.

Background

DERP (Detoured Encrypted Routing Protocol) is Tailscale's fallback protocol for establishing connections when direct peer-to-peer WireGuard connections fail, commonly used in restrictive network environments. Relay servers are critical infrastructure for VPN and mesh networking solutions.

Source
Lobsters
Published
Apr 26, 2026 at 03:48 AM
Score
7.0 / 10