Back to the course

System Design glossary

Every term the course teaches, in one plain sentence. Search for a word you just heard, or pick a unit to see the terms it teaches. Each unit tag takes you to that unit on the course page.

14 of 168 terms

C

Cache
A fast store that keeps copies of data so repeat reads skip the slower source.Unit 4: Caching
Cache hit ratio
The share of reads the cache answers without going to the source.Unit 4: Caching
Cache invalidation
Removing or updating cached copies when the source data changes, so readers don't see stale data.Unit 4: Caching
Cache stampede
Many requests miss the same expired entry at once and all hit the database together.Unit 4: Caching
Cache-aside
The app checks the cache first and, on a miss, reads the database and puts a copy in the cache.Unit 4: Caching
Consistent hashing
A way to map keys to servers so adding or removing a server moves only a small share of the keys.Unit 4: CachingUnit 5: Data storage

L

LFU
Least frequently used: an eviction policy that removes the entry read the fewest times.Unit 4: Caching
LRU
Least recently used: an eviction policy that removes the entry that hasn't been read for the longest time.Unit 4: Caching

M

Memcached
A simple, multithreaded in-memory key-value cache.Unit 4: Caching

R

Redis
An in-memory data store used as a cache, queue and database, with rich data types and optional persistence.Unit 4: Caching
Refresh-ahead
The cache reloads popular entries shortly before they expire, so readers rarely see a miss.Unit 4: Caching

T

TTL
Time to live: how long a cached answer, such as a DNS record or a cache entry, stays valid before it must be fetched again.Unit 1: How the web talksUnit 4: Caching

W

Write-behind
Writes go to the cache first and are saved to the database later in batches, which is fast but can lose data.Unit 4: Caching
Write-through
Every write goes to the cache and the database together, so the cache is never stale.Unit 4: Caching