Skip to main content
QUICK REVIEW

[Paper Review] Lightweight Fault Tolerance in Large-Scale Distributed Graph Processing

Da Yan, James Cheng|arXiv (Cornell University)|Jan 25, 2016
Graph Theory and AlgorithmsComputer Science17 references8 citations
TL;DR

This paper proposes Lightweight Checkpointing (LWCP), a novel fault tolerance mechanism for large-scale distributed graph processing that stores only vertex states and incremental edge updates, reducing checkpointing time by up to 30x compared to conventional methods. By combining LWCP with vertex-state logging, the approach enables fast recovery without sacrificing failure-free performance, achieving near-negligible overhead in both checkpointing and log management on real-world graphs like WebUK and Friendster.

ABSTRACT

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.

Motivation & Objective

  • To address the high performance overhead of conventional checkpointing in Pregel-like systems, which stores full vertex states, edges, and messages, degrading failure-free performance.
  • To reduce checkpointing cost by storing only vertex states and incremental edge updates, leveraging static or predictable graph topology and message computation from vertex values.
  • To enable fast recovery by combining LWCP with vertex-state logging, avoiding redundant recomputation of surviving machines after failures.
  • To maintain backward compatibility with the vertex-centric programming model while minimizing programmer overhead.
  • To demonstrate that lightweight checkpointing and logging can significantly outperform heavyweight checkpointing and log-based recovery in practice, especially under high message volume.

Proposed method

  • Propose Lightweight Checkpointing (LWCP) that stores only vertex states and incremental edge updates, omitting full message and adjacency list storage.
  • Reconstruct graph topology from input graph and replay incremental edge updates during recovery, assuming static or versioned topology.
  • Generate outgoing messages during recovery from vertex states alone, eliminating the need to store or replay incoming messages.
  • Integrate LWCP with a log-based recovery mechanism that logs only vertex states, not full messages, reducing log management overhead.
  • Modify the vertex-centric interface minimally to support checkpointing and logging, preserving the 'think like a vertex' model.
  • Use OS memory caching to optimize sequential log writes and reads, ensuring low overhead for logging operations.

Experimental results

Research questions

  • RQ1Can a checkpointing mechanism be designed that reduces checkpointing overhead in large-scale graph processing without sacrificing fault tolerance?
  • RQ2How can graph topology and message computation be reconstructed efficiently from minimal checkpoint data?
  • RQ3Can lightweight logging reduce recovery time while maintaining low failure-free performance cost compared to message-based logging?
  • RQ4To what extent does the proposed approach scale with increasing graph size and failure frequency?
  • RQ5How does the performance of lightweight checkpointing compare to heavyweight checkpointing and log-based recovery in real-world workloads?

Key findings

  • On the WebUK graph (5.5B edges), conventional checkpointing takes ~60 seconds, while LWCP reduces this to just 2 seconds, a 30x improvement.
  • LWCP reduces checkpointing overhead to less than 2.5 seconds on both WebUK and Friendster, making it negligible compared to normal execution time.
  • Log-based recovery using lightweight logs (LWLog) incurs only ~1 second of overhead for log writing, compared to ~100 seconds for garbage collection in heavyweight log systems.
  • Recovery time for LWLog is significantly faster than normal execution time, especially when multiple workers fail, due to avoiding redundant recomputation of surviving nodes.
  • The system outperforms existing frameworks like Giraph, GraphLab, and GraphX in both failure-free performance and checkpointing efficiency, with comparable or better recovery times.
  • Garbage collection cost for LWLog is negligible because only lightweight vertex-state logs are managed, unlike the expensive message log deletion in heavyweight systems.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.