December 2017
Intermediate to advanced
316 pages
6h 58m
English
In practical cases, we use multiple servers instead of one for handling huge sets of incoming requests for APIs. But who needs to forward an incoming client request to a server instance? Load balancing is a process where the central server distributes the load to various servers based on certain criteria. Refer to the following diagram:

Those requesting criteria are called load balancing methods. Let us see what each does in a simple table:
| Load balancing method | Description |
| Round Robin | Requests are distributed evenly across servers and server weights are taken into consideration. |
| Least Connection | Requests are ... |
Read now
Unlock full access