Designing a Load Balancer
Requirements Analysis
Internet services often need to handle traffic from around the world, but a single server can only serve a limited number of requests at the same time. Therefore, we typically have a server cluster to collectively manage this traffic. The question arises: how can we evenly distribute this traffic across different servers?

From the user to the server, there are many nodes and load balancers at different levels. Specifically, our design requirements are:
- Design a Layer 7 load balancer located internally in the data center.
- Utilize real-time load information from the backend.
- Handle tens of millions of requests per second and a throughput of 10 TB per second.
Note: If Service A depends on Service B, we refer to A as the downstream service and B as the upstream service.