The Stair Sketch: Bringing more Clarity to Memorize Recent Events
Yikai Zhao, Yubo Zhang, Pu Yi, Tong Yang, Bin Cui, Steve Uhlig
摘要
Data stream processing has become fundamental in computer science, with a wide range of applications, such as in databases, data mining, and security. Memorizing when an item appears in the data stream is one important task in stream processing. Because the older data is, the less value it has, memorizing recent events with higher accuracy is desirable.
To achieve this, we propose a novel data stream processing structure named the Stair sketch. Our key idea is to organize the memory used by different time periods in the shape of stairs. We deploy the Stair sketch on Bloom filters, CM sketches, and CU sketches as case studies. Experiment results show that our approach outperforms state-of-the-art algorithms by more than 5× in accuracy while providing comparable efficiency. The source code of the Stair sketch is available at GitHub.
• Error gradualness. Our scheme needs to be more accurate when performing estimation over more recent periods. This makes better use of the memory available.
• Time stability. The estimation error for the recent past needs to be stable within a well-defined bound. This supports the long-term deployment and use of the scheme. These two concepts are formally defined in Section III.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 1 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
引用它的顶会 Paper1
它引用的 Paper3
- LightGuardian: A Full-Visibility, Lightweight, In-band Telemetry System Using SketchletsYikai Zhao, Kaicheng Yang, Zirui Liu, Tong Yang 等NSDI 2021 · 131 次引用
- On-Off Sketch: A Fast and Accurate Sketch on PersistenceYinda Zhang, Jinyang Li, Yutian Lei, Tong Yang 等VLDB 2021 · 63 次引用
- Vacuum Filters: More Space-Efficient and Faster Replacement for Bloom and Cuckoo FiltersMinmei Wang, Mingxun Zhou, Shouqian Shi, Chen QianVLDB 2020 · 58 次引用
相关 Paper
- LadderFilter: Filtering Infrequent Items with Small Memory and Time OverheadYuanpeng Li, Feiyu Wang, Xiang Yu, Yilong Yang 等SIGMOD 2023 · 16 次引用
- Scout Sketch: Finding Promising Items in Data StreamsTianyu Ma, Guoju Gao, He Huang, Yu-e Sun 等INFOCOM 2024 · 4 次引用
- SieveSketch: A Fine-grained and Adaptive Sketch Framework for Accurate Frequency EstimationShishi Zhang, Yaping Xu, Lu TangSIGMOD 2026 · 2 次引用
- AlignSketch: A Framework for Aligning Theoretical and Practical Estimation ErrorsCe Zheng, Hanyue Zheng, Jingwei Shi, Xinye Xu 等ICDE 2026
- Hypersistent Sketch: Enhanced Persistence Estimation via Fast Item SeparationLu Cao, Qilong Shi, Weiqiang Xiao, Nianfu Wang 等ICDE 2025 · 8 次引用
