arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 0912.4569cs.DS
收藏

基于时间滑动窗口的分布式数据流连续监测

Continuous Monitoring of Distributed Data Streams over a Time-based Sliding Window

Ho-Leung Chan, Tak-Wah Lam, Lap-Kei Lee, Hing-Fung Ting

摘要:

在过去的十年里,我们见证了许多有趣的算法,用于维护数据流上的统计数据。本文提出了一种基于时间的滑动窗口(其中包含可变数量的项目和可能的无序项目)的分布式数据流监控算法的理论研究。问题是如何最小化各个流和根之间的通信,同时允许根在任何时候都能够报告给定错误范围内的所有流的全局统计信息。本文针对基本计数、频繁项和分位数这三种经典统计量提出了通信有效的算法。窗口上的最坏情况通信成本是用于基本计数的$O(\frac{k} ε \log \frac{εN}{k})$位和用于计数的$O(\frac{k}ε \log \frac{N}{k})$字,其中$k$是分布式数据流的数量,$N$是在窗口中到达或过期的流中的项目的总数,并且$ε< 1$是期望的错误界限。得到了匹配和近似匹配的下界。

英文摘要:

The past decade has witnessed many interesting algorithms for maintaining statistics over a data stream. This paper initiates a theoretical study of algorithms for monitoring distributed data streams over a time-based sliding window (which contains a variable number of items and possibly out-of-order items). The concern is how to minimize the communication between individual streams and the root, while allowing the root, at any time, to be able to report the global statistics of all streams within a given error bound. This paper presents communication-efficient algorithms for three classical statistics, namely, basic counting, frequent items and quantiles. The worst-case communication cost over a window is $O(\frac{k} ε \log \frac{εN}{k})$ bits for basic counting and $O(\frac{k}ε \log \frac{N}{k})$ words for the remainings, where $k$ is the number of distributed data streams, $N$ is the total number of items in the streams that arrive or expire in the window, and $ε< 1$ is the desired error bound. Matching and nearly matching lower bounds are also obtained.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑