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

大规模并行流处理引擎中的相关故障容忍

Tolerating Correlated Failures in Massively Parallel Stream Processing Engines

Li Su, Yongluan Zhou

摘要:

流处理引擎的容错技术可以分为被动和主动方法。典型的被动方法周期性地检查处理任务的运行时状态,并且可以通过使用其最新检查点恢复其运行时状态来恢复失败的任务。另一方面,主动方法通常使用备份节点来运行复制的任务。在失败时,活动副本可以以最小的延迟接管失败任务的处理。然而,这两种方法在大规模并行流处理引擎(MPSPE)中都有各自的不足之处。被动方法会导致较长的恢复延迟,特别是当多个相关节点同时发生故障时,而主动方法需要额外的复制资源。在本文中,我们提出了一种新的容错框架,这是被动和部分主动(PPA)。在PPA方案中,被动方法应用于所有任务,而只有选定的一组任务将被主动复制。活动复制任务的数量取决于可用资源。如果没有活动副本的任务失败,则在恢复过程完成之前将生成临时输出。我们还提出了有效和高效的算法来优化部分活动的复制计划,以最大限度地提高暂定输出的质量。我们在开源MPSPE Storm上实现了PPA,并使用真实和合成数据集进行了广泛的实验,以验证我们方法的有效性。

英文摘要:

Fault-tolerance techniques for stream processing engines can be categorized into passive and active approaches. A typical passive approach periodically checkpoints a processing task's runtime states and can recover a failed task by restoring its runtime state using its latest checkpoint. On the other hand, an active approach usually employs backup nodes to run replicated tasks. Upon failure, the active replica can take over the processing of the failed task with minimal latency. However, both approaches have their own inadequacies in Massively Parallel Stream Processing Engines (MPSPE). The passive approach incurs a long recovery latency especially when a number of correlated nodes fail simultaneously, while the active approach requires extra replication resources. In this paper, we propose a new fault-tolerance framework, which is Passive and Partially Active (PPA). In a PPA scheme, the passive approach is applied to all tasks while only a selected set of tasks will be actively replicated. The number of actively replicated tasks depends on the available resources. If tasks without active replicas fail, tentative outputs will be generated before the completion of the recovery process. We also propose effective and efficient algorithms to optimize a partially active replication plan to maximize the quality of tentative outputs. We implemented PPA on top of Storm, an open-source MPSPE and conducted extensive experiments using both real and synthetic datasets to verify the effectiveness of our approach.

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

↑