{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2026,11,3]],"date-time":"2026-11-03T18:02:14Z","timestamp":1793728934761,"version":"4.6.1"},"reference-count":33,"publisher":"Springer Science and Business Media LLC","issue":"2","license":[{"start":{"date-parts":[[2024,1,12]],"date-time":"2024-01-12T00:00:00Z","timestamp":1705017600000},"content-version":"tdm","delay-in-days":0,"URL":"https:\/\/creativecommons.org\/licenses\/by\/4.0"},{"start":{"date-parts":[[2024,1,12]],"date-time":"2024-01-12T00:00:00Z","timestamp":1705017600000},"content-version":"vor","delay-in-days":0,"URL":"https:\/\/creativecommons.org\/licenses\/by\/4.0"}],"funder":[{"DOI":"10.13039\/501100001747","name":"Hong Kong Baptist University","doi-asserted-by":"crossref","id":[{"id":"10.13039\/501100001747","id-type":"DOI","asserted-by":"crossref"}]}],"content-domain":{"domain":["link.springer.com"],"crossmark-restriction":false},"short-container-title":["CCF Trans. HPC"],"published-print":{"date-parts":[[2024,4]]},"abstract":"<jats:title>Abstract<\/jats:title><jats:p>In stream processing systems, Key Grouping is a commonly employed partitioning scheme for distributing input tuples among parallel instances of stateful operators. With key grouping, tuples shared public keys in the stream are designated to the specific instance responsible for that key. Typically, the implementation of key grouping involves the use of a hash function. While it is convenient and deterministic, it is also known to cause load imbalance between parallel instances, especially in the presence of skewed data streams. Key-Splitting is an effective technique that distributes tasks associated with keys to downstream operators, facilitating load balancing at a relatively low cost. However, overly increasing parallel instances can lead to excessive aggregation costs, becoming a system bottleneck. In this paper, we show the high aggregation cost brought by the Key-Splitting partitioner at different levels of key separation. To address this challenge, we introduce an adaptive Key-Splitting method which controlling the degree of key separation. We propose a partitioner named FlexD, which aims to achieve dynamic adaptation of key separation limits for streaming data. The partitioner employs key grouping to distribute rare keys and dynamic expansion of processing instances to distribute hot keys. We implemented our method on Apache Storm and evaluated it by using real-world and synthetic datasets. Experimental results show that our method achieves a good balance between load balancing and aggregation cost. Moreover, it outperforms existing methods, achieving higher throughput.<\/jats:p>","DOI":"10.1007\/s42514-023-00179-3","type":"journal-article","created":{"date-parts":[[2024,1,12]],"date-time":"2024-01-12T09:02:33Z","timestamp":1705050153000},"page":"164-178","update-policy":"https:\/\/doi.org\/10.1007\/springer_crossmark_policy","source":"Crossref","is-referenced-by-count":13,"title":["Adaptive key partitioning in distributed stream processing"],"prefix":"10.1007","volume":"6","author":[{"given":"Gang","family":"Liu","sequence":"first","affiliation":[],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Zeting","family":"Wang","sequence":"additional","affiliation":[],"role":[{"vocabulary":"crossref","role":"author"}]},{"ORCID":"https:\/\/orcid.org\/0000-0002-9773-9332","authenticated-orcid":false,"given":"Amelie Chi","family":"Zhou","sequence":"additional","affiliation":[],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Rui","family":"Mao","sequence":"additional","affiliation":[],"role":[{"vocabulary":"crossref","role":"author"}]}],"member":"297","published-online":{"date-parts":[[2024,1,12]]},"reference":[{"key":"179_CR1","doi-asserted-by":"crossref","unstructured":"Abdelhamid, A.S., Aref, W.G.: Partly: learning data partitioning for distributed data stream processing. In: Proceedings of the Third International Workshop on Exploiting Artificial Intelligence Techniques for Data Management, pp. 1\u20134 (2020)","DOI":"10.1145\/3401071.3401660"},{"key":"179_CR2","doi-asserted-by":"crossref","unstructured":"Abdelhamid, A.S., Mahmood, A.R., Daghistani, A., Aref, W.G.: Prompt: Dynamic data-partitioning for distributed micro-batch stream processing systems. In: Proceedings of the 2020 ACM SIGMOD International Conference on Management of Data, pp. 2455\u20132469 (2020)","DOI":"10.1145\/3318464.3389713"},{"issue":"12","key":"179_CR3","doi-asserted-by":"publisher","first-page":"1792","DOI":"10.14778\/2824032.2824076","volume":"8","author":"T Akidau","year":"2015","unstructured":"Akidau, T., Bradshaw, R., Chambers, C., Chernyak, S., Fern\u00e1ndez-Moctezuma, R.J., Lax, R., McVeety, S., Mills, D., Perry, F., Schmidt, E., Whittle, S.: The dataflow model: a practical approach to balancing correctness, latency, and cost in massive-scale, unbounded, out-of-order data processing. Proc. VLDB Endow. 8(12), 1792\u20131803 (2015)","journal-title":"Proc. VLDB Endow."},{"key":"179_CR4","unstructured":"Apache Storm. http:\/\/storm.apache.org\/. Accessed  Jan 2024"},{"issue":"20","key":"179_CR5","doi-asserted-by":"publisher","first-page":"6338","DOI":"10.1002\/cpe.6338","volume":"33","author":"A Aslam","year":"2021","unstructured":"Aslam, A., Chen, H., Jin, H.: Pre-filtering based summarization for data partitioning in distributed stream processing. Concurr. Comput. Pract. Exp. 33(20), 6338 (2021)","journal-title":"Concurr. Comput. Pract. Exp."},{"key":"179_CR6","doi-asserted-by":"crossref","unstructured":"Balkesen, C., Tatbul, N., \u00d6zsu, M.T.: Adaptive input admission and management for parallel stream processing. In: Proceedings of the 7th ACM International Conference on Distributed Event-based Systems. DEBS \u201913, pp. 15\u201326. ACM, New York, NY, USA (2013)","DOI":"10.1145\/2488222.2488258"},{"issue":"10","key":"179_CR7","doi-asserted-by":"publisher","first-page":"1582","DOI":"10.1109\/TC.2020.3019689","volume":"70","author":"H Chen","year":"2021","unstructured":"Chen, H., Zhang, F., Jin, H.: Pstream: a popularity-aware differentiated distributed stream processing system. IEEE Trans. Comput. 70(10), 1582\u20131597 (2021)","journal-title":"IEEE Trans. Comput."},{"issue":"1","key":"179_CR8","doi-asserted-by":"publisher","first-page":"58","DOI":"10.1016\/j.jalgor.2003.12.001","volume":"55","author":"G Cormode","year":"2005","unstructured":"Cormode, G., Muthukrishnan, S.: An improved data stream summary: the count-min sketch and its applications. J. Algorithms 55(1), 58\u201375 (2005)","journal-title":"J. Algorithms"},{"key":"179_CR9","doi-asserted-by":"crossref","unstructured":"Fang, J., Zhang, R., Fu, T.Z.J., Zhang, Z., Zhou, A., Zhu, J.: Parallel stream processing against workload skewness and variance. In: Proceedings of the 26th International Symposium on High-Performance Parallel and Distributed Computing. HPDC \u201917, pp. 15\u201326. ACM, New York, NY, USA (2017)","DOI":"10.1145\/3078597.3078613"},{"issue":"4","key":"179_CR10","doi-asserted-by":"publisher","first-page":"517","DOI":"10.1007\/s00778-013-0335-9","volume":"23","author":"B Gedik","year":"2014","unstructured":"Gedik, B.: Partitioning functions for stateful data parallelism in stream processing. VLDB J. 23(4), 517\u2013539 (2014)","journal-title":"VLDB J."},{"issue":"6","key":"179_CR11","doi-asserted-by":"publisher","first-page":"1447","DOI":"10.1109\/TPDS.2013.295","volume":"25","author":"B Gedik","year":"2014","unstructured":"Gedik, B., Schneider, S., Hirzel, M., Wu, K.: Elastic scaling for data stream processing. IEEE Trans. Parallel Distrib. Syst. 25(6), 1447\u20131463 (2014)","journal-title":"IEEE Trans. Parallel Distrib. Syst."},{"issue":"11","key":"179_CR12","doi-asserted-by":"publisher","first-page":"1286","DOI":"10.14778\/3137628.3137639","volume":"10","author":"NR Katsipoulakis","year":"2017","unstructured":"Katsipoulakis, N.R., Labrinidis, A., Chrysanthis, P.K.: A holistic view of stream partitioning costs. Proc. VLDB Endow. 10(11), 1286\u20131297 (2017)","journal-title":"Proc. VLDB Endow."},{"key":"179_CR13","doi-asserted-by":"crossref","unstructured":"Lin, Q., Ooi, B.C., Wang, Z., Yu, C.: Scalable distributed stream join processing. In: Proceedings of the 2015 ACM SIGMOD International Conference on Management of Data. SIGMOD \u201915, pp. 811\u2013825. Association for Computing Machinery, New York, NY, USA (2015)","DOI":"10.1145\/2723372.2746485"},{"issue":"1","key":"179_CR14","doi-asserted-by":"publisher","first-page":"17","DOI":"10.1080\/15427951.2007.10129136","volume":"4","author":"S Lumetta","year":"2007","unstructured":"Lumetta, S., Mitzenmacher, M.: Using the power of two choices to improve bloom filters. Internet Math. 4(1), 17\u201333 (2007)","journal-title":"Internet Math."},{"key":"179_CR15","unstructured":"Merity, S., Xiong, C., Bradbury, J., Socher, R.: Pointer sentinel mixture models. http:\/\/arxiv.org\/abs\/1609.07843 (2016)"},{"key":"179_CR16","doi-asserted-by":"crossref","unstructured":"Metwally, A., Agrawal, D., El\u00a0Abbadi, A.: Efficient computation of frequent and top-k elements in data streams. ICDT\u201905, pp. 398\u2013412. Springer, Berlin, Heidelberg (2005)","DOI":"10.1007\/978-3-540-30570-5_27"},{"key":"179_CR17","unstructured":"Muthukrishnan, S.: Data streams: Algorithms and applications. In: Proceedings of the Fourteenth Annual ACM-SIAM Symposium on Discrete Algorithms. SODA \u201903, p. 413. Society for Industrial and Applied Mathematics, USA (2003)"},{"key":"179_CR18","doi-asserted-by":"crossref","unstructured":"Nasir, M.A.U., Morales, G.D.F., Garcia-Soriano, D., Kourtellis, N., Serafini, M.: The power of both choices: practical load balancing for distributed stream processing engines. In: 2015 IEEE 31st International Conference on Data Engineering. IEEE (2015a)","DOI":"10.1109\/ICDE.2015.7113279"},{"key":"179_CR19","unstructured":"Nasir, M.A.U., Morales, G.D.F., Kourtellis, N., Serafini, M.: When two choices are not enough: balancing at scale in distributed stream processing. CoRR arXiv:1510.05714 (2015b)"},{"key":"179_CR20","doi-asserted-by":"crossref","unstructured":"Pacaci, A., \u00d6zsu, M.T.: Distribution-aware stream partitioning for distributed stream processing systems. In: Proceedings of the 5th ACM SIGMOD Workshop on Algorithms and Systems for MapReduce and Beyond. BeyondMR\u201918, pp. 6\u20131610. ACM, New York, NY, USA (2018)","DOI":"10.1145\/3206333.3206338"},{"key":"179_CR21","doi-asserted-by":"crossref","unstructured":"Qureshi, M.M., Chen, H., Jin, H.: Modeling distributed stream processing systems under heavy workload. In: 2019 International Conference on Cyberworlds (CW), pp. 93\u2013100 (2019)","DOI":"10.1109\/CW.2019.00024"},{"key":"179_CR22","doi-asserted-by":"crossref","unstructured":"Rivetti, N., Anceaume, E., Busnel, Y., Querzoni, L., Sericola, B.: Online scheduling for shuffle grouping in distributed stream processing systems. In: Proceedings of the 17th International Middleware Conference. Middleware \u201916, pp. 11\u201311112. ACM, New York, NY, USA (2016)","DOI":"10.1145\/2988336.2988347"},{"key":"179_CR23","doi-asserted-by":"crossref","unstructured":"Rivetti, N., Querzoni, L., Anceaume, E., Busnel, Y., Sericola, B.: Efficient key grouping for near-optimal load balancing in stream processing systems. In: Proceedings of the 9th ACM International Conference on Distributed Event-Based Systems. DEBS \u201915, pp. 80\u201391. ACM, New York, NY, USA (2015)","DOI":"10.1145\/2675743.2771827"},{"key":"179_CR24","doi-asserted-by":"crossref","unstructured":"Schneider, S., Hirzel, M., Gedik, B., Wu, K.: Auto-parallelizing stateful distributed streaming applications. In: 2012 21st International Conference on Parallel Architectures and Compilation Techniques (PACT), pp. 53\u201364 (2012)","DOI":"10.1145\/2370816.2370826"},{"key":"179_CR25","doi-asserted-by":"crossref","unstructured":"Toliopoulos, T., Gounaris, A.: Adaptive distributed partitioning in apache flink. In: 2020 IEEE 36th International Conference on Data Engineering Workshops (ICDEW), pp. 127\u2013132 (2020). IEEE","DOI":"10.1109\/ICDEW49219.2020.00012"},{"key":"179_CR26","doi-asserted-by":"crossref","unstructured":"Vadicamo, L., Carrara, F., Cimino, A., Cresci, S., Dell\u2019Orletta, F., Falchi, F., Tesconi, M.: Cross-media learning for image sentiment analysis in the wild. In: 2017 IEEE International Conference on Computer Vision Workshops (ICCVW), pp. 308\u2013317 (2017)","DOI":"10.1109\/ICCVW.2017.45"},{"key":"179_CR27","unstructured":"Xiao, Y., Chen, S., Zhou, A.C., Zhang, S., Wang, Y., Mao, R., Yang, X.: Low-Latency Video Conferencing System for Geo-Distributed Data Centers (2023)"},{"issue":"3","key":"179_CR28","doi-asserted-by":"publisher","first-page":"491","DOI":"10.14778\/3570690.3570699","volume":"16","author":"E Zapridou","year":"2022","unstructured":"Zapridou, E., Mytilinis, I., Ailamaki, A.: Dalton: learned partitioning for distributed data streams. Proc. VLDB Endow. 16(3), 491\u2013504 (2022)","journal-title":"Proc. VLDB Endow."},{"key":"179_CR29","doi-asserted-by":"crossref","unstructured":"Zhang, S., He, B., Dahlmeier, D., Zhou, A.C., Heinze, T.: Revisiting the design of data stream processing systems on multi-core processors. In: 2017 IEEE 33rd International Conference on Data Engineering (ICDE), pp. 659\u2013670. IEEE (2017)","DOI":"10.1109\/ICDE.2017.119"},{"key":"179_CR30","doi-asserted-by":"crossref","unstructured":"Zhang, Y., Wang, B., Zhou, J., Zhong, H., Tian, X.: Global shuffle grouping (gsg): A load balancing strategy for continuous range queries on storm. In: 2018 IEEE 16th International Conference on Software Engineering Research, Management and Applications (SERA), pp. 71\u201378 (2018)","DOI":"10.1109\/SERA.2018.8477194"},{"key":"179_CR31","doi-asserted-by":"crossref","unstructured":"Zhang, F., Chen, H., Jin, H.: Simois: a scalable distributed stream join system with skewed workloads. In: 2019 IEEE 39th International Conference on Distributed Computing Systems (ICDCS), pp. 176\u2013185 (2019)","DOI":"10.1109\/ICDCS.2019.00026"},{"key":"179_CR32","doi-asserted-by":"crossref","unstructured":"Zhang, S., He, J., Zhou, A.C., He, B.: Briskstream: scaling data stream processing on shared-memory multicore architectures. In: Proceedings of the 2019 International Conference on Management of Data, pp. 705\u2013722 (2019)","DOI":"10.1145\/3299869.3300067"},{"key":"179_CR33","doi-asserted-by":"crossref","unstructured":"Zhang, Y., Zhang, F., Li, H., Zhang, S., Du, X.: Compressstreamdb: fine-grained adaptive stream processing without decompression. In: 2023 IEEE 39th International Conference on Data Engineering (ICDE), pp. 408\u2013422. IEEE (2023)","DOI":"10.1109\/ICDE55515.2023.00038"}],"container-title":["CCF Transactions on High Performance Computing"],"original-title":[],"language":"en","link":[{"URL":"https:\/\/link.springer.com\/content\/pdf\/10.1007\/s42514-023-00179-3.pdf","content-type":"application\/pdf","content-version":"vor","intended-application":"text-mining"},{"URL":"https:\/\/link.springer.com\/article\/10.1007\/s42514-023-00179-3\/fulltext.html","content-type":"text\/html","content-version":"vor","intended-application":"text-mining"},{"URL":"https:\/\/link.springer.com\/content\/pdf\/10.1007\/s42514-023-00179-3.pdf","content-type":"application\/pdf","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2024,5,14]],"date-time":"2024-05-14T09:04:40Z","timestamp":1715677480000},"score":1,"resource":{"primary":{"URL":"https:\/\/link.springer.com\/10.1007\/s42514-023-00179-3"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[2024,1,12]]},"references-count":33,"journal-issue":{"issue":"2","published-print":{"date-parts":[[2024,4]]}},"alternative-id":["179"],"URL":"https:\/\/doi.org\/10.1007\/s42514-023-00179-3","relation":{},"ISSN":["2524-4922","2524-4930"],"issn-type":[{"value":"2524-4922","type":"print"},{"value":"2524-4930","type":"electronic"}],"subject":[],"published":{"date-parts":[[2024,1,12]]},"assertion":[{"value":"11 June 2023","order":1,"name":"received","label":"Received","group":{"name":"ArticleHistory","label":"Article History"}},{"value":"4 December 2023","order":2,"name":"accepted","label":"Accepted","group":{"name":"ArticleHistory","label":"Article History"}},{"value":"12 January 2024","order":3,"name":"first_online","label":"First Online","group":{"name":"ArticleHistory","label":"Article History"}},{"order":1,"name":"Ethics","group":{"name":"EthicsHeading","label":"Declarations"}},{"value":"On behalf of all authors, the corresponding author states that there is no conflict of interest.","order":2,"name":"Ethics","group":{"name":"EthicsHeading","label":"Conflict of interest"}}]}}