Lightweight Asynchronous Snapshots for Distributed Dataflows
Paris Carbone, Gyula Fóra, Stephan Ewen et al. · arXiv (Cornell University) · 2015
Distributed stateful stream processing enables the deployment and execution of large scale continuous computations in the cloud, targeting both low latency and high throughput. One of the most fundamental challenges of this paradigm is providing processing guarantees under potential failures. Existing approaches rely on periodic global state snapshots that can be used for failure recovery. Those approaches suffer from two main drawbacks. First, they often stall the overall computation which impacts ingestion. Second, they eagerly persist all records in transit along with the operation states which results in larger snapshots than required. In this work we propose Asynchronous Barrier Snapshotting (ABS), a lightweight algorithm suited for modern dataflow execution engines that minimises space requirements. ABS persists only operator states on acyclic execution topologies while keeping a minimal record log on cyclic dataflows. We implemented ABS on Apache Flink, a distributed analytics engine that supports stateful stream processing. Our evaluation shows that our algorithm does not have a heavy impact on the execution, maintaining linear scalability and performing well with frequent snapshots.
Cited by 51 works. doi:10.48550/arxiv.1506.08603 Open-access PDF
Authors
References
- Time, clocks, and the ordering of events in a distributed system
- Distributed snapshots
- Distributed GraphLab
- Introduction to Distributed Algorithms
- Naiad
- Discretized streams: an efficient and fault-tolerant model for stream processing on large clusters
- Piccolo: building fast, distributed programs with partitioned tables
- The Stratosphere platform for big data analytics
- On distributed snapshots
- Comet