{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2026,11,15]],"date-time":"2026-11-15T11:20:10Z","timestamp":1794741610092,"version":"4.9.1"},"reference-count":31,"publisher":"Association for Computing Machinery (ACM)","issue":"3","license":[{"start":{"date-parts":[[2023,11,13]],"date-time":"2023-11-13T00:00:00Z","timestamp":1699833600000},"content-version":"vor","delay-in-days":0,"URL":"https:\/\/www.acm.org\/publications\/policies\/copyright_policy#Background"}],"funder":[{"DOI":"10.13039\/501100004608","name":"Natural Science Foundation of Jiangsu Province","doi-asserted-by":"publisher","award":["BK20210706"],"award-info":[{"award-number":["BK20210706"]}],"id":[{"id":"10.13039\/501100004608","id-type":"DOI","asserted-by":"publisher"}]},{"DOI":"10.13039\/501100001809","name":"National Natural Science Foundation of China","doi-asserted-by":"publisher","award":["62332013,62072322,U20A20182,62202322,62072231,62272223"],"award-info":[{"award-number":["62332013,62072322,U20A20182,62202322,62072231,62272223"]}],"id":[{"id":"10.13039\/501100001809","id-type":"DOI","asserted-by":"publisher"}]}],"content-domain":{"domain":[],"crossmark-restriction":false},"short-container-title":["Proc. ACM Manag. Data"],"published-print":{"date-parts":[[2023,11,13]]},"abstract":"<jats:p>Heavy-hitter detection is a fundamental task in network traffic measurement and security. Existing work faces the dilemma of suffering dynamic and imbalanced traffic characteristics or lowering the detection efficiency and flexibility. In this paper, we propose a flexible sketch called SwitchSketch that embraces dynamic and skewed traffic for efficient and accurate heavy-hitter detection. The key idea of SwitchSketch is allowing the sketch to dynamically switch among different modes and take full use of each bit of the memory. We present an encoding-based switching scheme together with a flexible bucket structure to jointly achieve this goal by using a combination of design features, including variable-length cells, shrunk counters, embedded metadata, and switchable modes. We further implement SwitchSketch on the NetFPGA-1G-CML board. Experimental results based on real Internet traces show that SwitchSketch achieves a high F\u03b2-Score of threshold-t detection (consistently higher than 0.938) and over 99% precision rate of top-k detection under a tight memory size (e.g., 100KB). Besides, it outperforms the state-of-the-art by reducing the ARE by 30.77%\\sim99.96%. All related implementations are open-sourced.<\/jats:p>","DOI":"10.1145\/3617334","type":"journal-article","created":{"date-parts":[[2023,11,13]],"date-time":"2023-11-13T17:28:39Z","timestamp":1699896519000},"page":"1-24","source":"Crossref","is-referenced-by-count":35,"title":["Memory-Efficient and Flexible Detection of Heavy Hitters in High-Speed Networks"],"prefix":"10.1145","volume":"1","author":[{"ORCID":"https:\/\/orcid.org\/0000-0003-2768-6607","authenticated-orcid":false,"given":"He","family":"Huang","sequence":"first","affiliation":[{"name":"Soochow University, Suzhou, China"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"ORCID":"https:\/\/orcid.org\/0009-0000-2924-8462","authenticated-orcid":false,"given":"Jiakun","family":"Yu","sequence":"additional","affiliation":[{"name":"Soochow University, Suzhou, China"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"ORCID":"https:\/\/orcid.org\/0000-0003-3012-0778","authenticated-orcid":false,"given":"Yang","family":"Du","sequence":"additional","affiliation":[{"name":"Soochow University, Suzhou, China"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"ORCID":"https:\/\/orcid.org\/0000-0001-7559-2280","authenticated-orcid":false,"given":"Jia","family":"Liu","sequence":"additional","affiliation":[{"name":"Nanjing University, Nanjing, China"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"ORCID":"https:\/\/orcid.org\/0000-0003-0545-8187","authenticated-orcid":false,"given":"Haipeng","family":"Dai","sequence":"additional","affiliation":[{"name":"Nanjing University, Nanjing, China"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"ORCID":"https:\/\/orcid.org\/0000-0002-0018-4810","authenticated-orcid":false,"given":"Yu-E","family":"Sun","sequence":"additional","affiliation":[{"name":"Soochow University, Suzhou, China"}],"role":[{"vocabulary":"crossref","role":"author"}]}],"member":"320","published-online":{"date-parts":[[2023,11,13]]},"reference":[{"key":"e_1_2_2_1_1","doi-asserted-by":"publisher","DOI":"10.1109\/ICDE51399.2021.00080"},{"key":"e_1_2_2_2_1","volume-title":"The CAIDA UCSD Anonymized Internet Traces","author":"CAIDA.","year":"2016","unstructured":"CAIDA. 2016. The CAIDA UCSD Anonymized Internet Traces 2016. http:\/\/www.caida.org\/data\/passive\/passive_2016_dataset.xml. Accessed: 2019--7--28."},{"key":"e_1_2_2_3_1","volume-title":"The CAIDA UCSD Anonymized Internet Traces","author":"CAIDA.","year":"2019","unstructured":"CAIDA. 2019. The CAIDA UCSD Anonymized Internet Traces 2019. https:\/\/catalog.caida.org\/details\/dataset\/passive_2019_pcap. Accessed: 2021--12--27."},{"key":"e_1_2_2_4_1","doi-asserted-by":"publisher","DOI":"10.1007\/3-540-45465-9_59"},{"key":"e_1_2_2_5_1","unstructured":"Cloudflare. 2023. Cloudflare General Recommendations for Sampling Rates. https:\/\/developers.cloudflare.com\/magic-network-monitoring\/routers\/recommended-sampling-rate\/."},{"key":"e_1_2_2_6_1","unstructured":"Source Code. 2023. The source codes of SwitchSketch and other related algorithms. https:\/\/github.com\/duyang92\/switch-sketch-paper\/."},{"key":"e_1_2_2_7_1","doi-asserted-by":"publisher","DOI":"10.1016\/j.jalgor.2003.12.001"},{"key":"e_1_2_2_8_1","doi-asserted-by":"publisher","DOI":"10.1145\/3448016.3457327"},{"key":"e_1_2_2_9_1","volume-title":"Proc. of the IEEE Conference on Computer Communications (INFOCOM","author":"Du Y.","year":"2021","unstructured":"Y. Du, H. Huang, Y. Sun, S. Chen, and G. Gao. 2021. Self-Adaptive Sampling for Network Traffic Measurement. In Proc. of the IEEE Conference on Computer Communications (INFOCOM 2021). 1--10."},{"key":"e_1_2_2_10_1","doi-asserted-by":"publisher","DOI":"10.1109\/BigData.2017.8258193"},{"key":"e_1_2_2_11_1","volume-title":"Proc. of the Joint Conference on Empirical Methods in Natural Language Processing and Computational Natural Language Learning (EMNLP","author":"Goyal Amit","year":"2012","unstructured":"Amit Goyal, Hal Daum\u00e9 III, and Graham Cormode. 2012. Sketch algorithms for estimating point queries in NLP. In Proc. of the Joint Conference on Empirical Methods in Natural Language Processing and Computational Natural Language Learning (EMNLP 2012). 1093--1103."},{"key":"e_1_2_2_12_1","doi-asserted-by":"publisher","DOI":"10.1109\/TNET.2021.3078725"},{"key":"e_1_2_2_13_1","volume-title":"ChainSketch: An efficient and accurate sketch for heavy flow detection","author":"Huang Jiawei","year":"2022","unstructured":"Jiawei Huang, Wenlu Zhang, Yijun Li, Lin Li, Zhaoyi Li, Jin Ye, and Jianxin Wang. 2022. ChainSketch: An efficient and accurate sketch for heavy flow detection. IEEE\/ACM Transactions on Networking (TON) (2022), 1--16 (Early Access)."},{"key":"e_1_2_2_14_1","doi-asserted-by":"publisher","DOI":"10.1145\/3394486.3403208"},{"key":"e_1_2_2_15_1","doi-asserted-by":"publisher","DOI":"10.5555\/3225627.3225720"},{"key":"e_1_2_2_16_1","volume-title":"Proc. of the International Conference on Database Theory (ICDT","author":"Metwally Ahmed","year":"2005","unstructured":"Ahmed Metwally, Divyakant Agrawal, and Amr El Abbadi. 2005. Efficient computation of frequent and top-$ k $ elements in data streams. In Proc. of the International Conference on Database Theory (ICDT 2005). 398--412."},{"key":"e_1_2_2_17_1","doi-asserted-by":"crossref","unstructured":"Shanmugavelayutham Muthukrishnan. 2005. Data streams: Algorithms and applications.","DOI":"10.1561\/9781933019604"},{"key":"e_1_2_2_18_1","doi-asserted-by":"publisher","DOI":"10.1145\/3318464.3380606"},{"key":"e_1_2_2_19_1","doi-asserted-by":"publisher","DOI":"10.1002\/spe.576"},{"key":"e_1_2_2_20_1","doi-asserted-by":"publisher","DOI":"10.1145\/2096149.2096152"},{"key":"e_1_2_2_21_1","volume-title":"Proc. of the IEEE Conference on Computer Communications (INFOCOM","author":"Sun Y.","year":"2020","unstructured":"Y. Sun, H. Huang, C. Ma, S. Chen, Y. Du, and Q. Xiao. 2020. Online Spread Estimation with Non-duplicate Sampling. In Proc. of the IEEE Conference on Computer Communications (INFOCOM 2020). 2440--2448."},{"key":"e_1_2_2_22_1","doi-asserted-by":"publisher","DOI":"10.1109\/TNSM.2018.2872054"},{"key":"e_1_2_2_23_1","doi-asserted-by":"publisher","DOI":"10.1109\/LCOMM.2021.3077902"},{"key":"e_1_2_2_24_1","doi-asserted-by":"publisher","DOI":"10.1109\/INFOCOM41043.2020.9155454"},{"key":"e_1_2_2_25_1","doi-asserted-by":"publisher","DOI":"10.1145\/3219819.3219978"},{"key":"e_1_2_2_26_1","doi-asserted-by":"publisher","DOI":"10.1145\/3230543.3230544"},{"key":"e_1_2_2_27_1","doi-asserted-by":"publisher","DOI":"10.1109\/INFOCOM.2019.8737531"},{"key":"e_1_2_2_28_1","doi-asserted-by":"publisher","DOI":"10.1109\/TNET.2019.2933868"},{"key":"e_1_2_2_29_1","doi-asserted-by":"publisher","DOI":"10.1145\/3447548.3467353"},{"key":"e_1_2_2_30_1","doi-asserted-by":"publisher","DOI":"10.1145\/3544216.3544239"},{"key":"e_1_2_2_31_1","doi-asserted-by":"publisher","DOI":"10.1145\/3183713.3183726"}],"container-title":["Proceedings of the ACM on Management of Data"],"original-title":[],"language":"en","link":[{"URL":"https:\/\/dl.acm.org\/doi\/10.1145\/3617334","content-type":"unspecified","content-version":"vor","intended-application":"text-mining"},{"URL":"https:\/\/dl.acm.org\/doi\/pdf\/10.1145\/3617334","content-type":"unspecified","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2025,6,17]],"date-time":"2025-06-17T12:45:53Z","timestamp":1750164353000},"score":1,"resource":{"primary":{"URL":"https:\/\/dl.acm.org\/doi\/10.1145\/3617334"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[2023,11,13]]},"references-count":31,"journal-issue":{"issue":"3","published-print":{"date-parts":[[2023,11,13]]}},"alternative-id":["10.1145\/3617334"],"URL":"https:\/\/doi.org\/10.1145\/3617334","relation":{},"ISSN":["2836-6573"],"issn-type":[{"value":"2836-6573","type":"electronic"}],"subject":[],"published":{"date-parts":[[2023,11,13]]}}}