CS FundamentalsVery hardProduct-company system-design interview
Each web server handles 250 requests/s, but for headroom servers should run at no more than 70% of that. Peak load is 2,000 requests/s and the design must survive the loss of one server (N + 1). How many servers are needed?
- A. 8
- B. 9
- C. 12
- D. 13
Correct answer: D. 13
Usable capacity = 250 x 0.7 = 175 req/s, so 2,000/175 ≈ 11.4 → 12 servers for peak, plus 1 spare = 13. 9 ignores the headroom (2,000/250 = 8, plus 1).
Practise more Software Engineering, Git and Cloud Basics questionsSoftware Engineering, Git and Cloud Basics: notes and key points
More Software Engineering, Git and Cloud Basics questions
- A service stores 2 TB of data with a replication factor of 3, and disks should be kept at most 70% full. How much raw disk capacity is…
- A host has 32 physical cores and the cloud team allows a 4:1 vCPU-to-core overcommit ratio. How many 4-vCPU VMs can be placed on it by…
- A retailer runs its systems in its own data centre but automatically moves extra web workload to a public cloud during festive-sale peaks…
- Match each storage type. P: an EC2-style VM's boot disk. Q: millions of user-uploaded images accessed by URL. R: a shared directory…
- In the Richardson maturity model for REST APIs, which feature marks the top level (Level 3)?
- A mobile home screen needs a user's name, the titles of their last 3 orders and their unread-notification count. The REST API needs 3…