How github/glb-director works
Project Type and Core Components
a. Core Components (from src/):
• glb-director: Main DPDK-based L4 load balancer
• glb-director-xdp: XDP-based implementation
• glb-healthcheck: Health monitoring system
• glb-redirect: Kernel module for packet redirection
• glb-hashing: Shared hashing implementation
• Supporting tools (wireshark-dissector, scapy-glb-gue)
Key Flows
• Incoming traffic flow (client → ECMP → GLB Director)
• GUE encapsulated traffic (GLB Director → L7 proxies)
• Health check communication (GLB Healthcheck ↔ L7 proxies)
• Return traffic (L7 proxies → client via DSR)
Specific Implementation Details
Technical elements specific to GLB:
• DPDK packet processing
• XDP processing alternative
• Rendezvous hashing mechanism
• Second chance forwarding
• GUE encapsulation
Component Relationships
Interactions between:
• GLB Director and routing infrastructure
• Health check system and proxy servers
• Director nodes and proxy servers
• Control plane configuration system
Additional Details
Annotations for:
• BGP announcement paths
• Configuration distribution
• Monitoring/metrics flow
• Health check paths