arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1506.08603cs.DC
收藏

用于分布式数据流的轻量级异步快照

Lightweight Asynchronous Snapshots for Distributed Dataflows

Paris Carbone, Gyula Fóra, Stephan Ewen, Seif Haridi, Kostas Tzoumas

摘要:

分布式有状态流处理支持在云中部署和执行大规模连续计算,目标是低延迟和高吞吐量。这种模式最基本的挑战之一是在潜在故障下提供处理保证。现有方法依赖于可用于故障恢复的周期性全局状态快照。这些方法有两个主要缺点。首先,它们通常会停止影响摄取的整体计算。第二,它们急切地将所有传输中的记录与操作状态一起持久化,这导致快照比所需的要大。在这项工作中,我们提出了异步屏障快照(ABS),一个轻量级的算法,适合于现代的轻量级执行引擎,最大限度地减少空间需求。ABS仅在非循环执行拓扑上持久化操作符状态,同时在循环拓扑上保持最小记录日志。我们在Apache Flink上实现了ABS,这是一个支持有状态流处理的分布式分析引擎。我们的评估表明,我们的算法不会对执行产生重大影响,保持线性可扩展性,并在频繁快照的情况下表现良好。

英文摘要:

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.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑