local cache

A cache kept inside one application process's own memory, such as a dictionary.

In more detail

A hit costs nanoseconds and no network, but each process holds its own copy, so twenty pods mean twenty caches with no reliable way to delete a key everywhere. Pair it with a very short expiry to bound how stale it can be.

Related terms

Taught in

References