Understanding Latency, Performance, and Speed
Sandeep Varma
Sep 19, 2026
Earlier in this series, we walked through what actually happens when you click on a website: a DNS lookup finds the right server, a request travels across the network, the server does some work, and the browser renders the response. That post focused on the steps themselves. This one focuses on something else entirely: the time each of those steps takes, and why engineers use three different words, latency, performance, and speed, to talk about something you might casually just call "fast" or "slow."
Those words get used almost interchangeably in everyday conversation, but they mean distinct things to an engineer, and mixing them up is one of the more common ways non-technical and technical people end up talking past each other in a meeting about why something "feels slow."
A Trip to the Grocery Store
Think about running out to the grocery store for a few things. The total time that trip takes is not one single number you can meaningfully act on. It is made up of several distinct legs: the time to leave your house and drive there, the time to find parking, the time to walk in and locate what you need, the time spent waiting in the checkout line, and the drive back home.
If the whole trip took twice as long as usual, "the trip was slow" does not tell you much on its own. Was traffic bad on the way there? Was the store unusually crowded? Was there only one register open, creating a long line? Each of those is a different problem with a different fix. Adding a second cashier does nothing if the real delay was traffic on the highway. Taking a faster route does nothing if the real delay was a ten-minute wait at checkout.
Software delays work exactly the same way. "The app feels slow" is the equivalent of "the grocery trip took forever." It tells you that something is wrong, but not which leg of the trip is actually the problem. That is precisely why engineers break "slow" down into more specific, more useful concepts.
Latency: The Delay for One Trip
Latency is the time it takes for one specific request to get a response, start to finish. If you tap a button and it takes one second for the screen to update, that one second is latency, the software equivalent of the entire grocery trip, door to door.
But just like the grocery trip, that one second is not one indivisible chunk of time. It is the sum of several legs, echoing what we already covered in the click-through post: a small delay finding the right server, a delay for the request to travel across the network, a delay while the server does its work, possibly including a database lookup, and a delay for the response to travel back and for your screen to update.
When engineers talk about "reducing latency," they are almost always talking about shortening one or more of those individual legs, not vaguely trying to make everything faster all at once. Maybe the database query was slow, and adding the right index fixes it, the same way finding a faster checkout line fixes the slowest leg of the grocery trip. Maybe the server was located far from the user geographically, and moving it closer shortens the network leg, the same way driving to a nearer store shortens the drive. The fix always depends on identifying which specific leg is actually slow.
Performance: How Many Trips You Can Handle at Once
Performance, in the sense engineers usually mean it, is a bit different. It is less about how long one single request takes, and more about how many requests a system can handle over a given period of time, often referred to more specifically as throughput.
Go back to the grocery store one more time, but now imagine the store from the manager's perspective instead of the shopper's. One customer moving through checkout in ninety seconds is a latency question. How many total customers the store can check out in an hour is a performance question. A store with one register might handle each individual customer reasonably quickly on a quiet afternoon, but on a busy Saturday, that same store falls apart, not because any single checkout got dramatically slower, but because there simply are not enough registers open to keep up with how many people showed up at once.
This is exactly why a system can have perfectly reasonable latency under light load and still feel painfully slow under heavy load. The delay for any one request has not necessarily changed much. What has changed is that far more requests are competing for the same limited resources at the same time, the same way a store with one open register starts to buckle the moment more than a couple of customers show up simultaneously. We will get into exactly how systems address this kind of pressure, adding more registers, so to speak, in the next post in this series, which looks at scaling.
Speed: The Word Everyone Actually Means
"Speed" is the everyday, informal word that usually gets used to describe some blend of both of the above, without being precise about which one is actually the problem. When someone says an app feels slow, they might be experiencing high latency, poor throughput under heavy load, or honestly, sometimes neither, and instead something like a large image that has not finished loading or an animation that runs longer than it needs to.
This is not a criticism of the word "speed." It is a perfectly reasonable thing to say as a user. But if you are the one deciding what an engineering team should investigate or prioritize, understanding that "speed" is really a blanket term covering several different, separately solvable problems will make those conversations far more productive. Asking "is this a latency problem or a throughput problem" is a genuinely useful question, because the two are diagnosed differently and fixed differently.
Why the Average Number Can Lie to You
There is one more wrinkle worth understanding, because it trips people up constantly: averages hide the worst experiences.
Imagine a grocery store where the average checkout time is a very reasonable thirty seconds. That sounds great, until you learn that one out of every twenty customers waits five full minutes because they happened to get behind someone paying by check and arguing about a coupon. The average still looks fine. The experience for a meaningful chunk of customers does not feel fine at all.
Software behaves the same way. Engineers often talk about latency not just as a single average number, but in terms of percentiles, how long the slowest five percent, or even the slowest one percent, of requests actually take. That slowest tail matters enormously, because it usually represents real users having a noticeably bad experience, even while the average number being reported in a dashboard looks perfectly healthy. A system can have a great average latency and still be quietly frustrating a meaningful number of people every single day.
Bringing It Together
Latency is how long one request takes, and it is best understood as the sum of several smaller delays, the same way a grocery trip is the sum of driving, shopping, and checking out. Performance, or throughput, is about how many requests a system can handle at once, more like how many total customers a store can serve in an hour rather than how fast any one of them personally moves through the line. Speed is the informal word people reach for when they mean some mix of both, without necessarily knowing which one is actually the culprit.
Next time you hear that something "feels slow," it is worth asking a more precise question. Is this happening to everyone, all the time, suggesting a latency problem baked into how the request is handled? Or does it only happen during busy periods, suggesting a performance problem where the system is straining under load? The answer changes what the right fix actually looks like, the same way "the grocery trip was slow" means something completely different depending on whether the problem was the drive, the store, or the checkout line.
What Do You Think?
Has there been a moment where "this feels slow" turned out to be two completely different problems wearing the same complaint? I would love to hear about a time this distinction, latency versus performance, would have made a confusing conversation with an engineering team click into place faster.
Enjoyed this? Get the next one by email
New posts on leading engineering teams, straight to your inbox.
Did you find this useful?
Comments
Loading comments...
to post a comment.
About the author

Sandeep Varma
Senior Engineering ManagerI write about leadership and software engineering from experience as a software engineer, product owner, and engineering manager, grounded in a Bachelor’s in Computer Science Engineering and an MBA in IT Strategy.
View full profileContinue reading
Related posts

What Happens When You Click on a Website
A step-by-step look at how browsers, servers, and networks work together to load a webpage.

