Load Balancing

VC5 – XDP-based layer 4 load balancer

VC5 is a horizontally scalable network load balancer that uses Direct Server Return (DSR). With this architecture, incoming traffic passes through the load balancer, while backend servers send their responses directly to clients. This reduces the amount of traffic handled by the load balancer, particularly for services where outgoing traffic substantially exceeds incoming traffic.

The software uses the eXpress Data Path (XDP) and extended Berkeley Packet Filter (eBPF) technologies to process packets within the Linux kernel. Additional load balancing instances can be deployed to increase capacity and provide redundancy using Equal-Cost Multi-Path (ECMP) routing. VC5 is designed as an alternative to dedicated hardware load balancing appliances.

This is free and open source software.

Key Features

  • Layer 4 load balancing for TCP and UDP services.
  • Maglev hashing for consistent backend server selection.
  • Automatic advertisement of virtual IP addresses through BGP according to backend service availability.
  • Layer 2 traffic distribution using Ethernet address rewriting.
  • Layer 3 traffic distribution supporting IP-in-IP, GRE, FOU and GUE tunnelling.
  • IPv4 and IPv6 support, including mixed-address-family backend configurations.
  • Built-in HTTP, HTTPS, TCP SYN and DNS health checks.
  • Configurable minimum number of healthy backend servers required for service availability.
  • Support for multiple network interfaces, VLAN tagging and bonded interfaces.
  • Connection affinity options for backend selection.
  • Web-based console displaying operational information.
  • Prometheus metrics for monitoring load balancing performance and service health.
  • Experimental Elasticsearch integration for logging backend health probes and other operational events.
  • Runtime configuration reloading and graceful shutdown of BGP connections.

Website: github.com/davidcoles/vc5
Support:
Developer: David Coles
License: GNU General Public License v2.0

VC5 is written in Go. Learn Go with our recommended free books and free tutorials.


Related Software

Load Balancers
TraefikModern HTTP reverse proxy and load balancer
HAProxyHigh availability layer 7 load balancer and proxy server for TCP and HTTP
CiliumeBPF-based Networking, Observability, Security
nginxIncludes a L7 load balancer
RoadRunnerHigh-performance PHP application server, load balancer, and process manager
fabioFast, modern, zero-conf load balancing HTTP(S) and TCP router
BFEModern L7 load balancer
EnvoyHigh-performance edge and service proxy built for cloud-native applications
APISIXReal-time API gateway with routing, security and extensive plugin support
gobetweenModern and minimalistic L4 load balancer and reverse-proxy
MetalLBAdds external network service support to bare-metal Kubernetes clusters
SeesawLinux Virtual Server (LVS) based load balancing platform. L4 load balancer
SkipperHTTP router and reverse proxy with flexible filters and route matching
LoxiLBCloud-native networking proxy with eBPF acceleration and observability
kube-vipProvides virtual IPs and service networking across Kubernetes clusters
nusterHigh-performance HTTP proxy cache server and HTTP/TCP load balancer
GLB DirectorSet of stateless L4 load balancer servers
BalanceGeneric TCP proxy with round robin load balancing and failover capabilities

Read our verdict in the software roundup.


Best Free and Open Source Software LinuxLinks helps you discover the best free and open source software for Linux. Explore our extensive collection of recommended applications, including alternatives to popular proprietary software.

We also publish software reviews, Linux tutorials, hardware reviews, free programming books and articles covering the wider open source community. Browse our Linux resources to discover more.

Know a useful free and open source Linux application we haven't covered? Suggest a program for inclusion.

Has your software been featured on LinuxLinks? Display one of our Featured on LinuxLinks badges on your website or GitHub README.
Subscribe

Please read our Comment Policy before commenting.

Notify of
guest
0 Comments
Oldest
Newest Most Voted