Making sense of API response times

Mathias Hansen, co-founder of Geocodio, on how they analyze their API response times:

For the longest time, we focused on average response times. It is a quick and simple metric that you can quickly break down by API endpoint and time window. […] While measuring average response time have their place they can also be deceptive.

The problem is that outliers go unnoticed that way, so better is to use percentiles:

Using percentiles, you will be able to say: “X% of API calls have a response time of Y milliseconds or less.”

A (rather big) query to quickly generate reports like these is included in the post 🙂

Making sense of API response times →

Published by Bramus!

Bramus is a frontend web developer from Belgium, working as a Chrome Developer Relations Engineer at Google. From the moment he discovered view-source at the age of 14 (way back in 1997), he fell in love with the web and has been tinkering with it ever since (more …)

Leave a comment

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.