Memory-Efficient and Flexible Detection of Heavy Hitters in High-Speed Networks
He Huang, Jiakun Yu, Yang Du, Jia Liu, Haipeng Dai, Yu-E Sun
Abstract
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β-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%99.96%. All related implementations are open-sourced.
Ask about this paper
Ask your agent about it.
Lune has read the top-tier papers around this one, so every answer names the papers it rests on.
Your agent calls
Lunesearch_papers
Free to start. No credit card required.
Terminal
Install the CLIlune papers get 31fc5cf6-b6ce-40de-adc7-6af004eab200Cited by top-tier papers3
- RGS-Sketch: An Accurate, Invertible, and Mergeable Sketch for Online Super Spreader Detection in High-speed Data StreamsBoyu Zhang, He Huang, Yu-E Sun, Guoju GaooVLDB 2025
- Lego Sketch: A Scalable Memory-augmented Neural Network for Sketching Data StreamsYuan Feng, Yukun Cao, Hairu Wang, Xike Xie et al.ICML 2025
- JitterSketch: Finding Jittery Flows in Network StreamsZhongxian Liang, Qilong Shi, Xiyan Liang, Zihan Li et al.WWW 2026
Related papers
- Universal Online Sketch for Tracking Heavy Hitters and Estimating Moments of Data StreamsQingjun Xiao, Zhiying Tang, Shigang ChenINFOCOM 2020 · 30 citations
- Swing Filter: A Low-Overhead Filter with Larger Filtering Range for Network Traffic MeasurementZhaojie Wang, He Huang, Yu-e Sun, Hanwen Zhang et al.INFOCOM 2025 · 1 citation
- PatternSketch: General and Runtime Reconfigurable Time-series Network Traffic Pattern DetectionYang Du, Dan Wang, He Huang, Hanwen Zhang et al.EuroSys 2026
- MC-Sketch: Enabling Heterogeneous Network Monitoring Resolutions with Multi-Class SketchKate Ching-Ju Lin, Wei-Lun LaiINFOCOM 2022 · 17 citations
- DHS: Adaptive Memory Layout Organization of Sketch Slots for Fast and Accurate Data Stream ProcessingBohan Zhao, Xiang Li, Boyu Tian, Zhiyu Mei et al.KDD 2021 · 47 citations
