system-design-primer/resources/noat.cards/Latency vs throughput.md

497 B

+++ noatcards = True isdraft = False +++

Latency vs throughput

Latency vs throughput define

Latency is the time to perform some action or to produce some result.

Throughput is the number of such actions or results per unit of time.

Generally, you should aim for maximal throughput with acceptable latency.

Source(s) and further reading