No run yet.
Four servers, before the sale.Ash 0 waiting · Birch 0 waiting · Cedar 0 waiting · Dogwood 0 waiting
Chapter 2 of 7
Take turns
Four servers now share the sale: Ash and three smaller ones. A load balancer in front picks one for every request.
This chapter: What does taking turns do with servers of different sizes?
About this chapter
You will learn
- Round robin sends each request to the next server in order
- Equal turns ignore how big each server is
- Weights give a bigger server more turns
Words you’ll meet
- Round robin
- Sending each new request to the next server in a fixed order, round and round.
- Share
- The part of all requests a server is sent.
- Weighted round robin
- Round robin where a server with weight 2 gets two turns for every one the others get.
Step 1 of 4
sends each request to the next server in order. Ash has 4 slots; the others 2.
Predict Ash’s .