Memcached
medium 30 minMemcached is a small, fast, shared cache for plain values.
What each level should show
The same question is judged differently for mid, senior and staff.
Mid
Must show
- Explains client-side sharding
- Uses cache-aside with a TTL
- Knows data is lost on a crash
Will be probed on
- Slab classes
- add and cas
Stands out
Works out the extra database load when a node dies.
Senior
Must show
- Explains eviction inside a class
- Handles stampedes and lost deletes
- Grows the pool safely
Will be probed on
- Multiget hole
- Stats to watch
- Hot keys
Stands out
Finds a starved slab class from the numbers.
Staff
Must show
- Chooses local, shared and second pools for a cost
- Plans regions and invalidation
- Decides who may depend on a warm cache
Will be probed on
- Proxy or client sharding
- Flash tier
- One cache technology or two
Stands out
Says what the system does with an empty cache, and has tested it.