4.4 Article

State Management in Apache Flink® Consistent Stateful Distributed Stream Processing

Journal

PROCEEDINGS OF THE VLDB ENDOWMENT
Volume 10, Issue 12, Pages 1718-1729

Publisher

ASSOC COMPUTING MACHINERY
DOI: 10.14778/3137765.3137777

Keywords

-

Funding

  1. End-to-End Clouds project - Stiftelsen for Strategisk Forskning [RIT10-0043]
  2. Streamline project - European Union's Horizon [688191]
  3. Swedish Foundation for Strategic Research (SSF) [RIT10-0043] Funding Source: Swedish Foundation for Strategic Research (SSF)

Ask authors/readers for more resources

Stream processors are emerging in industry as an apparatus that drives analytical but also mission critical services handling the core of persistent application logic. Thus, apart from scalability and low-latency, a rising system need is first-class support for application state together with strong consistency guarantees, and adaptivity to cluster reconfigurations, software patches and partial failures. Although prior systems research has addressed some of these specific problems, the practical challenge lies on how such guarantees can be materialized in a transparent, non-intrusive manner that relieves the user from unnecessary constraints. Such needs served as the main design principles of state management in Apache Flink, an open source, scalable stream processor. We present Flink's core pipelined, in-flight mechanism which guarantees the creation of lightweight, consistent, distributed snapshots of application state, progressively, without impacting continuous execution. Consistent snapshots cover all needs for system reconfiguration, fault tolerance and version management through coarse grained rollback recovery. Application state is declared explicitly to the system, allowing efficient partitioning and transparent commits to persistent storage. We further present Flink's backend implementations and mechanisms for high availability, external state queries and output commit. Finally, we demonstrate how these mechanisms behave in practice with metrics and largedeployment insights exhibiting the low performance trade-offs of our approach and the general benefits of exploiting asynchrony in continuous, yet sustainable system deployments.

Authors

I am an author on this paper
Click your name to claim this paper and add it to your profile.

Reviews

Primary Rating

4.4
Not enough ratings

Secondary Ratings

Novelty
-
Significance
-
Scientific rigor
-
Rate this paper

Recommended

No Data Available
No Data Available