|国家预印本平台
首页|LMQ-Sketch: Lagom Multi-Query Sketch for High-Rate Online Analytics

LMQ-Sketch: Lagom Multi-Query Sketch for High-Rate Online Analytics

LMQ-Sketch: Lagom Multi-Query Sketch for High-Rate Online Analytics

来源:Arxiv_logoArxiv
英文摘要

Data sketches balance resource efficiency with controllable approximations for extracting features in high-volume, high-rate data. Two important points of interest are highlighted separately in recent works; namely, to (1) answer multiple types of queries from one pass, and (2) query concurrently with updates. Several fundamental challenges arise when integrating these directions, which we tackle in this work. We investigate the trade-offs to be balanced and synthesize key ideas into LMQ-Sketch, a single, composite data sketch supporting multiple queries (frequency point queries, frequency moments F1, and F2) concurrently with updates. Our method 'Lagom' is a cornerstone of LMQ-Sketch for low-latency global querying (<100 us), combining freshness, timeliness, and accuracy with a low memory footprint and high throughput (>2B updates/s). We analyze and evaluate the accuracy of Lagom, which builds on a simple geometric argument and efficiently combines work distribution with synchronization for proper concurrency semantics -- monotonicity of operations and intermediate value linearizability. Comparing with state-of-the-art methods (which, as mentioned, only cover either mixed queries or concurrency), LMQ-Sketch shows highly competitive throughput, with additional accuracy guarantees and concurrency semantics, while also reducing the required memory budget by an order of magnitude. We expect the methodology to have broader impact on concurrent multi-query sketches.

Martin Hilgendorf、Marina Papatriantafilou

信息科学、信息技术计算技术、计算机技术

Martin Hilgendorf,Marina Papatriantafilou.LMQ-Sketch: Lagom Multi-Query Sketch for High-Rate Online Analytics[EB/OL].(2025-06-20)[2025-07-02].https://arxiv.org/abs/2506.16928.点此复制

评论