A method for accelerating checkpoint-free fault recovery in distributed graph processing systems

Through the partition-aware backup strategy and incremental protocol, it solves the problems of high recovery overhead and inaccurate calculation results in the non-checkpoint failure recovery method in distributed graph processing systems, achieving faster execution time and higher accuracy.

CN114780507BActive Publication Date: 2024-08-23EAST CHINA NORMAL UNIV
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202210031284.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-01-12
Publication Date
2024-08-23
Estimated Expiration
2042-01-12

AI Technical Summary

Technical Problem

Existing checkpoint-less failure recovery methods have problems such as high recovery overhead and inaccurate calculation results in distributed graph processing systems, especially in graph algorithm scenarios involving topological mutations.

Method used

Adopting two technologies, the partition-aware backup strategy and the incremental protocol, the partition-aware algorithm directly restores lost subgraphs from backup when a node fails, avoiding the shuffle process. The incremental protocol records and replays topology mutations to ensure accurate calculation results.

Benefits of technology

The aware partitioning strategy shortens the total execution time of the system by 29.4%, and the incremental protocol improves the accuracy in failure scenarios to 50%, avoiding the additional overhead and inaccurate results of the checkpoint-less recovery method.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114780507B
    Figure CN114780507B
Patent Text Reader

Abstract

The present invention discloses a method for accelerating checkpoint-free fault recovery in a distributed graph processing system, including a partition-aware backup strategy and an incremental protocol. If the fault involves a graph algorithm without topological mutation, the partition-aware backup strategy is applied; if the fault involves a graph algorithm with topological mutation, the partition-aware backup strategy and the incremental protocol are used in collaboration. The partition-aware backup strategy backs up the subgraphs of each node in the system during normal execution, and directly restores the lost subgraphs on the faulty nodes through the backup during recovery, thereby reducing the additional overhead introduced by the checkpoint-free recovery method during recovery. The incremental protocol records the information involving topological mutations as logs during normal periods, and uses these logs during recovery to restore the topology of all nodes in the system to a certain time before the fault occurs, thereby avoiding the problem of inaccurate results caused by the checkpoint-free recovery method when dealing with faults involving topological mutations.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the technical field of distributed graph processing, and relates to a fault-tolerant technology applied to a distributed graph processing system, and a method for accelerating checkpoint-free fault recovery in a distributed graph processing system. Background Art

[0002] When processing data represented by a graph structure, distributed graph processing systems are generally executed iteratively and the execution time is long. During this process, it is common for nodes in the system to fail. Typically, many distributed graph processing systems use checkpoints to handle failures. During normal execution, the system periodically writes checkpoints. Once a failure occurs, the system reads the latest checkpoint and rolls back. The system then recalculates from the checkpoint. Obviously, in the absence of failures, this checkpoint-based recovery method brings significant runtime overhead.

[0003] Unlike checkpoint-based recovery, checkpointless recovery does not require the system to write any checkpoints during normal execution. Once a failure occurs, checkpointless recovery reloads the input data to recover the lost subgraph on the failed node. After that, checkpointless recovery uses a user-defined compensation method to restore the values ​​of the vertices on the lost subgraph and continue the calculation. In particular, this method does not roll back the vertex values ​​and repeat the calculation before the failure, but instead uses the characteristics of the graph algorithm to set the vertex values, thereby reducing the overhead caused by repeated calculations.

[0004] Figure 1 and Figure 2 Take the graph algorithm for calculating the maximum value as an example to illustrate the working process of the checkpoint-free recovery method. Here, the graph job is executed on a cluster consisting of two nodes, N1 and N2. In particular, the job consists of four iterations, from iteration S0 to S3. Figure 1 As shown in , before executing iteration S0, N1 and N2 will load subgraphs from file shard 1 and shard 2 of the input data respectively. However, according to the partition function, vertex C on the subgraph of shard 1 does not belong to N1. Similarly, vertex A does not belong to N2. Therefore, N1 and N2 will exchange vertices with each other during loading, i.e., shuffle. After that, the job will perform calculations from S0 to S3. During the calculation, the checkpoint-free recovery method achieves zero overhead because it does not write any checkpoints. Once N2 fails in iteration S2, as shown in Figure 2As shown in the figure, the subgraph consisting of vertices C and D is lost. To recover the lost subgraph, the checkpoint-free recovery method will require N1 and N2 to reload the subgraph from shard 1 and shard 2. After that, the checkpoint-free recovery method compensates the values ​​of vertices C and D to the minimum value, that is, 0. This avoids the recalculation overhead of updating the value of vertex D to 3 again. After compensation, the job continues the calculation and terminates the calculation at iteration S5.

[0005] The checkpoint-free recovery method effectively handles failures, but it introduces significant recovery overhead during recovery. Once a failure occurs, the checkpoint-free recovery method has to re-read the file shards of the input data and perform the partition operation. However, the partition operation requires shuffling over the network, which brings additional overhead. Figure 2 For example, once N2 fails at S2, the checkpoint-free recovery method will require N1 and N2 to load the input data. After that, N2 recovers vertex C through shuffle, that is, N1 reads C from shard 1 and sends C to N2 through the network. Obviously, if N2 can read vertex C directly, then the checkpoint-free recovery method will avoid the additional overhead caused by shuffle.

[0006] In addition to the recovery overhead, recovery without checkpoints can reduce the accuracy of computations when dealing with failures in graph algorithms that involve topology mutations. To illustrate this point, Figure 3 and Figure 4 The normal execution and fault recovery process of a graph job with topology mutation are shown respectively. It is worth noting that Figure 3 and Figure 4 The graph job still needs to calculate the maximum value of the vertex. Figure 3 As shown, during normal execution, vertex B sends the maximum value 6 as a message through the edge<B,C> Send to C. Afterwards, vertex C updates its value to 6 in iteration S2. At the same time, the job deletes the edge<B,C> as well as<C,B> . The job then updates the value of vertex D to 6 and ends the computation at iteration S3. Once N2 fails at iteration S2, as Figure 4 As shown, the recovery method without checkpoints uses Figure 2 The topology of N2 is restored to the topology of iteration S0 in the same way (i.e., reloading the input data). In addition, for the normal node N1, the recovery method without checkpoints keeps its topology unchanged. Therefore, in iteration S3, there is an edge in the graph<C,B> No edge<B,C> . No edge<B,C> This means that vertex B cannot send the maximum value 6 as a message to C again. Therefore, C and D cannot update their values ​​to the maximum value 6, which causes the job to output inaccurate results.

[0007] In general, the checkpoint-free recovery method has the following limitations: (a) the checkpoint-free recovery method introduces additional overhead during the recovery process; (b) for algorithms that may experience graph topology mutations, the checkpoint-free recovery method may lead to inaccurate job output results when handling failures. Summary of the invention

[0008] The purpose of the present invention is to propose a method for accelerating checkpoint-free fault recovery in a distributed graph processing system, which includes two technologies: a partition-aware backup strategy and an incremental protocol. The backup strategy and the incremental protocol can work together in a fault scenario involving a change in the graph topology and are used successively. Among them, the partition-aware backup strategy backs up the partition before starting the calculation of the initial iteration (i.e., iteration 0), and restores the lost subgraph from the backup when a node fails, thereby avoiding the shuffle process involved in recovering from the input data, and ultimately reducing the additional overhead introduced by the checkpoint-free recovery method. Taking the total execution time of the system as the evaluation indicator of the additional overhead, compared with the existing checkpoint-free recovery method, the partition-aware backup strategy can shorten the total execution time of the system by 29.4% in a fault scenario. The incremental protocol plays a role when the system executes a graph algorithm (such as maximum weight matching) involving topological mutations. During the calculation process of each iteration, the incremental protocol monitors the modification of the graph topology and records the modification in the log. Once a failure occurs, after the partition-aware backup strategy restores the lost subgraph, the incremental protocol will read the log and restore the graph topology to a certain iteration before the failure, avoiding the scenario in which the message described in the background technology cannot be delivered normally during the subsequent calculation process, thereby ensuring that the system can ultimately output accurate calculation results, that is, the results output in a non-fault scenario are consistent. The accuracy is judged by comparing the output results in the fault scenario with the output results in the non-fault scenario. Compared with the existing recovery method without checkpoints, the incremental protocol improves the accuracy by up to 50% in the fault scenario.

[0009] The specific technical solution for achieving the purpose of the present invention is:

[0010] During the normal operation of the distributed graph processing system, if a failure occurs, the failure is recovered by applying the technology of aware partition backup strategy and / or incremental protocol according to the type of failure.

[0011] The fault type is divided according to whether a graph topology mutation occurs in the graph algorithm;

[0012] The partition-aware backup strategy is generally used for graph algorithm failures without topology mutation or graph algorithm failures involving topology mutation;

[0013] The incremental protocol is generally used for graph algorithm type failures involving sudden topology changes.

[0014] In a failure scenario involving a sudden change in graph topology, the partition-aware backup strategy and the incremental protocol work together.

[0015] The partition-aware backup strategy includes the following steps:

[0016] Step A1: During the normal execution of the distributed graph processing system, once the system reads the input data and completes the shuffle process, that is, each node has read the complete subgraph, the system requires all nodes to back up the subgraph to the distributed file system; the backup operation is only performed when the iteration number is 0;

[0017] Step A2: Once a failure occurs, the system uses the backup of the subgraph to restore the lost subgraph of the failed node.

[0018] The steps of requiring all nodes to back up the subgraph to the distributed file system include:

[0019] Step A11: Get the current iteration number and determine whether it is 0. If it is 0, it means that the current iteration is the initial iteration and the system has completed the processing of the input data. At this time, it is necessary to write the backup as soon as possible and then enter step A12; if the current iteration number is not 0, the system does not perform any backup operations to avoid the runtime overhead caused by multiple backups.

[0020] Step A12: The system requires all nodes to upload the subgraph to the distributed file system, and each node will notify the system after completing the upload;

[0021] Step A13: After waiting for all nodes to complete uploading, the system creates an identification file on the distributed file system to indicate that the backup is available.

[0022] Wherein, once a failure occurs, the system restores the lost subgraph of the failed node through the backup of the subgraph, including:

[0023] Step A21: The failure may occur during the backup process, resulting in the system having no available backup when the failure occurs. Therefore, once the failure occurs, the system needs to check the availability of the backup, and if it is available, proceed to step A22, otherwise proceed to step A23;

[0024] Step A22: the faulty node reads the lost subgraph from the backup, and the normal node waits for the faulty node to complete reading the subgraph, and then proceeds to step A24;

[0025] Step A23: All nodes reload the input data, and restore the lost subgraph of the failed node through shuffle and read it, and then enter step A24;

[0026] Step A24: After the subgraph is read, the system uses the same method as the recovery method without checkpoints to restore the values ​​of the vertices on the lost subgraph, that is, a user-defined compensation method is applied to the vertices on the lost subgraph, and then the system continues to execute the calculation process.

[0027] The incremental protocol includes the following operating steps:

[0028] Step B1: During normal execution, the distributed graph processing system writes the graph topology mutations that occur to the log located in the distributed file system;

[0029] Step B2: Once a failure occurs, after restoring the lost subgraph of the failed node through the partition-aware backup strategy, the system uses the topology mutation information recorded in the log to restore the topology of all nodes to a certain iteration. After that, the system will execute the user-defined compensation method to restore the values ​​of the vertices of the lost subgraph and restart the calculation until the iteration is terminated.

[0030] The step of writing the topology mutation to the log of the distributed file system during normal execution includes:

[0031] Step B11: At each iteration S i , the system will monitor whether each node has modified the topology of the graph, and if so, it will proceed to step B12;

[0032] Step B12: Once the node is in iteration S i When the graph topology is modified, the node will generate the corresponding topology mutation log and write it to the log file in the distributed file system;

[0033] Step B13: After all nodes that have modified the topology have written log information to the distributed file system, the system will create a S i A flag file named to indicate that the system has fully recorded what happened at iteration S i The topological mutation information.

[0034] Wherein, once a failure occurs, after restoring the lost subgraph of the failed node through the partition-aware backup strategy, the system uses the topological mutation information recorded in the log to restore the topology of all nodes to a certain iteration, and then the system will execute the user-defined compensation method to restore the values ​​of the vertices of the lost subgraph and restart the calculation until the iteration is terminated. The steps include:

[0035] Step B21: the system reads the file name of the marker file from the distributed file system and generates an iteration list L accordingly;

[0036] Step B22: All nodes read the log file and process the topology mutation records in the log one by one;

[0037] Step B23: For each record R, the node obtains the iteration number S contained in R i , if S i If it is L, go to step B24, otherwise go to step B25;

[0038] Step B24: S i Belonging to L indicates that the system can restore the topology to iterative S i If the node is in the same topology as S, the node needs to redo the topological mutation recorded in R to reproduce the topological modification, thereby ensuring that the topology of the subgraph on the node is consistent with S. i The subgraph topology at the iteration is the same;

[0039] Step B25: S i Not belonging to L indicates that the system cannot restore the topology to S i At this time, the topological mutation recorded in R is redundant, and the node should be revoked, that is, the opposite operation of R is performed. If R records a topological modification involving edge deletion, the operation of adding edges should be performed on the node's subgraph to revoke it;

[0040] Step B26: After restoring the topology, the system executes the compensation function on the lost vertices and continues the calculation until the iteration is terminated.

[0041] The present invention also proposes a system for implementing the above classification method, the system comprising: a backup module, an incremental protocol application module, and a coordination module. The backup module comprises two major components: a subgraph writer and a subgraph reader; the subgraph writer component is responsible for backing up the subgraph of the node to the distributed file system during normal execution, and notifying the coordination module after the backup is completed; the subgraph reader component is responsible for reading the subgraph lost on the faulty node from the backup during fault recovery. The incremental protocol application module comprises two major components: a recorder and a replayer; the recorder component is responsible for recording information related to graph topology mutations into the log during normal execution, and notifying the coordination module after the recording is completed; the replayer component is responsible for reading the log and replaying it during fault recovery. The coordination module is composed of a coordinator component; the coordinator component is responsible for coordinating the subgraph writer components of all nodes to complete the backup of the subgraph or the recorder components of all nodes to complete the recording of the log.

[0042] The beneficial effects of the present invention include:

[0043] The partition-aware backup strategy in the present invention backs up the subgraphs of each node during normal execution, and directly restores the lost partitions of the failed node from the backup when a failure occurs, thereby reducing the additional overhead introduced by the checkpoint-free recovery method. The incremental protocol in the present invention records topological mutations in logs during execution. Once a failure occurs, the incremental protocol uses these logs to restore the topology of all nodes to a pre-failure iteration, thereby ensuring that the job can ultimately output accurate results. Compared with existing checkpoint-free recovery methods, in failure scenarios, the partition-aware backup strategy can shorten the total execution time of the system by 29.4%; at the same time, compared with existing checkpoint-free recovery methods, in failure scenarios, the incremental protocol improves accuracy by up to 50%. BRIEF DESCRIPTION OF THE DRAWINGS

[0044] Figure 1 It is a schematic diagram of an implementation method of a recovery method without checkpoints during normal execution in the prior art;

[0045] Figure 2 It is a schematic diagram of an implementation method of a recovery method without checkpoints during failure recovery in the prior art;

[0046] Figure 3 It is a schematic diagram of an implementation method of a checkpoint-free recovery method during normal execution of a topology mutation algorithm in the prior art;

[0047] Figure 4 It is a schematic diagram of an implementation method of a recovery method without checkpoints during a topology mutation recovery algorithm in the prior art;

[0048] Figure 5 It is a schematic diagram of an implementation method of the partition-aware backup strategy involved in the present invention during normal execution;

[0049] Figure 6 It is a schematic diagram of an implementation method of the partition-aware backup strategy during failure recovery involved in the present invention;

[0050] Figure 7 It is a schematic diagram of an implementation method of the incremental protocol during fault recovery involved in the present invention;

[0051] Figure 8 It is a schematic diagram of an implementation method of the incremental protocol during fault recovery involved in the present invention;

[0052] Fig. 9 It is a flow chart of the partition-aware backup strategy and incremental protocol of the present invention. DETAILED DESCRIPTION

[0053] The present invention is further described in detail with reference to the following specific examples and drawings. The process, conditions, experimental methods, etc. for implementing the present invention, except for the contents specifically mentioned below, are all common knowledge and common common sense in the art and are not particularly limited by the present invention.

[0054] The reason for the additional overhead is that the checkpoint-free recovery method reloads the input data and repartitions the data during recovery, and repartitioning involves network shuffle. To avoid this shuffle process, the present invention proposes a partition-aware backup strategy, which backs up the subgraphs of each node during normal execution and directly restores the lost subgraphs of the failed node through the backups in case of failure.

[0055] Figure 5 This chapter describes how a partition-aware backup strategy works during normal execution. Figure 5 As shown in the figure, at iteration S0, the partition-aware backup strategy allows nodes N1 and N2 to back up their respective subgraphs to the distributed file system, thus forming two backup files, namely backup 1 and backup 2. For example, N2 writes the subgraph consisting of vertices C and D to backup 2 located in the distributed file system. After N1 and N2 complete the backup, the system will create an identification file to indicate that the backup is available. In addition, the system only starts the backup at iteration S0, and does not start the backup at other iterations, thereby avoiding the runtime overhead caused by multiple backups.

[0056] Once N2 fails in iteration S2, Figure 6 As shown in Figure 1, the partition-aware backup strategy checks the availability of the backup. When the backup is available, the system lets N2 read the lost subgraph consisting of vertices C and D from backup 2, and after restoring the subgraph, it uses the same approach as the existing checkpoint-free recovery method to restore the values ​​of the vertices on the lost subgraph, that is, at iteration S3, the values ​​of vertices C and D are restored to the minimum value of 0 through a user-defined compensation method. Subsequently, the system continues the calculation and terminates the calculation at iteration S5. It is worth noting that a failure may occur during the backup process, which will result in the system having no available backup to restore the lost subgraph. In this case, the system will use the same approach as in the previous example. Figure 2 The subgraph lost on the failed node is restored in the same way, that is, the lost subgraph is restored from the input data. The present invention needs to be compatible with this situation when it is implemented.

[0057] The above is the implementation process of the partition-aware backup strategy proposed in the present invention. In a distributed graph processing system, the strategy can be implemented by the relevant code in method 1. The code of method 1 is as follows:

[0058]

[0059] In the case of a topological mutation, the checkpoint-free recovery method cannot effectively handle the fault, which leads to the output of inaccurate results. The reason for this phenomenon is that the calculation on the faulty node requires messages from the normal node, which are transmitted through the cross-node edges from the normal node to the faulty node. However, the topological mutation deletes such cross-node edges, and the checkpoint-free recovery method does not repair these cross-node edges during recovery. In order to restore these cross-node edges, a simple solution is to restore the topology of the normal node to the initial topology at iteration S0. However, this solution requires the job to be recalculated from the initial topology, which wastes the previous calculation results. In view of this fact, the present invention proposes an incremental protocol that records all topological mutations during normal periods. Once a failure occurs, the incremental protocol uses these logs to redo the topological mutation on the faulty node, thereby avoiding the recalculation overhead involved in message transmission and processing.

[0060] Figure 7 An example is provided to illustrate how the incremental protocol works during normal execution. Figure 7 As shown, after receiving the message from B, vertex C on N2 updates its value to 6 in iteration S2 and deletes the edge<C,B> At the same time, the incremental protocol detects this topology change and asks N1 to send information related to this modification to “r<C,B> 3 6 S2” is recorded in the distributed file system. This information includes the modified operation type r, the deleted edge<C,B> , the change of vertex value from 3 to 6 and the iteration number S2 where the modification occurred. Similarly, N1 will also record relevant information about the topological modification that occurred in iteration S2. Once all nodes record the topological modification information that occurred in iteration S2 to the distributed file system, the incremental protocol will create a corresponding marker file S2 to indicate that the system can replay the topological modification of iteration S2 through the log.

[0061] When N2 fails at S2, Figure 8As shown in Figure 2, the incremental protocol generates a list L containing S2, which indicates that the topological modification of S2 can be reproduced. Subsequently, the incremental protocol lets N1 and N2 read the log from the distributed file system. N2 will redo the modification “r<C,B> 3 6 S2”, that is, in iteration S3, the edge from C to B is deleted and the value of C is set to 6, because L contains S2. At the same time, N1 does not redo the topological modification involving s, because N1 is a normal node and L includes S2. After restoring the topology of the graph, the system sets the value of vertex D to the minimum value 0 by applying a user-defined compensation method. Then, vertex D receives the message from C and updates its value to 6 at iteration S4. Finally, the calculation will output the same accurate result as in the fault-free scenario. It is worth noting that it is assumed here that the system has fully recorded the topological modification s that occurred in iteration S2 when the fault occurred. However, the fault may occur in the process of the node recording the topological modification, which will cause L to not include S2. In this case, the system has not yet fully recorded the topological modification that occurred in iteration S2, that is, the topological modification that occurred in iteration S2 cannot be reproduced through the log. In order to reproduce the topological modification of iteration S2, the system should ensure that B can send the maximum value to C again. This means that when L does not contain S2, N1 needs to undo the topological modification involving B, that is, add an edge from B to C, so as to repair the link from B to C for transmitting messages.

[0062] The above is the implementation process of the incremental protocol proposed in the present invention. In the distributed graph processing system, the protocol can be implemented by the relevant code in method 2. The code of method 2 is as follows:

[0063]

[0064]

[0065] The protection content of the present invention is not limited to the above embodiments. Without departing from the spirit and scope of the inventive concept, changes and advantages that can be thought of by those skilled in the art are included in the present invention and are protected by the attached claims.

Claims

1. A method for accelerating checkpoint-free fault recovery in a distributed graph processing system, characterized in that: If the fault involves a graph algorithm without topological mutation, the partition-aware backup strategy is applied; if the fault involves a graph algorithm with topological mutation, the partition-aware backup strategy and the incremental protocol are used in coordination; The steps of the partition-aware backup strategy specifically include: Step A1: During the normal execution of the distributed graph processing system, when the system reads the input data and completes the shuffle process, the system requires all nodes to back up the subgraph to the distributed file system; Step A2: Once a failure occurs, the system uses the backup of the subgraph to restore the lost subgraph of the failed node; The backup operation is only performed when the iteration number is 0; The operation steps of the incremental protocol specifically include: Step B1: During normal execution, the distributed graph processing system writes the graph topology mutation to the log located in the distributed file system; Step B1 specifically includes: Step B11: At each iteration S i , the system will monitor whether each node has modified the topology of the graph, and if so, it will proceed to step B12; Step B12: Once the node is in iteration S i When the graph topology is modified, the node will generate the corresponding topology mutation log and write it to the log file in the distributed file system; Step B13: After all nodes that have modified the topology have written log information to the distributed file system, the system will create a S i A flag file named to indicate that the system has fully recorded what happened at iteration S i Topological mutation information; Step B2: Once a failure occurs, after restoring the lost subgraph of the failed node through the partition-aware backup strategy, the system uses the topological mutation information recorded in the log to restore the topology of all nodes to a certain iteration. After that, the system will execute the user-defined compensation method to restore the values ​​of the vertices of the lost subgraph and restart the calculation until the iteration is terminated. Step B2 specifically includes: Step B21: the system reads the file name of the marker file from the distributed file system and generates an iteration list L accordingly; Step B22: All nodes read the log file and process the topology mutation records in the log one by one; Step B23: For each record R, the node obtains the iteration number S contained in R i , if S i If it is L, go to step B24, otherwise go to step B25; Step B24: S i Belonging to L indicates that the system can restore the topology to iterative S i If the node is in the same topology as S, the node needs to redo the topological mutation recorded in R to reproduce the topological modification, thereby ensuring that the topology of the subgraph on the node is consistent with S. i The subgraph topology at the iteration is the same; Step B25: S i Not belonging to L indicates that the system cannot restore the topology to S i At this time, the topological mutation recorded in R is redundant, and the node should be revoked, that is, the opposite operation of R is performed; Step B26: After restoring the topology, the system executes the compensation function on the lost vertices and continues the calculation until the iteration is terminated.

2. The method according to claim 1, characterized in that Step A1 specifically includes: Step A11: Get the current iteration number and determine whether it is 0. If it is 0, it means that the current iteration is the initial iteration and needs to be written as soon as possible, and then go to step A12; if the current iteration number is not 0, the system does not perform any backup operation; Step A12: The system requires all nodes to upload the subgraph to the distributed file system, and each node will notify the system after completing the upload; Step A13: After waiting for all nodes to complete uploading, the system creates an identification file on the distributed file system to indicate that the backup is available.

3. The method according to claim 1, characterized in that Step A2 specifically includes: Step A21: When a failure occurs, the system first checks the availability of the backup. If the backup is available, it proceeds to step A22, otherwise it proceeds to step A23; Step A22: the faulty node reads the lost subgraph from the backup, and the normal node waits for the faulty node to complete reading the subgraph, and then proceeds to step A24; Step A23: All nodes reload the input data, and restore the lost subgraph of the failed node through shuffle and read it, and then enter step A24; Step A24: After the subgraph is read, the system uses the same method as the recovery method without checkpoints to restore the values ​​of the vertices on the lost subgraph, that is, a user-defined compensation method is applied to the vertices on the lost subgraph, and then the system continues to execute the calculation process.

4. A system for implementing the method according to any one of claims 1 to 3, the system comprising: Backup module, incremental protocol application module, coordination module.

5. The system according to claim 4, characterized in that The backup module includes two major components: the subgraph writer and the subgraph reader; the subgraph writer component is responsible for backing up the node's subgraph to the distributed file system during normal execution, and notifying the coordination module after the backup is completed; the subgraph reader component is responsible for reading the lost subgraph on the faulty node from the backup during fault recovery.

6. The system according to claim 5, characterized in that The incremental protocol application module includes two major components: recorder and replayer. The recorder component is responsible for recording information related to graph topology mutations into the log during normal execution and notifying the coordination module after the recording is completed. The replayer component is responsible for reading the log and replaying it during fault recovery.

7. The system according to claim 5, characterized in that The coordination module is composed of a coordinator component; the coordinator component is responsible for coordinating the subgraph writer components of all nodes to complete the backup of the subgraph or the recorder components of all nodes to complete the recording of the log.