SketchConf: A Framework for Automatic Sketch Configuration
Ruijie Miao, Fenghao Dong, Yikai Zhao, Yiming Zhao, Yuhan Wu, Kaicheng Yang, Tong Yang, Bin Cui
Abstract
Sketches have risen as promising solutions for frequency estimation, which is one of the most fundamental tasks in approximate data stream processing. In many scenarios, users have a strong demand to apply sketches under the expected error constraints. In this paper, we explore how to configure sketch parameters to satisfy user-defined error constraints. We propose SketchConf, an automatic sketch configuration framework, which efficiently generates memory-optimal configurations for the first time. We show that SketchConf can be applied to order-independent sketches, including CM, Count, Tower, and Nitro sketches. We further discuss how to deal with the unknown and changeable workloads when applying SketchConf to the real scenarios of streaming data processing. Experimental results show that SketchConf can be up to 715.51 times faster than the baseline algorithm, and the outputted configurations save up to 99.99% memory and achieve up to 27.44 times throughput, compared with the theory-based configurations. The code is open sourced at Github.
Ask about this paper
Your agent reads all of it.
Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.
Cited by top-tier papers2
- AutoSketch: Automatic Sketch-Oriented Compiler for Query-driven Network TelemetryHaifeng Sun, Qun Huang, Jinbo Sun, Wei Wang et al.NSDI 2024 · 27 citations
- Effective Network-Wide Traffic Measurement: A Lightweight Distributed Sketch DeploymentFuliang Li, Kejun Guo, Jiaxing Shen, Xingwei WangINFOCOM 2024 · 14 citations
Builds on5
- Stingy Sketch: A Sketch Framework for Accurate and Fast Frequency EstimationHaoyu Li, Qizhi Chen, Yixin Zhang, Tong Yang et al.VLDB 2022 · 54 citations
- KVSAgg: Secure Aggregation of Distributed Key-Value SetsYuhan Wu, Siyuan Dong, Yi Zhou, Yikai Zhao et al.ICDE 2023 · 8 citations
- Fast concurrent data sketchesArik Rinberg, Alexander Spiegelman, Edward Bortnikov, Eshcar Hillel et al.PPoPP 2020 · 4 citations
- HeteroSketch: Coordinating Network-wide Monitoring in Heterogeneous and Dynamic NetworksAnup Agarwal, Zaoxing Liu, Srinivasan SeshanNSDI 2022
- Characterizing, Modeling, and Benchmarking RocksDB Key-Value Workloads at FacebookZhichao Cao, Siying Dong, Sagar Vemuri, David H. C. DuFAST 2020
Related papers
- DISCO: A Dynamically Configurable Sketch Framework in Skewed Data StreamsJiaqian Liu, Ran Ben Basat, Louis De Wardt, Haipeng Dai et al.ICDE 2024 · 3 citations
- Sublime: Sublinear Error & Space for Unbounded Skewed StreamsNavid Eslami, Ioana O. Bercea, Rasmus Pagh, Niv DayanSIGMOD 2026
- BFES: Towards Optimal Bayesian Frequency Estimation Sketches in Data-StreamsFrancesco Da Dalt, Adrian PerrigICDE 2025
- SieveSketch: A Fine-grained and Adaptive Sketch Framework for Accurate Frequency EstimationShishi Zhang, Yaping Xu, Lu TangSIGMOD 2026 · 2 citations
- MicroscopeSketch: Accurate Sliding Estimation Using Adaptive ZoomingYuhan Wu, Shiqi Jiang, Siyuan Dong, Zheng Zhong et al.KDD 2023 · 10 citations
