Local recovery and partial snapshot in distributed stateful stream processing
Abstract In data stream applications, a query is created using a series of operators connected by unidirectional pipelines. Since those operators may be deployed in a shared-nothing distributed environment, it is necessary to have a valid restore point in case an operator fails. This ensures consistency of the states among operators after recovering from failures. Typical fault-tolerant approaches periodically capture global snapshots, encompassing all operator states. In the recovery process, all operators must be reinstated to the most recent global snapshot. This global dependency affects the recovery performance and the required computational costs for recovery. We propose fault-tolerant schemes for stateful stream processing that localizes recovery to a subset of operators. Additionally, we introduce a partial snapshot mechanism to capture the states required for local recovery efficiently. This snapshot records only a subset of operator states instead of global states. Our implemented recovery schemes in Apache Flink show improved recovery times by up to more than 50 percent.
Authors
- Toshiyuki Amagasa (ORCID: https://orcid.org/0000-0003-0595-2230)
- Takdir Takdir (ORCID: https://orcid.org/0000-0001-7085-6937)
- Hiroyuki Kitagawa (ORCID: https://orcid.org/0000-0002-2984-2258)
Institutions
- University of Tsukuba (JP)
- Tsukuba International University (JP)
Publication Details
- Journal
- Knowledge and Information Systems
- Published
- 2025-06-29
- DOI
- https://doi.org/10.1007/s10115-025-02509-z
- Primary Topic
- Distributed systems and fault tolerance
- Type
- article
- Field-Weighted Citation Impact
- 0.00
Funders
- Japan Agency for Medical Research and Development
- National Institute of Advanced Industrial Science and Technology
- New Energy and Industrial Technology Development Organization
- Associazione Italiana per la Ricerca sul Cancro
- Japan Society for the Promotion of Science
- Core Research for Evolutional Science and Technology