Title
Delegation sketch: a parallel design with support for fast and accurate concurrent operations
Abstract
Sketches are data structures designed to answer approximate queries by trading memory overhead with accuracy guarantees. More specifically, sketches efficiently summarize large, high-rate streams of data and quickly answer queries on these summaries. In order to support such high throughput rates in modern architectures, parallelization and support for fast queries play a central role, especially when monitoring unpredictable data that can change rapidly as, e.g., in network monitoring for large-scale denial-of-service attacks. However, most existing parallel sketch designs have focused either on high insertion rate or on high query rate, and fail to support cases when these operations are concurrent. In this work we examine the trade-off between query and insertion efficiency and we propose Delegation Sketch, a parallelization design for sketch-based data structures to efficiently support concurrent insertions and queries. Delegation Sketch introduces a domain splitting scheme that uses multiple, parallel sketches to ensure all occurrences of a key fall into the same sketch. We complement the design by proposing synchronization mechanisms that facilitate delegation of insertion and queries among threads, enabling it to process streams at higher rates, even in the presence of concurrent queries. We thoroughly evaluate Delegation Sketch across multiple dimensions (accuracy, scalability, query rate and input skew) on two massively parallel platforms (including a NUMA architecture) using both synthetic and real data. We show that Delegation Sketch achieves from 2.5X to 4X higher throughput, depending on the rate of concurrent queries, than the best performing alternative, while at the same time maintaining better accuracy at the same memory cost.
Year
DOI
Venue
2020
10.1145/3342195.3387542
EuroSys '20: Fifteenth EuroSys Conference 2020 Heraklion Greece April, 2020
DocType
ISBN
Citations 
Conference
978-1-4503-6882-7
0
PageRank 
References 
Authors
0.34
0
5
Name
Order
Citations
PageRank
Charalampos Stylianopoulos132.42
Ivan Walulya2125.96
Magnus Almgren327039.17
Olaf Landsiedel456243.33
Marina Papatriantafilou531645.72