Deadlock avoidance for streaming computations with filtering

  • Authors:
  • Peng Li;Kunal Agrawal;Jeremy Buhler;Roger D. Chamberlain

  • Affiliations:
  • Washington University in St. Louis, St Louis, MO, USA;Washington University in St. Louis, St Louis, MO, USA;Washington University in St. Louis, St Louis, MO, USA;Washington University in St. Louis, St Louis, MO, USA

  • Venue:
  • Proceedings of the twenty-second annual ACM symposium on Parallelism in algorithms and architectures
  • Year:
  • 2010

Quantified Score

Hi-index 0.00

Visualization

Abstract

The paradigm of computation on streaming data has received considerable recent attention. Streaming computations can be efficiently parallelized using systems of computing nodes organized in dataflow-like architectures. However, when these nodes have the ability to filter, or discard, some of their inputs, a system with finite buffering is vulnerable to deadlock. In this paper, we formalize a model of streaming computation systems with filtering describe precisely the conditions under which such systems may deadlock, and propose provably correct mechanisms to avoid deadlock. Our approach relies on adding extra "dummy" tokens to the data streams and does not require global run-time coordination among nodes or dynamic resizing of buffers. This approach is particularly well-suited to preventing deadlock in distributed systems of diverse computing architectures, where global coordination or modification of buffer sizes may be difficult or impossible in practice.