August 2017
Intermediate to advanced
278 pages
8h 53m
English
The three scheduling algorithms which NGINX supports are round-robin, least connections, and hashing.
Load balancers configured in a round-robin fashion distribute requests across the servers in a sequential basis; the first request goes to the first server, the second request to the second server, and so on. This repeats until each server in the pool has processed a request and the next will simply be at the top again. The following diagram explains the round robin scheduling algorithm:

This is the most simplistic method to implement, and it has both positive and negative sides. The positive is that no configuration ...
Read now
Unlock full access