10-605 · sorting data that does not fit in memory

Low-Memory Scalable Merge Sort

Merge sort can be implemented with minimal memory at scale: fill whatever RAM you have, sort that batch, spill it to disk as a sorted run, and then merge runs F at a time until only one run remains.

Stage

Ready.