Simulation/Spark

Educational simulation
Spark

Shuffle Simulator

Watch keys hash to reducers across the network.

Watch the canvas:map partitionA, B → reducer 0C, D → reducer 1Live simulation
Map side — mixed keysP0map partitionACP1map partitionBAP2map partitionDCP3map partitionBDACBADCBDReducer 0waitingReducer 1waitinghash(region) % 2 · A,B → R0 C,D → R1 · still on diskNetwork + disk + serialization — this is the billComplete keys. Aggregation is now a local CPU loop.
Watch the keys move. Shuffle exists only because they start mixed.