arXiv · 2502.14699
Counter Pools: Counter Representation for Efficient Stream Processing
Abstract
Due to the large data volume and number of distinct elements, space is often the bottleneck of many stream processing systems. The data structures used by these systems often consist of counters whose optimization yields significant memory savings. The challenge lies in balancing the size of the counters: too small, and they overflow; too large, and memory capacity limits their number. In this work, we suggest an efficient encoding scheme that sizes each counter according to its needs. Our approach uses fixed-sized pools of memory (e.g., a single memory word or 64 bits), where each pool manages a small number of counters. We pay special attention to performance and demonstrate considerable improvements for various streaming algorithms and workload characteristics.
Explore related subjects
Keep this discovery
Ran Ben Basat, Gil Einziger, Bilal Tyah, Shay Vargaftik. 2025-02-20. Counter Pools: Counter Representation for Efficient Stream Processing. https://arxiv.org/abs/2502.14699
Cite the original work for its findings. Save a collection to share your selection of sources.