CS FundamentalsModerateProduct-company placement · SRE interview

A service receives 2000 requests per second; each request holds a worker thread for 150 ms on average. It runs on 4 identical instances behind a load balancer. On average how many threads are busy on each instance?

  1. A. About 13
  2. B. About 300
  3. C. About 75
  4. D. About 3000

Correct answer: C. About 75

Little's law: in-flight requests = throughput × time in system = 2000 × 0.15 = 300 across the fleet, so about 75 per instance (plan the pool above that for bursts). 300 forgets the 4 instances and 13 divides instead of multiplying.

More Software Engineering, Git and Cloud Basics questions

Exams that ask this topic