TreeSensing: Linearly Compressing Sketches with Flexibility
Open Access
- 26 May 2023
- journal article
- Published by Association for Computing Machinery (ACM) in Proceedings of the ACM on Management of Data
- Vol. 1 (1) , 1-28
Abstract
A Sketch is an excellent probabilistic data structure, which records the approximate statistics of data streams. Linear additivity is an important property of sketches. This paper studies how to keep the linear property after sketch compression. Most existing compression methods do not keep the linear property. We propose TreeSensing, an accurate, efficient, and flexible framework to linearly compress sketches. In TreeSensing, we first separate a sketch into two parts according to counter values. For the sketch with small counters, we propose a technique called TreeEncoding to compress it into a hierarchical structure. For the sketch with large counters, we propose a technique called SketchSensing to compress it using compressive sensing. We theoretically analyze the accuracy of TreeSensing. We use TreeSensing to compress 7 sketches and conduct two end-to-end experiments: distributed measurement and distributed machine learning. Experimental results show that TreeSensing outperforms prior art on both accuracy and efficiency, which achieves up to 100× smaller error and 5.1× higher speed than state-of-the-art Cluster-Reduce. All related codes are open-sourced.Keywords
Funding Information
- Key-Area Research and Development Program of Guangdong Province (2020B0101390001)
- National Natural Science Foundation of China (U20A20179)
This publication has 67 references indexed in Scilit:
- Query optimization through the looking glass, and what we found running the Join Order BenchmarkThe VLDB Journal, 2017
- I Have a DREAM! (DiffeRentially privatE smArt Metering)2011
- Methods for finding frequent items in data streamsThe VLDB Journal, 2009
- Combinatorial Algorithms for Compressed Sensing2006
- Practical Algorithms for Tracking Database Join Sizes2005
- High‐performance benchmarking with Web PolygraphSoftware: Practice and Experience, 2004
- Processing Data-Stream Join Aggregates Using Skimmed Sketches2004
- Finding Frequent Items in Data Streams2002
- A Public Key Cryptosystem and a Signature Scheme Based on Discrete Logarithms2000
- Condition numbers of random matricesJournal of Complexity, 1991