Algorithms for distributed functional monitoring

  • Authors:
  • Graham Cormode;S. Muthukrishnan;Ke Yi

  • Affiliations:
  • AT&T Labs, Florham Park, NJ;Rutgers University, Piscataway, NJ;Hong Kong University of Science and Technology, Hong Kong, China

  • Venue:
  • ACM Transactions on Algorithms (TALG)
  • Year:
  • 2011

Quantified Score

Hi-index 0.00

Visualization

Abstract

Consider the following problem: We have k players each receiving a stream of items, and communicating with a central coordinator. Let the multiset of items received by player i up until time t be Ai(t). The coordinator's task is to monitor a given function f computed over the union of the inputs ∪i Ai(t), continuously at all times t. The goal is to minimize the number of bits communicated between the players and the coordinator. Of interest is the approximate version where the coordinator outputs 1 if f ≥ τ and 0 if f≤ (1−&epsis;)τ. This defines the (k,f,τ,&epsis;) distributed functional monitoring problem. Functional monitoring problems are fundamental in distributed systems, in particular sensor networks, where we must minimize communication; they also connect to the well-studied streaming model and communication complexity. Yet few formal bounds are known for functional monitoring. We give upper and lower bounds for the (k,f,τ,&epsis;) problem for some of the basic f's. In particular, we study the frequency moments Fp for p=0,1,2. For F0 and F1, we obtain monitoring algorithms with cost almost the same as algorithms that compute the function for a single instance of time. However, for F2 the monitoring problem seems to be much harder than computing the function for a single time instance. We give a carefully constructed multiround algorithm that uses “sketch summaries” at multiple levels of details and solves the (k,F2,τ,&epsis;) problem with communication Õ(k2/&epsis; + k3/2/&epsis;3). Our algorithmic techniques are likely to be useful for other functional monitoring problems as well.