All guide activities

CH-14 · CHAPTER REVIEW

Scaling and caching

Solve these two questions after studying the chapter. State your assumptions and explain your reasoning.

Read. Try. Defend.

Companion to the Buildfest System Design guides.

Chapter review: two questions

Attempt both questions before opening the model answers.

Question 1

At demand 500 requests/s, three servers each handle 200/s. Calculate capacity and excess traffic after one fails.

Reveal model answer

Two healthy servers provide 400/s; offered traffic exceeds capacity by 100/s. Four initial servers would leave an ideal 600/s after one failure, subject to shared bottlenecks.

Question 2

A cache receives 1,000 reads/s with an assumed 80 percent hit rate. Estimate source reads and explain the danger of a cold cache.

Reveal model answer

About 200 source reads/s before other work. A cold cache may send nearly all offered reads to the source, so use a bounded recovery plan and measure source behavior rather than assuming the steady-state ratio.

Answers stay in this tab. Download before leaving. This practice is not graded or saved to your account.