{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2026,6,13]],"date-time":"2026-06-13T04:58:29Z","timestamp":1781326709971,"version":"3.54.1"},"reference-count":54,"publisher":"Association for Computing Machinery (ACM)","issue":"6","funder":[{"DOI":"10.13039\/501100012166","name":"National Key Research and Development Program of China","doi-asserted-by":"publisher","award":["2022YFB2404200"],"award-info":[{"award-number":["2022YFB2404200"]}],"id":[{"id":"10.13039\/501100012166","id-type":"DOI","asserted-by":"publisher"}]},{"DOI":"10.13039\/501100017582","name":"Beijing National Research Center For Information Science And Technology","doi-asserted-by":"publisher","id":[{"id":"10.13039\/501100017582","id-type":"DOI","asserted-by":"publisher"}]}],"content-domain":{"domain":[],"crossmark-restriction":false},"short-container-title":["Proc. ACM Manag. Data"],"published-print":{"date-parts":[[2025,12,4]]},"abstract":"<jats:p>Modern stream processing engines (SPEs) must handle massive real-time data streams under strict latency and throughput requirements. However, conventional SPEs are constrained by their software parallelization strategies (e.g., queue-based data re-partitioning, high synchronization overheads, etc.), which prevent efficient utilization of modern hardware capabilities, ultimately limiting performance scalability. In this paper, we present FlexStream, a novel SPE that leverages hardware offloading to redesign the parallelization strategies and overcome these limitations. By offloading data re-partitioning to hardware and integrating a coupled network-executor model, FlexStream maximizes resource utilization, achieving up to 95% network bandwidth saturation. To address the load imbalance challenges introduced by this design, we implement a lock-free state backend with efficient state migration mechanisms. Overall, FlexStream achieves throughput improvements of 1.95 \u00d7 - 3.35 \u00d7 compared to state-of-the-art SPEs (e.g., LightSaber) across six real-world streaming analytics applications. FlexStream cuts latency spikes by 71.9% and migration time by 66.8% during state migration, highlighting the benefits of hardware-software co-design in SPEs. Our work underscores the potential of hardware-software co-design in SPEs, offering a scalable, elastic solution for real-time analytics.<\/jats:p>","DOI":"10.1145\/3769754","type":"journal-article","created":{"date-parts":[[2025,12,6]],"date-time":"2025-12-06T04:32:13Z","timestamp":1764995533000},"page":"1-23","source":"Crossref","is-referenced-by-count":0,"title":["Accelerating Stream Processing Engines via Hardware Offloading"],"prefix":"10.1145","volume":"3","author":[{"ORCID":"https:\/\/orcid.org\/0009-0009-4678-617X","authenticated-orcid":false,"given":"Zhengyan","family":"Guo","sequence":"first","affiliation":[{"name":"Tsinghua University, Beijing, China"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"ORCID":"https:\/\/orcid.org\/0000-0001-7518-0753","authenticated-orcid":false,"given":"Mingxing","family":"Zhang","sequence":"additional","affiliation":[{"name":"Tsinghua University, Beijing, China"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"ORCID":"https:\/\/orcid.org\/0009-0001-5019-8305","authenticated-orcid":false,"given":"Yingdi","family":"Shan","sequence":"additional","affiliation":[{"name":"Tsinghua University, Beijing, China"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"ORCID":"https:\/\/orcid.org\/0000-0002-8368-1109","authenticated-orcid":false,"given":"Kang","family":"Chen","sequence":"additional","affiliation":[{"name":"Tsinghua University, Beijing, China"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"ORCID":"https:\/\/orcid.org\/0000-0003-4034-7490","authenticated-orcid":false,"given":"Jinlei","family":"Jiang","sequence":"additional","affiliation":[{"name":"Dept. of Computer Science and Technology, BNRist, Tsinghua University, Beijing, China"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"ORCID":"https:\/\/orcid.org\/0000-0002-6651-7032","authenticated-orcid":false,"given":"Yongwei","family":"Wu","sequence":"additional","affiliation":[{"name":"Tsinghua University, Beijing, China"}],"role":[{"vocabulary":"crossref","role":"author"}]}],"member":"320","published-online":{"date-parts":[[2025,12,5]]},"reference":[{"key":"e_1_2_1_1_1","unstructured":"2020. Twitter sentiment analysis: A tale of stream processing. https:\/\/towardsdatascience.com\/twitter-sentimentanalysis-a-tale-of-stream-processing-8fd92e19a6e6\/"},{"key":"e_1_2_1_2_1","unstructured":"2021. flink-rescalable-state. https:\/\/flink.apache.org\/features\/2017\/07\/04\/flink-rescalable-state.html\/"},{"key":"e_1_2_1_3_1","unstructured":"2024. Receive Side Scaling. https:\/\/learn.microsoft.com\/en-us\/windows-hardware\/drivers\/network\/introduction-toreceive-side-scaling"},{"key":"e_1_2_1_4_1","doi-asserted-by":"crossref","unstructured":"Tyler Akidau Edmon Begoli Slava Chernyak Fabian Hueske Kathryn Knight Kenneth Knowles Daniel Mills and Dan Sotolongo. 2021. Watermarks in stream processing systems: Semantics and comparative analysis of apache flink and google cloud dataflow. Technical Report. Oak Ridge National Laboratory (ORNL) Oak Ridge TN (United States).","DOI":"10.14778\/3476311.3476389"},{"key":"e_1_2_1_5_1","doi-asserted-by":"publisher","DOI":"10.1145\/3359989.3365412"},{"key":"e_1_2_1_6_1","doi-asserted-by":"publisher","DOI":"10.1145\/2463676.2465282"},{"key":"e_1_2_1_7_1","doi-asserted-by":"publisher","DOI":"10.1145\/214451.214456"},{"key":"e_1_2_1_8_1","unstructured":"Sanket Chintapalli Derek Dagit Bobby Evans Reza Farivar Tom Graves Mark Holderbaugh Zhuo Liu Kyle Nusbaum Kishorkumar Patil Boyang Peng et al. 2015. Benchmarking streaming computation engines at yahoo. Tech. Rep. (2015)."},{"key":"e_1_2_1_9_1","first-page":"1789","article-title":"Benchmarking streaming computation engines: Storm, flink and spark streaming. In 2016 IEEE international parallel and distributed processing symposium workshops (IPDPSW)","author":"Chintapalli Sanket","year":"2016","unstructured":"Sanket Chintapalli, Derek Dagit, Bobby Evans, Reza Farivar, Thomas Graves, Mark Holderbaugh, Zhuo Liu, Kyle Nusbaum, Kishorkumar Patil, Boyang Jerry Peng, et al. 2016. Benchmarking streaming computation engines: Storm, flink and spark streaming. In 2016 IEEE international parallel and distributed processing symposium workshops (IPDPSW). IEEE, 1789-1792.","journal-title":"IEEE"},{"key":"e_1_2_1_10_1","doi-asserted-by":"publisher","DOI":"10.1145\/1629335.1629363"},{"key":"e_1_2_1_11_1","volume-title":"Intel\u00ae 64 and IA-32 Architectures Software Developer's Manual","author":"Intel Corporation","unstructured":"Intel Corporation. 2012. Intel\u00ae 64 and IA-32 Architectures Software Developer's Manual. Intel Corporation. Volume 3: System Programming Guide."},{"key":"e_1_2_1_12_1","unstructured":"Debezium. 2019. Building audit logs with change data capture and stream processing. https:\/\/debezium.io\/blog\/2019\/10\/01\/audit-logs-with-change-data-capture-and-stream-processing\/"},{"key":"e_1_2_1_13_1","doi-asserted-by":"publisher","DOI":"10.1145\/3318464.3389723"},{"key":"e_1_2_1_14_1","doi-asserted-by":"publisher","DOI":"10.1145\/3514221.3517826"},{"key":"e_1_2_1_15_1","doi-asserted-by":"publisher","DOI":"10.1016\/j.jpdc.2012.01.020"},{"key":"e_1_2_1_16_1","unstructured":"Exastax. 2017. Real-time stream processing for internet of things. https:\/\/medium.com\/@exastax\/real-time-streamprocessing-for-internet-of-things-24ac529f75a3\/"},{"key":"e_1_2_1_17_1","unstructured":"Apache Flink. 2015. https:\/\/flink.apache.org\/"},{"key":"e_1_2_1_18_1","doi-asserted-by":"publisher","DOI":"10.14778\/3137765.3137786"},{"key":"e_1_2_1_19_1","unstructured":"Apache Foundation. 2015. Apache Flink Configuration. https:\/\/ci.apache.org\/projects\/flink\/flink-docs-master"},{"key":"e_1_2_1_20_1","doi-asserted-by":"publisher","DOI":"10.1007\/s00778-023-00819-8"},{"key":"e_1_2_1_21_1","first-page":"929","volume-title":"2019 USENIX Annual Technical Conference (USENIX ATC 19)","author":"Fu Xinwei","year":"2019","unstructured":"Xinwei Fu, Talha Ghaffar, James C Davis, and Dongyoon Lee. 2019. {EdgeWise}: A better stream processing engine for the edge. In 2019 USENIX Annual Technical Conference (USENIX ATC 19). 929-946."},{"key":"e_1_2_1_22_1","doi-asserted-by":"publisher","DOI":"10.1145\/3318464.3389739"},{"key":"e_1_2_1_23_1","first-page":"539","volume-title":"2022 USENIX Annual Technical Conference (USENIX ATC 22)","author":"Gu Rong","year":"2022","unstructured":"Rong Gu, Han Yin, Weichang Zhong, Chunfeng Yuan, and Yihua Huang. 2022. Meces: latency-efficient rescaling via prioritized state migration for stateful distributed stream processing systems. In 2022 USENIX Annual Technical Conference (USENIX ATC 22). 539-556."},{"key":"e_1_2_1_24_1","doi-asserted-by":"publisher","DOI":"10.1145\/2528412"},{"key":"e_1_2_1_25_1","doi-asserted-by":"publisher","DOI":"10.14778\/3329772.3329777"},{"key":"e_1_2_1_26_1","doi-asserted-by":"publisher","DOI":"10.1109\/ACCESS.2019.2946884"},{"key":"e_1_2_1_27_1","doi-asserted-by":"publisher","DOI":"10.1145\/3575693.3575704"},{"key":"e_1_2_1_28_1","first-page":"783","volume-title":"13th USENIX Symposium on Operating Systems Design and Implementation (OSDI 18)","author":"Kalavri Vasiliki","year":"2018","unstructured":"Vasiliki Kalavri, John Liagouris, Moritz Hoffmann, Desislava Dimitrova, Matthew Forshaw, and Timothy Roscoe. 2018. Three steps is all you need: fast, accurate, automatic scaling decisions for distributed streaming dataflows. In 13th USENIX Symposium on Operating Systems Design and Implementation (OSDI 18). 783-798."},{"key":"e_1_2_1_29_1","first-page":"538","volume-title":"IJCAI","volume":"9","author":"Korf Richard E","year":"2009","unstructured":"Richard E Korf. 2009. Multi-way number partitioning.. In IJCAI, Vol. 9. 538-543."},{"key":"e_1_2_1_30_1","unstructured":"T Kubernetes. 2019. Kubernetes. Kubernetes. Retrieved May 24 (2019) 2019."},{"key":"e_1_2_1_31_1","doi-asserted-by":"publisher","DOI":"10.1145\/2723372.2742788"},{"key":"e_1_2_1_32_1","doi-asserted-by":"publisher","DOI":"10.1145\/2588555.2610507"},{"key":"e_1_2_1_33_1","first-page":"439","volume-title":"13th USENIX Symposium on Networked Systems Design and Implementation (NSDI 16)","author":"Lin Wei","year":"2016","unstructured":"Wei Lin, Zhengping Qian, Junwei Xu, Sen Yang, Jingren Zhou, and Lidong Zhou. 2016. {StreamScope}: Continuous Reliable Distributed Processing of Big Data Streams. In 13th USENIX Symposium on Networked Systems Design and Implementation (NSDI 16). 439-453."},{"key":"e_1_2_1_34_1","volume-title":"What is RCU, fundamentally? Linux Weekly News (LWN. net)","author":"McKenney Paul E","year":"2007","unstructured":"Paul E McKenney and Jonathan Walpole. 2007. What is RCU, fundamentally? Linux Weekly News (LWN. net) (2007)."},{"key":"e_1_2_1_35_1","doi-asserted-by":"publisher","DOI":"10.1145\/3297858.3304031"},{"key":"e_1_2_1_36_1","first-page":"617","volume-title":"2017 USENIX Annual Technical Conference (USENIX ATC 17)","author":"Miao Hongyu","year":"2017","unstructured":"Hongyu Miao, Heejin Park, Myeongjae Jeon, Gennady Pekhimenko, Kathryn S McKinley, and Felix Xiaozhu Lin. 2017. {StreamBox}: Modern Stream Processing on a Multicore Machine. In 2017 USENIX Annual Technical Conference (USENIX ATC 17). 617-629."},{"key":"e_1_2_1_37_1","doi-asserted-by":"publisher","DOI":"10.1145\/2517349.2522738"},{"key":"e_1_2_1_38_1","volume-title":"A real-time QRS detection algorithm","author":"Pan Jiapu","year":"2007","unstructured":"Jiapu Pan and Willis J Tompkins. 2007. A real-time QRS detection algorithm. IEEE transactions on biomedical engineering 3 (2007), 230-236."},{"key":"e_1_2_1_39_1","volume-title":"Rolling element bearing diagnostics-A tutorial. Mechanical systems and signal processing 25, 2","author":"Randall Robert B","year":"2011","unstructured":"Robert B Randall and Jerome Antoni. 2011. Rolling element bearing diagnostics-A tutorial. Mechanical systems and signal processing 25, 2 (2011), 485-520."},{"key":"e_1_2_1_40_1","volume-title":"2023 USENIX Annual Technical Conference (USENIX ATC . 301-314","author":"Song Won Wook","year":"2023","unstructured":"Won Wook Song, Taegeon Um, Sameh Elnikety, Myeongjae Jeon, and Byung-Gon Chun. 2023. Sponge: Fast reactive scaling for stream processing with serverless frameworks. In 2023 USENIX Annual Technical Conference (USENIX ATC . 301-314."},{"key":"e_1_2_1_41_1","unstructured":"Apache Spark Streaming. 2013. https:\/\/spark.apache.org\/streaming\/"},{"key":"e_1_2_1_42_1","first-page":"5855","article-title":"The relative strength index revisited","volume":"5","year":"2011","unstructured":"Adrian. 2011. The relative strength index revisited. African Journal of Business Management 5, 14 (2011), 5855-5862.","journal-title":"African Journal of Business Management"},{"key":"e_1_2_1_43_1","doi-asserted-by":"publisher","DOI":"10.1145\/3318464.3389753"},{"key":"e_1_2_1_44_1","doi-asserted-by":"publisher","DOI":"10.14778\/3489496.3489515"},{"key":"e_1_2_1_45_1","doi-asserted-by":"publisher","DOI":"10.1145\/2588555.2595641"},{"key":"e_1_2_1_46_1","volume-title":"Nexmark-a benchmark for queries over data streams (draft). Technical report","author":"Tucker Pete","year":"2008","unstructured":"Pete Tucker, Kristin Tufte, Vassilis Papadimos, and David Maier. 2008. Nexmark-a benchmark for queries over data streams (draft). Technical report (2008)."},{"key":"e_1_2_1_47_1","unstructured":"Virtuslab. 2020. Preventing fraud and fighting account takeovers with kafka streams. https:\/\/www.confluent.io\/blog\/fraud-prevention-and-threat-detection-with-kafka-streams\/"},{"key":"e_1_2_1_48_1","doi-asserted-by":"publisher","DOI":"10.1145\/3299869.3319868"},{"key":"e_1_2_1_49_1","unstructured":"John Wilkes. 2011. More Google Cluster Data. https:\/\/github.com\/google\/clusterdata"},{"key":"e_1_2_1_50_1","doi-asserted-by":"publisher","DOI":"10.1109\/ICDE.2015.7113328"},{"key":"e_1_2_1_51_1","doi-asserted-by":"publisher","DOI":"10.1007\/s11227-019-02905-7"},{"key":"e_1_2_1_52_1","doi-asserted-by":"publisher","DOI":"10.14778\/3303753.3303758"},{"key":"e_1_2_1_53_1","doi-asserted-by":"publisher","DOI":"10.1145\/3299869.3300067"},{"key":"e_1_2_1_54_1","doi-asserted-by":"publisher","DOI":"10.1007\/s10766-021-00696-0"}],"container-title":["Proceedings of the ACM on Management of Data"],"original-title":[],"language":"en","link":[{"URL":"https:\/\/dl.acm.org\/doi\/pdf\/10.1145\/3769754","content-type":"unspecified","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2026,6,13]],"date-time":"2026-06-13T04:47:27Z","timestamp":1781326047000},"score":1,"resource":{"primary":{"URL":"https:\/\/dl.acm.org\/doi\/10.1145\/3769754"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[2025,12,4]]},"references-count":54,"journal-issue":{"issue":"6","published-print":{"date-parts":[[2025,12,4]]}},"alternative-id":["10.1145\/3769754"],"URL":"https:\/\/doi.org\/10.1145\/3769754","relation":{},"ISSN":["2836-6573"],"issn-type":[{"value":"2836-6573","type":"electronic"}],"subject":[],"published":{"date-parts":[[2025,12,4]]}}}