MapReduce
medium 30 minMapReduce processes very large data on many machines with two small functions.
What each level should show
The same question is judged differently for mid, senior and staff.
Mid
Must show
- Names the three phases
- Writes word count
- Says what a combiner does
Will be probed on
- Average per key
- What a partitioner does
Stands out
Says that the shuffle is the cost.
Senior
Must show
- Failures of map, reduce and machine
- Skew and its remedies
- Map-side and reduce-side joins
Will be probed on
- Stragglers against skew
- Number of tasks
- Side effects
Stands out
Estimates map rounds and shuffle time.
Staff
Must show
- Chooses between one machine, batch, stream and query engine
- Plans reruns and late data
- Weighs the cost of a cluster
Will be probed on
- Moving off old jobs
- Small files
- Sharing a cluster
Stands out
Argues against a cluster when the data is small.