System Design Patterns: From Fundamentals to Real Systems
0% completed
Vertical Scaling
At the busiest minute of the evening, the store's storefront API answers 600 requests per second. The storefront API is the program that answers every buyer request: product pages, search, the cart, and the order button. Each request uses 11 ms of CPU time, so one second of traffic needs 600 × 11 = 6,600 ms of CPU work.
The API runs on one server with 8 cores. Each core gives 1,000 ms of CPU time per second, so the server has 8,000 ms to spend. 6,600 ÷ 8,000 = 82.5 percent, which means the processor is busy about 82 percent of the time at peak
.....
.....
.....
Like the course? Get enrolled and start learning!
Reading Progress
0%