liveBook · Manning

Mean

As explained in Grokking Concurrency

Latency is the elapsed time required for a task or action to complete from start to finish.

Latency is the time a single task takes from start to finish. Like measuring how long a motorcycle ride from home to work takes, it focuses on how soon one task is completed. section 1.2

Latency differs from throughput, which measures how many tasks a system handles over time. A bus can carry more people per hour than a motorcycle while taking longer to transport one person; greater throughput does not necessarily mean lower latency. section 1.2

How Grokking Concurrency covers it

How deep it goes
Defines latency and contrasts it with throughput through a transport analogy, without detailing measurement procedures.
Examples
Uses a motorcycle commute and a motorcycle-versus-bus passenger comparison to illustrate task time and throughput.
What you can do after
Understand how task completion time differs from the number of tasks handled over time.
How it connects
Distinguishes latency from throughput as two different measures of system performance.

Also explained in

Compare how 29 books explain mean →

Related concepts

This explainer was generated by Manning's knowledge graph from the text of Grokking Concurrency. The section links point to the parts of the book it draws on.