Proceedings of the ACM on Management of Data · 2023 · 11 citations · 28 references
ComputingComputer EngineeringComputer ScienceData ManagementData StructuresDatabasesHash TablesMemory Hierarchy OptimizationStream ProcessingStreaming AlgorithmsAccuracyEfficiencyFilteringSimd ArchitecturesSimd Execution
Data stream processing is critical in streaming databases. Existing works pay a lot of attention to frequent items. To improve the accuracy for frequent items, existing solutions focus on accurately filtering infrequent items. While these solutions are effective, they keep track of all infrequent items and require multiple hash computations and memory accesses. This increases memory and time overhead. To reduce this overhead, we propose LadderFilter, which candiscard infrequent items efficiently in terms of both memory and time. To achieve memory efficiency, LadderFilter discards (approximately) infrequent items using multiple LRU queues. To achieve time efficiency, we leverage SIMD instructions to implement LRU policy without timestamps. We apply LadderFilter to four types of sketches. Our experimental results show that LadderFilter improves the accuracy by up to 60.6×, and the throughput by up to 1.37×, and can maintain high accuracy with small memory usage. All related code is provided open-source at Github.
28
Space/time trade-offs in hash coding with allowable errors
Burton H. Bloom · Communications of the ACM · 1970 · 7.5K citations · Full text
Balachander Krishnamurthy, Subhabrata Sen, Yin Zhang⋆ et al. · 2003 · 537 citations
Software defined traffic measurement with OpenSketch
Minlan Yu, Lavanya Jose, Rui Miao · 2013 · 513 citations