MilliSort and MilliQuery: Large-Scale Data-Intensive Computing in Milliseconds
Yilong Li, Seo Jin Park, John K. Ousterhout
Abstract
Today's datacenter applications couple scale and time: applications that harness large numbers of servers also execute for long periods of time (seconds or more). This paper explores the possibility of flash bursts: applications that use a large number of servers but for very short time intervals (as little as one millisecond). In order to learn more about the feasibility of flash bursts, we developed two new benchmarks, MilliSort and MilliQuery. MilliSort is a sorting application and MilliQuery implements three SQL queries. The goal for both applications was to process as many records as possible in one millisecond, given unlimited resources in a datacenter. The short time scale required a new distributed sorting algorithm for MilliSort that uses a hierarchical form of partitioning. Both applications depended on fast group communication primitives such as shuffle and all-gather. Our implementation of MilliSort can sort 0.84 million items in one millisecond using 120 servers on an HPC cluster; MilliQuery can process .03-48 million items in one millisecond using 60-280 servers, depending on the query. The number of items that each application can process grows quadratically with the time budget. The primary obstacle to scalability is per-message costs, which appear in the form of inefficient shuffles and coordination overhead.
Ask about this paper
Your agent reads all of it.
Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.
Your agent calls
Luneget_paper_fulltext
Free to start. No credit card required.
Terminal
Install the CLIlune papers fulltext 868ee52f-6f7a-41b7-b5d4-435caab20ea8Cited by top-tier papers5
- The nanoPU: A Nanosecond Network Stack for DatacentersStephen Ibanez, Alex Mallery, Serhat Arslan, Theo Jepsen et al.OSDI 2021 · 74 citations
- Nezha: Deployable and High-Performance Consensus Using Synchronized ClocksJinkun Geng, Anirudh Sivaraman, Balaji Prabhakar, Mendel RosenblumVLDB 2023 · 15 citations
- Zeta: A Scalable and Robust East-West Communication Framework in Large-Scale CloudsQianyu Zhang, Gongming Zhao, Hongli Xu, Zhuolong Yu et al.NSDI 2022 · 10 citations
- Burst Computing: Quick, Sudden, Massively Parallel Processing on Serverless ResourcesDaniel Barcelona Pons, Aitor Arjona, Pedro García López, Enrique Molina-Giménez et al.USENIX ATC 2025 · 3 citations
- Nu: Achieving Microsecond-Scale Resource Fungibility with Logical ProcessesZhenyuan Ruan, Seo Jin Park, Marcos K. Aguilera, Adam Belay et al.NSDI 2023
Builds on1
Related papers
- Efficient Microsecond-scale Blind Scheduling with Tiny QuantaZhihong Luo, Sam Son, Dev Bali, Emmanuel Amaro et al.ASPLOS 2024 · 8 citations
- Understanding the Effect of Data Center Resource Disaggregation on Production DBMSsQizhen Zhang, Yifan Cai, Xinyi Chen, Sebastian Angel et al.VLDB 2020 · 64 citations
- F5: A Robust SIMD-Accelerated MSD Radix SortArif Arman, Dmitri LoguinovICDE 2026
- Parallelism-Optimizing Data Placement for Faster Data-Parallel ComputationsNirvik Baruah, Peter Kraft, Fiodar Kazhamiaka, Peter Bailis et al.VLDB 2023 · 9 citations
- Horus: Granular In-Network Task Scheduler for Cloud DatacentersParham Yassini, Khaled Diab, Saeed Mahloujifar, Mohamed HefeedaNSDI 2024 · 14 citations
