nanosecond
One billionth of a second, the time scale of processor caches and memory.
In more detail
A processor cache reference is about one nanosecond and a main memory reference about a hundred. An in-process cache hit is measured in nanoseconds because it touches no network.
Related terms
- microsecond — One millionth of a second, the time scale of flash storage reads.
- millisecond — One thousandth of a second, the usual unit for request latency.
- memory — The fast, temporary working space where running programs keep their data; it is emptied when the machine powers off.
- CPU cache — A small, very fast memory on the processor that keeps copies of recently used data, and the data next to it, so it can be read again quickly.
Taught in
- Latency Numbers Every Engineer Should Know — Scalable System Design & Distributed Architecture
- Caching Strategies And Topology — Scalable System Design & Distributed Architecture