Generated by GPT-5-mini| HTTP(S) Load Balancing | |
|---|---|
| Name | HTTP(S) Load Balancing |
| Type | Network service |
| First implemented | 1990s |
| Owner | Various vendors and open-source communities |
HTTP(S) Load Balancing
HTTP(S) Load Balancing distributes incoming World Wide Web traffic among multiple backend servers to provide redundancy, scalability, and efficient utilization of resources. It is used by organizations such as Amazon (company), Google LLC, Microsoft, Facebook, Netflix, and Cloudflare to serve web applications, APIs, and media at global scale. Implementations draw on technologies and projects including Nginx, Apache HTTP Server, HAProxy, Envoy (software), and proprietary offerings from F5 Networks, Citrix Systems, and Kemp Technologies.
HTTP(S) Load Balancing operates at the application layer of the OSI model and handles Hypertext Transfer Protocol and Transport Layer Security sessions for services like YouTube, Wikipedia, Twitter, and LinkedIn. It enables features such as session persistence used by Salesforce, content-based routing employed by Spotify, and global traffic management similar to systems run by Akamai Technologies and Fastly. Designs balance trade-offs recognized in research from MIT, Stanford University, Carnegie Mellon University, and standards from Internet Engineering Task Force working groups.
Key components include front-end proxies or reverse proxies (examples: Nginx, HAProxy, Envoy (software)), health checkers influenced by monitoring systems like Nagios and Prometheus, and control planes comparable to orchestration platforms such as Kubernetes and Docker Swarm. Backends may be virtual machines on Amazon EC2, containers managed by Kubernetes, or server pools in data centers operated by Equinix and DigitalOcean. Auxiliary services include DNS providers like Route 53 and Cloudflare, certificate authorities such as Let’s Encrypt and DigiCert, and API gateways exemplified by Kong (software) and Tyk (software).
Algorithms include round-robin used in Apache HTTP Server and Nginx, least-connections applied by HAProxy and F5 Networks, and weighted strategies implemented by NGINX Plus and Citrix ADC. Advanced methods incorporate consistent hashing inspired by work from Google Research and Akamai Technologies, as well as latency-aware routing used by Netflix and Google Cloud Platform. Content-based routing uses request attributes to make decisions for services like YouTube and Amazon Prime Video, while split-brain avoidance and quorum concepts echo designs from Paxos and Raft (computer science) research originating at Microsoft Research and Berkeley].
SSL/TLS termination at the load balancer is supported by F5 Networks, Cloudflare, AWS Elastic Load Balancer, and Google Cloud Load Balancing, leveraging certificate management practices from Let’s Encrypt and governance models referenced by PCI DSS and GDPR. Offloading cryptography improves backend performance in deployments used by Uber Technologies and Airbnb, while strategies such as TLS passthrough preserve end-to-end encryption for platforms like WhatsApp and Signal (software). Integration with web application firewalls from Imperva and ModSecurity helps mitigate threats catalogued by MITRE and addressed in advisories from US-CERT.
Scalable deployments use horizontal scaling patterns seen in Google (company) and Amazon Web Services, autoscaling groups from AWS Auto Scaling, and container orchestration via Kubernetes. Caching strategies intersect with systems like Varnish and Redis (software) to reduce backend load for services such as Spotify and Netflix. High availability designs employ active-active geo-distribution used by Akamai Technologies and Cloudflare, failover models similar to those in BGP routing, and disaster recovery playbooks practiced by Microsoft Azure and IBM Cloud.
Deployment models range from appliance-based offerings by F5 Networks and Citrix Systems to cloud-native services like AWS Elastic Load Balancer, Google Cloud Load Balancing, and Azure Load Balancer. Infrastructure-as-code approaches utilize tools from HashiCorp such as Terraform (software), configuration management from Ansible, Chef (software), and CI/CD pipelines built with Jenkins and GitLab CI/CD. Service mesh patterns with Istio and Linkerd integrate application-level routing and observability for microservices architectures used by companies like Pinterest and Airbnb.
Operational tooling includes metrics collection with Prometheus, tracing via Jaeger (software) and Zipkin, and logging through ELK Stack components like Elasticsearch and Kibana. Troubleshooting practices reference incident frameworks from PagerDuty and postmortem methodologies advocated by Blameless (company) and Google SRE. Capacity planning and incident response draw on textbooks and methodologies from O’Reilly Media authors and case studies from Dropbox and Slack (software).
Category:Networking