Decentraliserad felåterställning i distribuerade stream behandlingssystem med CRDTs

Distributed stream processing systems are central to modern real-time data analytics but face critical challenges in terms of fault tolerance. Traditional systems rely on centralized failure recovery that require global coordination, which results in checkpointing overhead and system-wide rollbacks in the event of failures. These limitations are especially pronounced in global aggregation workloads, where events of the same key are often shuffled to a single node for processing, creating a bottleneck for normal operation, checkpointing and recovery. This thesis explores a novel decentralized failure recovery approach for stateful stream processing systems, performing global aggregation by leveraging Conflict-Free Replicated Data Types (CRDTs). Using CRDTs, we provide strong eventual consistency and enable decentralized state management without global coordination. Based on CRDTs, we design and implement a decentralized failure recovery module that provides exactly-once processing semantics while allowing local and parallel recovery of failed nodes. Thus reducing coordination overhead and eliminating the need for global rollbacks. Moreover, it integrates work stealing for dynamic load balancing to improve operation under variable workloads. We evaluate our system against Apache Flink under normal operation and different failure conditions using the Nexmark benchmark suite. The results showcase reduced checkpointing overhead and significant improvements in recovery time compared to Flink, by demonstrating sub-2-second recoveries across all failure scenarios. Overall, our system demonstrates greater resilience to failures than Flink. These findings suggest that CRDTs can significantly enhance the performance and robustness of stateful, decentralized stream processing systems.

Publication Details

Journal
KTH Publication Database DiVA (KTH Royal Institute of Technology)
Published
2025-01-01
Primary Topic
Distributed systems and fault tolerance
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Decentraliserad felåterställning i distribuerade stream behandlingssystem med CRDTs

KTH Publication Database DiVA (KTH Royal Institute of Technology)
Distributed systems and fault tolerance
article

Decentraliserad felåterställning i distribuerade stream behandlingssystem med CRDTs

article en

Abstract

Distributed stream processing systems are central to modern real-time data analytics but face critical challenges in terms of fault tolerance. Traditional systems rely on centralized failure recovery that require global coordination, which results in checkpointing overhead and system-wide rollbacks in the event of failures. These limitations are especially pronounced in global aggregation workloads, where events of the same key are often shuffled to a single node for processing, creating a bottleneck for normal operation, checkpointing and recovery. This thesis explores a novel decentralized failure recovery approach for stateful stream processing systems, performing global aggregation by leveraging Conflict-Free Replicated Data Types (CRDTs). Using CRDTs, we provide strong eventual consistency and enable decentralized state management without global coordination. Based on CRDTs, we design and implement a decentralized failure recovery module that provides exactly-once processing semantics while allowing local and parallel recovery of failed nodes. Thus reducing coordination overhead and eliminating the need for global rollbacks. Moreover, it integrates work stealing for dynamic load balancing to improve operation under variable workloads. We evaluate our system against Apache Flink under normal operation and different failure conditions using the Nexmark benchmark suite. The results showcase reduced checkpointing overhead and significant improvements in recovery time compared to Flink, by demonstrating sub-2-second recoveries across all failure scenarios. Overall, our system demonstrates greater resilience to failures than Flink. These findings suggest that CRDTs can significantly enhance the performance and robustness of stateful, decentralized stream processing systems.

KTH Publication Database DiVA (KTH Royal Institute of Technology)
Openalex Percentile: Top 45%
Distributed systems and fault tolerance
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.