Qu'est-ce qu'un load balancer ? Définition and fonctionnement
Un load balancer (répartiteur de charge) distribue le trafic entrant sur plusieurs serveurs for haute disponibilité, performance, scale. Essentiel for applications web, baits de données, SaaS. Techniques : L4 (TCP/UDP), L7 (HTTP/HTTPS), GSLB (global).
Niveaux
- L4 (TCP/UDP) : répartition selon IP/port
- L7 (application) : selon URL, cookie, header, contenu
- GSLB (Global Server Load Balancing) : multi-datacenter via DNS
Algorithmes
- Round-robin : séquentiel
- Least connections
- Weighted round-robin
- IP hash
- Response time
- URL hash (caching)
Health checks
- TCP connect
- HTTP GET with validation code 200
- Custom scripts
- Auto-remove backend down
- Alertes monitoring
Vendors
- F5 BIG-IP : leader enterprise
- Citrix NetScaler : enterprise
- HAProxy : open source puissant
- NGINX + : commercial web proxy + LB
- AWS ALB/NLB, Azure App Gateway, GCP Cloud LB : cloud natifs
- Kemp LoadMaster : mid-market
Features additionnelles
- SSL termination
- WAF (Web Application Firewall)
- Bot protection
- DDoS mitigation
- API gateway
- Caching
Commander chez OPTINOC
Load balancers F5, Citrix, Kemp, HAProxy. Design haute dispo + SSL + WAF. Devis sous 48h.
