What is 99th Percentile response time? (2024)

I was making a dashboard in Grafana for our service when I came across the term 99th Percentile response time.

What is 99th Percentile response time? (2)

Example

Say, if the 99th Percentile response time is 100ms, then out of 100 requests, 1 request took the max response time of 100 ms.

How to think?

You log all the requests and their response time. Sort them in the ascending order of times they took to complete. For 95th percentile, take the (mean/max) of the bottom 5% of the times they took to complete. This value is your 95th percentile response time.

Why is this better?

Mean and median are not a very good metric to show outliers. Say at 9 AM in my service, a peak traffic comes which delays the response time. For that much time, the Nth percentile response time will shoot up a lot as compared to mean and median. 99th percentile is 30 times worse than the median. Also, in the distributed system, when we make an upstream request, it can create a lot of downstream requests. And if those downstream request hit a service with bad 99th percentile delays, then it’s pretty bad.

So this is a better metric to note down. We are seeing the worst case for bottom X percent. Seeing the outliers well which mean and median are not capable of measuring.

You may contact the author at abhinav.rai.1996@gmail.com

What is 99th Percentile response time? (2024)
Top Articles
Latest Posts
Article information

Author: Ray Christiansen

Last Updated:

Views: 6063

Rating: 4.9 / 5 (49 voted)

Reviews: 80% of readers found this page helpful

Author information

Name: Ray Christiansen

Birthday: 1998-05-04

Address: Apt. 814 34339 Sauer Islands, Hirtheville, GA 02446-8771

Phone: +337636892828

Job: Lead Hospitality Designer

Hobby: Urban exploration, Tai chi, Lockpicking, Fashion, Gunsmithing, Pottery, Geocaching

Introduction: My name is Ray Christiansen, I am a fair, good, cute, gentle, vast, glamorous, excited person who loves writing and wants to share my knowledge and understanding with you.