2006 · 42 citations · 19 references
ComputingComputer ScienceComputer SystemsAlgorithmsData StructuresDistributed SystemsDistributed ComputingStream ProcessingStreaming AlgorithmsSketching AlgorithmsSliding Window AlgorithmsSliding WindowsStream AggregationStreaming Computation
We study the problem of maintaining sketches of recent elements of a data stream. Motivated by applications involving network data, we consider streams that are asynchronous, in which the observed order of data is not the same as the time order in which the data was generated. The notion of recent elements of a stream is modeled by the sliding timestamp window, which is the set of elements with timestamps that are close to the current time. We design algorithms for maintaining sketches of all elements within the sliding timestamp window that can give provably accurate estimates of two basic aggregates, the sum and the median, of a stream of numbers. The space taken by the sketches, the time needed for querying the sketch, and the time for inserting new elements into the sketch are all polylog with respect to the maximum window size and the values of the data items in the window. Our sketches can be easily combined in a lossless and compact way, making them useful for distributed computations over data streams. Previous works on sketching recent elements of a data stream have all considered the more restrictive scenario of synchronous streams, where the observed order of data is the same as the time order in which the data was generated. Our notion of recency of elements is more general than that studied in previous work, and thus our sketches are more robust to network delays and asynchrony.
19
Samuel Madden, Michael J. Franklin, Joseph M. Hellerstein et al. · ACM SIGOPS Operating Systems Review · 2002 · 2.7K citations
Models and issues in data stream systems
Brian Babcock, Shivnath Babu, Mayur Datar et al. · 2002 · 2.5K citations
Maintaining Stream Statistics over Sliding Windows
Mayur Datar, Aristides Gionis, Piotr Indyk et al. · SIAM Journal on Computing · 2002 · 846 citations
Space-efficient online computation of quantile summaries
Michael B. Greenwald, Sanjeev Khanna · 2001 · 456 citations