February 2020
Intermediate to advanced
404 pages
8h 42m
English
In practical cases, multiple servers are deployed instead of one for handling huge sets of incoming requests for APIs. But, who should forward an incoming client request to a server instance? A load balancer does that job. Load balancing is a process where the central server distributes the load to various servers based on certain criteria. Refer to the following diagram:

A load balancer employs few strategies such as Round Robin or Least Connection for routing requests to instances. Let's take a look at what each does in a simple table:
| Load-balancing method | Description |
| Round Robin | The incoming requests are ... |
Read now
Unlock full access