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

大规模分布式图形处理中的轻量级容错

Lightweight Fault Tolerance in Large-Scale Distributed Graph Processing

Da Yan, James Cheng, Fan Yang

摘要:

Google的Pregel框架在分布式图处理中的成功激发了人们对开发Pregel类平台的浓厚兴趣,该平台具有用户友好的“像顶点一样思考”编程模型。现有的Pregel类系统支持称为检查点的容错机制,该机制定期将计算状态作为检查点保存到HDFS,以便当发生故障时,计算回滚到最新的检查点。然而,在现有的系统中,一个检查点存储了大量的数据,包括顶点的状态,边缘,并通过顶点发送的消息,这显着降低了无故障性能。此外,高检查点成本阻止了频繁的检查点,因此恢复必须重放来自一段时间前检查点的状态的所有计算。在本文中,我们提出了一种新的检查点方法,它只存储顶点状态和增量边缘更新到HDFS作为一个轻量级的检查点(LWCP),所以写LWCP通常是写一个传统的检查点的几十倍。为了从最新的LWCP恢复,从顶点状态生成消息,并且通过重放增量边更新来恢复图拓扑。我们展示了如何实现轻量级的检查点与顶点为中心的编程接口的微小修改。我们还将同样的想法应用到最近提出的基于日志的快速恢复方法中,通过显着降低日志的垃圾回收成本,使其在实践中有效地工作。大量的实验验证了LWCP在提高无故障性能和恢复性能方面的有效性。

英文摘要:

The success of Google's Pregel framework in distributed graph processing has inspired a surging interest in developing Pregel-like platforms featuring a user-friendly "think like a vertex" programming model. Existing Pregel-like systems support a fault tolerance mechanism called checkpointing, which periodically saves computation states as checkpoints to HDFS, so that when a failure happens, computation rolls back to the latest checkpoint. However, a checkpoint in existing systems stores a huge amount of data, including vertex states, edges, and messages sent by vertices, which significantly degrades the failure-free performance. Moreover, the high checkpointing cost prevents frequent checkpointing, and thus recovery has to replay all the computations from a state checkpointed some time ago. In this paper, we propose a novel checkpointing approach which only stores vertex states and incremental edge updates to HDFS as a lightweight checkpoint (LWCP), so that writing an LWCP is typically tens of times faster than writing a conventional checkpoint. To recover from the latest LWCP, messages are generated from the vertex states, and graph topology is recovered by replaying incremental edge updates. We show how to realize lightweight checkpointing with minor modifications of the vertex-centric programming interface. We also apply the same idea to a recently-proposed log-based approach for fast recovery, to make it work efficiently in practice by significantly reducing the cost of garbage collection of logs. Extensive experiments on large real graphs verified the effectiveness of LWCP in improving both failure-free performance and the performance of recovery.

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

↑