Company
Date Published
Author
Theo Julienne
Word count
3553
Language
English
Hacker News points
None

Summary

GitHub has released its GLB Director as an open-source Layer 4 load balancer, designed to handle large volumes of traffic by distributing a single IP address across multiple physical machines while minimizing connection disruption during server changes. The GLB Director operates as a front layer to services like haproxy and nginx, allowing them to scale without unique IPs for each machine. It utilizes Equal-Cost Multi-Path (ECMP) routing and a unique approach to load balancing that avoids duplicating state across director and proxy servers. By employing rendezvous hashing, the system consistently assigns primary and secondary servers for connections, allowing seamless server additions and removals. The load balancer also uses Generic UDP Encapsulation (GUE) for packet routing within data centers and DPDK for efficient packet processing, ensuring robust performance even during DDoS attacks. GitHub supports the system with health checks for server failover and released the technology as open source to encourage community collaboration and standardization.