locality

Keeping data close to the code or users that need it, to avoid slow trips across a network.

In more detail

A datacenter round trip is about three hundred times faster than an intercontinental one, so locality outranks almost every other optimisation. Partition keys also create locality by keeping related records on one machine.

Related terms

Taught in

References