Cognitive Scaffold

Preparing your thinking workspace

arrow_back_ios_new
MENTAL MODEL · M1009

Latency vs. Throughput

Latency vs. Throughput
TechnicalHigh supportSoftware Engineering
Included
account_tree

Updated 2026-07-30

Loading revision record…

Summary

Latency is the response time of a single request (how fast it is)

Definition

Latency is the response time of a single request (how fast it is); Throughput is the total amount processed per unit time (how much). Low latency does not equal high throughput (e.g., sports car transporting goods vs. train transporting goods). Scaffold use: clarify optimization goals. Is your goal 'instant message replies' (low latency) or 'complete 10 proposals in a day' (high throughput)? These two are often contradictory. For high throughput (deep work), you must sacrifice latency (not replying to WeChat); for low latency (immediate response), you inevitably sacrifice throughput.

How to use

Clarify optimization goals. Is your goal 'instant message replies' (low latency) or 'complete 10 proposals in a day' (high throughput)? These two are often contradictory. For high throughput (deep work), you must sacrifice latency (not replying to WeChat); for low latency (immediate response), you inevitably sacrifice throughput.

Mechanism

Latency measures how quickly a single request returns, throughput measures the amount processed per unit time; they often constrain each other—batching to increase throughput often raises latency. Understanding the trade-off helps set reasonable goals.

Practice

In progress 0/4

Practice this model in one real situation:

Check to track your progress (stored locally)
Learning progress0%

Cases

  • Log pipelines prioritize throughput and can tolerate high latency; transaction interfaces prioritize low latency and sacrifice some throughput.

Common pitfalls

  • Assuming optimizing one necessarily optimizes the other; ignoring the resource consumption of in-flight requests.
Sources

Source support: Explicit

  • link
    baike.baidu.comhttps://baike.baidu.com/item/%E7%BD%91%E7%BB%9C%E5%90%9E%E5%90%90%E9%87%8F/646450ZH · Explicit
    verified
account_treeGenealogyexpand_more

RELATED MODELS