Playground · Medium line · Station M11

Sort a huge dataset

Sort 60 TB in under 5 hours by splitting the work across machines.

A bank must sort 60 TB of a year's transactions by account and time for the auditors, and the report is due in 5 hours. No machine has 60 TB of memory. Analysts also check the job's progress 50 times a second.

Progress checks
50/s
Sorted file downloads
20/s
Job submissions
1/s
Budget
$1,800/mo
Speed
under 200 ms
Must
Survive a crash

Reported in interviews at Google, Microsoft