Skip to content
CodeKruPro

The average looks fine, but p99 is 4 seconds

QuizMediumAsked in: Swiggy

A checkout API shows an average response time of 300 ms (milliseconds), but the p99 (the time that 99% of requests beat) is 4 seconds. What is the best reading?

  • Most requests are fast, but about 1 in 100 is very slow; find out which requests and why
  • Performance is fine because the average is low
  • The test is broken, because p99 cannot be so far from the average
  • The server is overloaded for every request

This question is part of Pro+

Pro+ opens every question in Interview Prep and the mock interview. Every article and the first 2 questions of each topic stay free. Hands-on Selenium and API tasks follow their course lesson's own lock.

See Pro+

Already have Pro+? Sign in