VC5 introduces XDP-based Layer 4 load balancer with Direct Server Return
VC5 is a Go-based, horizontally scalable L4 load balancer utilizing eBPF and XDP to provide high-performance networking via Direct Server Return.
Summary
VC5 has been released as a free and open-source Layer 4 load balancer designed to handle TCP and UDP services. By leveraging the eXpress Data Path (XDP) and extended Berkeley Packet Filter (eBPF) within the Linux kernel, the software achieves high-performance packet processing.
The architecture implements Direct Server Return (DSR), allowing backend servers to respond directly to clients rather than routing traffic back through the load balancer. This design significantly reduces the load on the balancing instances, making it particularly efficient for services with high outgoing traffic volumes. It is intended as a software-defined alternative to expensive, dedicated hardware load balancing appliances.
Technical architecture and networking capabilities
- Kernel-level processing: Utilizes XDP and eBPF for high-speed packet manipulation directly within the Linux kernel networking stack.
- Traffic distribution models: Supports Layer 2 distribution via Ethernet address rewriting and Layer 3 distribution through IP-in-IP, GRE, FOU, and GUE tunneling.
- Routing and scalability: Employs Maglev hashing for consistent backend selection and supports horizontal scaling via Equal-Cost Multi-Path (ECMP) routing and BGP for virtual IP advertisement.
- Protocol and address support: Provides full IPv4 and IPv6 support, including mixed-address-family backend configurations for TCP and UDP.
- Observability and management: Includes a web-based console, Prometheus metrics for performance monitoring, and experimental Elasticsearch integration for health probe logging.
Why it matters
VC5 provides system administrators and cloud-native engineers with a high-performance, programmable alternative to proprietary hardware appliances. By utilizing standard Linux technologies like eBPF and BGP, it integrates deeply into modern software-defined networking stacks and can be deployed across diverse Linux-based infrastructure.
Original reference: www.linuxlinks.com →