🔗 Source: Understanding Blockchain Latency and Throughput
TLDR:
Author argues 2 metrics matter for blockchain systems:
- latency = amount of time between initiating a transaction or payment and receiving confirmation that it is valid (typically
seconds
)- lower latency (better) in 1 block finality (transaction is finalized once it gets confirmed), e.g. in classical BFT systems (e.g. PBFT, Tendermint, Tusk & Narwhal, etc)
- higher latency (worse) in longest-chain consensus (transactions may be reorged so wait until a transaction is "k-blocks deep), e.g. in Nakamoto Consensus, Solana/Ethereum PoS.
- throughput = load the system handles per unit of time (typically
transactions per second
)
You would expect latency
and throughput
to be inversely correlated in the form
the key takeaway from this blog post is that we should measure in the hot zone, where both throughput and latency affect our benchmark, rather than at the edges, where only one or the other matters.