CoChat

A Performance Analysis of Fault Recovery in Stream Processing Frameworks

van Dongen, Giselle, Poel, Dirk Van Den · 2021 · IEEE Access
Cited by 24

The DOI matches its Crossref record; 45 of the 45 references it cites were found in a registry or an index.

Abstract

Distributed stream processing frameworks have gained widespread adoption in the last decade because they abstract away the complexity of parallel processing. One of their key features is built-in fault tolerance. In this work, we dive deeper into the implementation, performance, and efficiency of this critical feature for four state-of-the-art frameworks. We include the established Spark Streaming and Flink frameworks and the more novel Spark Structured Streaming and Kafka Streams frameworks. We test the behavior under different types of faults and settings: master failure with and without high-availability setups, driver failures for Spark frameworks, worker failure with or without exactly-once semantics, application and task failures. We highlight differences in behavior during these failures on several aspects, e.g., whether there is an outage, downtime, recovery time, data loss, duplicate processing, accuracy, and the cost and behavior of different message delivery guarantees. Our results highlight the impact of framework design on the speed of fault recovery and explain how different use cases may benefit from different approaches. Due to their task-based scheduling approach, the Spark frameworks can recover within 30 seconds and in most cases without necessitating an application restart. Kafka Streams has only a few seconds of downtime, but is slower at catching up on delays. Finally, Flink can offer end-to-end exactly-once semantics at a low cost but requires job restarts for most failures leading to high recovery times of around 50 seconds.

Overview

The claims and statistics of this paper haven’t been checked yet.

Free: it reads the open-access text and checks the first 5 claims that cite a source we can check. Create a free account to check every claim.

A few free checks a day · papers already verified open instantly · results are public

Integrity signals

Registry

Crossref · 10.1109/access.2021.3093208

Cites

45 of 45 references verified0 citation errors · 0 not checkable

Statistics

Verification

Claims the paper makes

The claims and statistics of this paper haven’t been checked yet.

Free: it reads the open-access text and checks the first 5 claims that cite a source we can check. Create a free account to check every claim.

A few free checks a day · papers already verified open instantly · results are public

Self-check

Percentages, sums and reported differences re-computed from the paper’s own numbers.

The self-check needs the paper’s full text.

Citations

Cites

Research works printed but not linked: 33

  1. zhang, 2021, Research on optimal checkpointing-interval for flink stream processing applications, Mobile Netw Appl, 4, 1
  2. 2020, Apache Zookeeper
  3. 2020, Enabling Exactly-Once in Kafka Streams
  4. 2020, Spark Streaming Programming Guide - Apache Spark
  5. kreps, 2011, Kafka: A distributed messaging system for log processing, Proc NetDB, 1
  6. rohrmann, 2021, Flip-160 Adaptive Scheduler
  7. silvestre, 2021, Clonos: Consistent causal recovery for highly-available streaming dataflows, Proc Int Conf Manage Data, 1637
  8. 10.1145/2517349.2522737 · DOI · Paper page
  9. bellavista, 2014, Adaptive fault-tolerance for dynamic resource provisioning in distributed stream processing systems, Proc EDBT, 85
  10. zaharia, 2012, Resilient distributed datasets: A fault-tolerant abstraction for in-memory cluster computing, Proc 9th USENIX Conf Netw Syst Design Implement, 15
  11. heise, 2020, Flip-76 Unaligned Checkpoints
  12. torres, 2018, Introducing low-latency continuous processing mode in structured streaming in apache spark 2 3
  13. carbone, 2015, Lightweight asynchronous snapshots for distributed dataflows, arXiv 1506 08603
  14. carbone, 2015, Apache flink: Stream and batch processing in a single engine, Bull IEEE Comput Soc Tech Committee Data Eng, 36, 1
  15. 2020, From Eager to Smarter in Apache Kafka Consumer Rebalances
  16. schepler, 2021, Flip-138 Declarative Resource Management
  17. rohrmann, 2021, Flip-159
  18. 2020, Apache Flink Stateful Computations over Data Streams
  19. 2017, NDW Nationale Databank Wegverkeersgegevens
  20. 2020, Apache Storm
  21. 2020, Apache samza - a distributed stream processing framework
  22. 2020, Apache Kafka Kafka Streams
  23. 2020, Apache Kafka
  24. akidau, 2018, Streaming Systems The What Where When and How of Large-Scale Data Processing
  25. 2020, An Overview of End-to-End Exactly-Once Processing in Apache Flink
  26. 2020, Apache Spark Structured Streaming Programming Guide
  27. henning, 2020, Theodolite: Scalability benchmarking of distributed stream processing engines in microservice architectures, arXiv 2009 00304
  28. 2021, Hadoop HDFS Architecture Guide
  29. byzek, 2018, Optimizing Your Apache Kafka Deployment
  30. wang, 2015, Tuning Java Garbage Collection for Spark Applications
  31. 2021, DC/OS
  32. 2019, ADVISOR
  33. 2021, ET Docker

Cited by

See all 24

Metadata

Authors
van Dongen, G., & Poel, D. V. D.
Venue
IEEE Access
Published
2021
Volume
9
Pages
93745-93763
ISSN
2169-3536
Cited by
24
References
45

About these checks

Registry, retraction, Cites and statistics results are computed, not judged, with one exception: a printed reference that no index lists is read once by a model before it counts as a citation error. Claims are extracted by a model and kept only when their quote appears verbatim in the text; each cited source is then checked, with a model’s help, for whether it says what the claim relies on. Those verdicts can be wrong — read the claim’s quote and the cited source before relying on one.

Statistics and arithmetic are recomputed, not judged.

Confidence bands are shown only for fields calibrated on our annotated test set. None is calibrated yet, so no band is shown.

What counts as a claim ›How we measure confidence ›How we check this ›

Are you an author, or do you see a problem with this page? Request a review

Data sources

Bibliographic data: Semantic Scholar, OpenAlex, Crossref.

Contains information from the Semantic Scholar Academic Graph Datasets, made available under the ODC Attribution License (ODC-BY 1.0).

Semantic Scholar’s data is described in: Kinney, R., et al. (2023). The Semantic Scholar Open Data Platform. arXiv:2301.10140.