High-Availability Algorithms for Distributed Stream Processing

Jeong-Hyon Hwang, Alexander Rasin, Uğur Çetintemel, Mike Stonebraker, Stanley B. Zdonik

2005 · 264 citations · 15 references

Concepts

TL;DR

Stream‑processing systems handle high‑volume data streams from distributed sources, and many can tolerate weaker recovery guarantees than traditional batch systems. This paper investigates recovery guarantees and techniques that meet the correctness and performance needs of stream‑processing applications. We analyze design challenges and demonstrate how redundant processing, checkpointing, and remote logging can provide varying guarantees, quantifying their costs and performance through analysis and simulations. Our results show that exploiting query network properties can reduce the cost of high‑availability while preserving performance.

Abstract

Stream-processing systems are designed to support an emerging class of applications that require sophisticated and timely processing of high-volume data streams, often originating in distributed environments. Unlike traditional data-processing applications that require precise recovery for correctness, many stream-processing applications can tolerate and benefit from weaker recovery guarantees. In this paper, we study various recovery guarantees and pertinent recovery techniques that can meet the correctness and performance requirements of stream-processing applications. We discuss the design and algorithmic challenges associated with the proposed recovery techniques and describe how each can provide different guarantees with proper combinations of redundant processing, checkpointing, and remote logging. Using analysis and simulations, we quantify the cost of our recovery guarantees and examine the performance and applicability of the recovery techniques. We also analyze how the knowledge of query network properties can help decrease the cost of high availability.

References

15