A load balancer is easier to understand as a restaurant than as a network device. Four pictures, then the real terms.
One waiter, a full restaurant
One server can only handle so many visitors, and if it fails the whole service is gone. The answer is several servers doing the same job.
Scaling out, single point of failureA host at the door
Visitors arrive at one address. The load balancer stands at the door and sends each new visitor to one of the servers behind it, sharing the work out.
Virtual server (VIP), pool, load-balancing method"Are you all right back there?"
The load balancer keeps checking each server. If one stops answering properly, it quietly stops sending visitors there until it recovers. Nobody outside notices.
Health monitorsSame table as last time
Some visits span many requests, like a shopping cart. The load balancer remembers which server you were on and keeps sending you back to it.
Persistence (sticky sessions)Want the detail behind the pictures? See the cheat sheets and the other storyboards.
0 Comments
Post a Comment