---
title: "Latency"
url: https://www.daytona.com/definitions/l/latency
---

# Latency

Latency is how long one piece of work takes.

Latency is the time one operation takes, from the moment something asks for a result until the result arrives. It applies at every scale, from a processor reading memory to a request crossing the world. Part of it is the time the work itself takes, and part is the time spent travelling or waiting before the work starts. Distance sets a floor that no software can lower, because no signal travels faster than light.

Latency differs from throughput, which is how many operations finish per second. A system can move a great deal of data per second and still make each request wait. Lowering one of the two often costs some of the other. Batching is the common trade, since grouping requests raises throughput while each request waits for its batch to fill.

Latency decides how fast a system feels to the people and programs that wait on it. A workload that makes many calls in sequence pays the latency of each one, so small delays add up quickly. Running the calls in parallel, or merging them into fewer calls, cuts the total because the waits overlap or disappear. An agent that runs tools in a sandbox cannot do this easily, since each step depends on the result of the last tool call.

## Related terms

- [Availability zone](https://www.daytona.com/definitions/a/availability-zone.md)
- [Bandwidth](https://www.daytona.com/definitions/b/bandwidth.md)
- [Cloud computing](https://www.daytona.com/definitions/c/cloud-computing.md)
- [Datacenter](https://www.daytona.com/definitions/d/datacenter.md)
- [Edge computing](https://www.daytona.com/definitions/e/edge-computing.md)
- [Hyperscaler](https://www.daytona.com/definitions/h/hyperscaler.md)
