A fault-tolerant optimization mechanism for spatiotemporal data analysis in flink

Hangxu Ji, Gang Wu*, Yuhai Zhao, Liuguo Wei, Guoren Wang, Yuchen Fan

*Corresponding author for this work

Research output: Contribution to journalArticlepeer-review

1 Citation (Scopus)

Abstract

Spatiotemporal data analysis plays a vital role in big data processing, and it is also a research hotspot in location-aware and recommender systems. In these applications, graph modeling and distributed iterative computing are the basis and guarantee for data query and mining. Because of the constant repeated execution of specific calculation logic, iterative jobs have the characteristics of being time-consuming and exerting high pressure on system resources. However, iterative jobs always face the risk of stopping due to computing node fault, which in turn causes serious economic losses. At present, the latest generation of distributed computing system Flink’s recovery strategy for node faults in batch processing mode is to restart the job from the beginning, which is extremely time-consuming. If the checkpoint mechanism in Flink’s stream-processing mode is used to recover from batch jobs failures, it will greatly increase the running time and storage overhead in trouble-free state. Therefore, a lightweight fault-tolerant mechanism is needed to reduce failure recovery time while ensuring the job efficiency of spatiotemporal data analysis. In view of the above situation and the characteristics of the iterative computing model for graph computing, a single-node failure recovery mechanism only for the failed node is proposed, which reduces the failure recovery time by introducing lightweight checkpoints and local logs. Based on the proposed single-node failure recovery mechanism, a failure recovery mechanism under multi-node fault and associated fault is proposed, which can cope with more complex failure situations occurs. Experimental results show that the proposed method can quickly and effectively recover jobs after failure, reducing the average recovery time by 37% in the case of single node fault, and reducing the average recovery time by 24% in the case of multi-node fault.

Original languageEnglish
Pages (from-to)867-887
Number of pages21
JournalWorld Wide Web
Volume26
Issue number3
DOIs
Publication statusPublished - May 2023

Keywords

  • Failure recovery
  • Fault-tolerant
  • Flink
  • Iterative computing
  • Spatiotemporal data analysis

Fingerprint

Dive into the research topics of 'A fault-tolerant optimization mechanism for spatiotemporal data analysis in flink'. Together they form a unique fingerprint.

Cite this