{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2026,10,23]],"date-time":"2026-10-23T23:07:51Z","timestamp":1792796871794,"version":"4.5.0"},"reference-count":42,"publisher":"Association for Computing Machinery (ACM)","issue":"12","content-domain":{"domain":[],"crossmark-restriction":false},"short-container-title":["Proc. VLDB Endow."],"published-print":{"date-parts":[[2020,8]]},"abstract":"<jats:p>Over the past decade, Apache Spark has become a popular compute engine for large scale data processing. Similar to other compute engines based on the MapReduce compute paradigm, the shuffle operation, namely the all-to-all transfer of the intermediate data, plays an important role in Spark. At LinkedIn, with the rapid growth of the data size and scale of the Spark deployment, the shuffle operation is becoming a bottleneck of further scaling the infrastructure. This has led to overall job slowness and even failures for long running jobs. This not only impacts developer productivity for addressing such slowness and failures, but also results in high operational cost of infrastructure.<\/jats:p>\n                  <jats:p>In this work, we describe the main bottlenecks impacting shuffle scalability. We propose Magnet, a novel shuffle mechanism that can scale to handle petabytes of daily shuffled data and clusters with thousands of nodes. Magnet is designed to work with both on-prem and cloud-based cluster deployments. It addresses a key shuffle scalability bottleneck by merging fragmented intermediate shuffle data into large blocks. Magnet provides further improvements by co-locating merged blocks with the reduce tasks. Our benchmarks show that Magnet significantly improves shuffle performance independent of the underlying hardware. Magnet reduces the end-to-end runtime of Linkedln's production Spark jobs by nearly 30%. Furthermore, Magnet improves user productivity by removing the shuffle related tuning burden from users.<\/jats:p>","DOI":"10.14778\/3415478.3415558","type":"journal-article","created":{"date-parts":[[2020,9,14]],"date-time":"2020-09-14T18:46:46Z","timestamp":1600109206000},"page":"3382-3395","source":"Crossref","is-referenced-by-count":27,"title":["Magnet"],"prefix":"10.14778","volume":"13","author":[{"given":"Min","family":"Shen","sequence":"first","affiliation":[{"name":"LinkedIn"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Ye","family":"Zhou","sequence":"additional","affiliation":[{"name":"LinkedIn"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Chandni","family":"Singh","sequence":"additional","affiliation":[{"name":"LinkedIn"}],"role":[{"vocabulary":"crossref","role":"author"}]}],"member":"320","published-online":{"date-parts":[[2020,8]]},"reference":[{"key":"e_1_2_1_1_1","unstructured":"Apache Hadoop. http:\/\/hadoop.apache.org (Retrieved 02\/20\/2020)."},{"key":"e_1_2_1_2_1","unstructured":"Apache spark the fastest open source engine for sorting a petabyte. https:\/\/databricks.com\/blog\/2014\/10\/10\/spark-petabyte-sort.html (Retrieved 02\/20\/2020)."},{"key":"e_1_2_1_3_1","unstructured":"Building the next version of our infrastructure. https:\/\/engineering.linkedin.com\/blog\/2019\/building-next-infra (Retrieved 05\/15\/2020)."},{"key":"e_1_2_1_4_1","unstructured":"Cosco: An efficient facebook-scale shuffle service. https:\/\/databricks.com\/session\/cosco-an-efficient-facebook-scale-shuffle-service (Retrieved 02\/20\/2020)."},{"key":"e_1_2_1_5_1","unstructured":"Create shuffle service for external block storage. https:\/\/issues.apache.org\/jira\/browse\/SPARK-3796 (Retrieved 02\/20\/2020)."},{"key":"e_1_2_1_6_1","unstructured":"Dr. elephant for monitoring and tuning apache spark jobs on hadoop. https:\/\/databricks.com\/session\/dr-elephant-for-monitoring-and-tuning-apache-spark-jobs-on-hadoop (Retrieved 02\/20\/2020)."},{"key":"e_1_2_1_7_1","unstructured":"Introduce pluggable shuffle service architecture. https:\/\/issues.apache.org\/jira\/browse\/FLINK-10653 (Retrieved 02\/20\/2020)."},{"key":"e_1_2_1_8_1","unstructured":"KFS. https:\/\/code.google.com\/archive\/p\/kosmosfs\/ (Retrieved 02\/20\/2020)."},{"key":"e_1_2_1_9_1","unstructured":"Making apache spark effortless for all of uber. https:\/\/eng.uber.com\/uscs-apache-spark\/ (Retrieved 02\/20\/2020)."},{"key":"e_1_2_1_10_1","unstructured":"Netflix: Integrating spark at petabyte scale. https:\/\/conferences.oreilly.com\/strata\/big-data-conference-ny-2015\/public\/schedule\/detail\/43373 (Retrieved 02\/20\/2020)."},{"key":"e_1_2_1_11_1","unstructured":"plugin for generic shuffle service. https:\/\/issues.apache.org\/jira\/browse\/MAPREDUCE-4049 (Retrieved 02\/20\/2020)."},{"key":"e_1_2_1_12_1","unstructured":"Spark data locality documentation. https:\/\/spark.apache.org\/docs\/latest\/tuning.html#data-locality (Retrieved 02\/20\/2020)."},{"key":"e_1_2_1_13_1","unstructured":"Spark dynamic resource allocation documentation. https:\/\/spark.apache.org\/docs\/latest\/job-scheduling.html#dynamic-resource-allocation (Retrieved 02\/20\/2020)."},{"key":"e_1_2_1_14_1","unstructured":"Spark sql adaptive execution at 100 tb. https:\/\/software.intel.com\/en-us\/articles\/spark-sql-adaptive-execution-at-100--tb (Retrieved 02\/20\/2020)."},{"key":"e_1_2_1_15_1","unstructured":"Taking advantage of a disaggregated storage and compute architecture. https:\/\/databricks.com\/session\/taking-advantage-of-a-disaggregated-storage-and-compute-architecture (Retrieved 02\/20\/2020)."},{"key":"e_1_2_1_16_1","unstructured":"Tuning apache spark for large-scale workloads. https:\/\/databricks.com\/session\/tuning-apache-spark-for-large-scale-workloads (Retrieved 02\/20\/2020)."},{"key":"e_1_2_1_17_1","volume-title":"USENIX HotOS","author":"Ananthanarayanan G.","year":"2011","unstructured":"G. Ananthanarayanan, A. Ghodsi, S. Shenker, and I. Stoica. Disk-locality in datacenter computing considered irrelevant. USENIX HotOS, 2011."},{"key":"e_1_2_1_18_1","doi-asserted-by":"publisher","DOI":"10.1145\/2723372.2742797"},{"issue":"4","key":"e_1_2_1_19_1","first-page":"28","article-title":"Apache flink: Stream and batch processing in a single engine","volume":"38","author":"Carbone P.","year":"2015","unstructured":"P. Carbone, A. Katsifodimos, S. Ewen, V. Markl, S. Haridi, and K. Tzoumas. Apache flink: Stream and batch processing in a single engine. Bulletin IEEE Comput. Soc. Tech. Committee Data Eng, 38(4):28--38, 2015.","journal-title":"Bulletin IEEE Comput. Soc. Tech. Committee Data Eng"},{"key":"e_1_2_1_20_1","volume-title":"NSDI 2010","author":"Condie T.","year":"2010","unstructured":"T. Condie, N. Conway, P. Alvaro, J. M. Hellerstein, K. Elmeleegy, and R. Sears. Mapreduce online. NSDI 2010, 10(4), 2010."},{"key":"e_1_2_1_21_1","volume-title":"Optimizing shuffle performance in spark","author":"Davidson A.","year":"2013","unstructured":"A. Davidson and A. Or. Optimizing shuffle performance in spark. University of California, Berkeley-Department of Electrical Engineering and Computer Sciences, Tech. Rep, 2013."},{"key":"e_1_2_1_22_1","doi-asserted-by":"publisher","DOI":"10.1145\/1327452.1327492"},{"key":"e_1_2_1_23_1","doi-asserted-by":"publisher","DOI":"10.1007\/978-3-319-39577-7_5"},{"key":"e_1_2_1_24_1","volume-title":"FAST","author":"Grupp L. M.","year":"2012","unstructured":"L. M. Grupp, J. D. Davis, and S. Swanson. The bleak future of nand flash memory. FAST, 2012."},{"key":"e_1_2_1_25_1","doi-asserted-by":"publisher","DOI":"10.1109\/TPDS.2016.2587645"},{"key":"e_1_2_1_26_1","doi-asserted-by":"publisher","DOI":"10.1109\/CCGrid.2012.42"},{"key":"e_1_2_1_27_1","first-page":"261","volume-title":"Cidr","author":"Herodotou H.","year":"2011","unstructured":"H. Herodotou, H. Lim, G. Luo, N. Borisov, L. Dong, F. B. Cetin, and S. Babu. Starfish: A self-tuning system for big data analytics. Cidr, pages 261--272, 2011."},{"key":"e_1_2_1_28_1","first-page":"8","volume-title":"Proc. Dell Tech. White Paper","author":"Kasavajhala V.","year":"2011","unstructured":"V. Kasavajhala. Solid state drive vs. hard disk drive price and performance study. Proc. Dell Tech. White Paper, pages 8--9, 2011."},{"key":"e_1_2_1_29_1","doi-asserted-by":"publisher","DOI":"10.5555\/3323298.3323325"},{"key":"e_1_2_1_30_1","doi-asserted-by":"publisher","DOI":"10.1145\/2517349.2522716"},{"key":"e_1_2_1_31_1","doi-asserted-by":"publisher","DOI":"10.14778\/3339490.3339495"},{"key":"e_1_2_1_32_1","first-page":"177","volume-title":"International Journal of Engineering Research and Technology","author":"Rana N.","year":"2015","unstructured":"N. Rana and S. Deshmukh. Shuffle performance in apache spark. International Journal of Engineering Research and Technology, pages 177--180, 2015."},{"key":"e_1_2_1_33_1","doi-asserted-by":"publisher","DOI":"10.1145\/2391229.2391233"},{"key":"e_1_2_1_34_1","doi-asserted-by":"publisher","DOI":"10.1145\/2465351.2465386"},{"key":"e_1_2_1_35_1","doi-asserted-by":"publisher","DOI":"10.1109\/ICDE.2019.00196"},{"issue":"1","key":"e_1_2_1_36_1","first-page":"38","article-title":"Crail: A high-performance i\/o architecture for distributed data processing","volume":"40","author":"Stuedi P.","year":"2017","unstructured":"P. Stuedi, A. Trivedi, J. Pfefferle, R. Stoica, B. Metzler, N. Ioannou, and I. Koltsidas. Crail: A high-performance i\/o architecture for distributed data processing. IEEE Data Eng. Bull., 40(1):38--49, 2017.","journal-title":"IEEE Data Eng. Bull."},{"key":"e_1_2_1_37_1","doi-asserted-by":"publisher","DOI":"10.1145\/2523616.2523633"},{"key":"e_1_2_1_38_1","doi-asserted-by":"publisher","DOI":"10.1109\/BigData.2014.7004220"},{"key":"e_1_2_1_39_1","doi-asserted-by":"publisher","DOI":"10.1145\/2063384.2063461"},{"key":"e_1_2_1_40_1","volume-title":"Proc. USENIX Symposium on Networked Systems Design and Implementation (NSDI)","author":"Zaharia M.","year":"2012","unstructured":"M. Zaharia, M. Chowdhury, T. Das, A. Dave, J. Ma, M. McCauley, M. Franklin, S. Shenker, and I. Stoica. Resilient distributed datasets: A fault-tolerant abstraction for in-memory cluster computing. Proc. USENIX Symposium on Networked Systems Design and Implementation (NSDI), 2012."},{"key":"e_1_2_1_41_1","doi-asserted-by":"publisher","DOI":"10.1145\/3190508.3190534"},{"key":"e_1_2_1_42_1","volume-title":"Shuffle manager in a distributed memory object architecture","author":"Zhuang P.","year":"2020","unstructured":"P. Zhuang, K. Huang, Y. Zhao, W. Kang, H. Wang, Y. Li, and J. Yu. Shuffle manager in a distributed memory object architecture, 2020. US Patent App. 16\/372,161."}],"container-title":["Proceedings of the VLDB Endowment"],"original-title":[],"language":"en","link":[{"URL":"https:\/\/dl.acm.org\/doi\/pdf\/10.14778\/3415478.3415558","content-type":"unspecified","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2025,9,17]],"date-time":"2025-09-17T02:45:15Z","timestamp":1758077115000},"score":1,"resource":{"primary":{"URL":"https:\/\/dl.acm.org\/doi\/10.14778\/3415478.3415558"}},"subtitle":["push-based shuffle service for large-scale data processing"],"short-title":[],"issued":{"date-parts":[[2020,8]]},"references-count":42,"journal-issue":{"issue":"12","published-print":{"date-parts":[[2020,8]]}},"alternative-id":["10.14778\/3415478.3415558"],"URL":"https:\/\/doi.org\/10.14778\/3415478.3415558","relation":{},"ISSN":["2150-8097"],"issn-type":[{"value":"2150-8097","type":"print"}],"subject":[],"published":{"date-parts":[[2020,8]]}}}