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

Abstract : 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} {\epsilon} \log \frac{\epsilon N}{k})$ bits for basic counting and $O(\frac{k}{\epsilon} \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 $\epsilon < 1$ is the desired error bound. Matching and nearly matching lower bounds are also obtained.
Keywords :
Document type :
Conference papers

Cited literature [29 references]

https://hal.inria.fr/inria-00456120
Contributor : Publications Loria <>
Submitted on : Friday, February 12, 2010 - 10:07:44 AM
Last modification on : Thursday, September 20, 2018 - 7:54:02 AM
Long-term archiving on : Friday, June 18, 2010 - 8:19:43 PM

### File

chan.pdf
Files produced by the author(s)

### Identifiers

• HAL Id : inria-00456120, version 1

### Citation

Ho-Leung Chan, Tak-Wah Lam, Lap-Kei Lee, Hing-Fung Ting. Continuous Monitoring of Distributed Data Streams over a Time-based Sliding Window. 27th International Symposium on Theoretical Aspects of Computer Science - STACS 2010, Inria Nancy Grand Est & Loria, Mar 2010, Nancy, France. pp.179-190. ⟨inria-00456120⟩

Record views