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; 8 of the 8 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

8 of 8 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

Show all 8 references

Research works printed but not linked: 70

  1. 10.1145/1066157.1066160 · DOI
  2. 10.1109/ICPP.2017.66 · DOI
  3. zhang, 2021, Research on optimal checkpointing-interval for flink stream processing applications, Mobile Netw Appl, 4, 1
  4. 10.1016/j.future.2020.04.019 · DOI
  5. 10.1109/ICDE.2016.7498267 · DOI
  6. 10.1109/ICDCS.2010.81 · DOI
  7. 10.1145/1007568.1007662 · DOI · Paper page
  8. 2020, Apache Zookeeper
  9. 10.1109/TKDE.2017.2720602 · DOI
  10. 2020, Enabling Exactly-Once in Kafka Streams
  11. 10.1145/2675743.2771831 · DOI
  12. 10.14778/3055540.3055544 · DOI
  13. 10.1109/ICDE.2005.72 · DOI · Paper page
  14. 10.1007/3-540-08755-9_9 · DOI · Paper page
  15. 2020, Spark Streaming Programming Guide - Apache Spark
  16. kreps, 2011, Kafka: A distributed messaging system for log processing, Proc NetDB, 1
  17. rohrmann, 2021, Flip-160 Adaptive Scheduler
  18. 10.14778/3021924.3021925 · DOI
  19. silvestre, 2021, Clonos: Consistent causal recovery for highly-available streaming dataflows, Proc Int Conf Manage Data, 1637
  20. 10.1109/ICDE.2008.4497565 · doi:10.1109/icde.2008.4497565
  21. 10.1145/2517349.2522737 · DOI · Paper page
  22. 10.1109/TPDS.2006.107 · doi:10.1109/tpds.2006.107
  23. 10.1145/2517349.2522737 · DOI · Paper page
  24. 10.1145/2463676.2465282 · DOI · Paper page
  25. bellavista, 2014, Adaptive fault-tolerance for dynamic resource provisioning in distributed stream processing systems, Proc EDBT, 85
  26. zaharia, 2012, Resilient distributed datasets: A fault-tolerant abstraction for in-memory cluster computing, Proc 9th USENIX Conf Netw Syst Design Implement, 15
  27. 10.1145/2618243.2618288 · doi:10.1145/2618243.2618288
  28. heise, 2020, Flip-76 Unaligned Checkpoints
  29. torres, 2018, Introducing low-latency continuous processing mode in structured streaming in apache spark 2 3
  30. 10.1145/102792.102801 · DOI
  31. 10.1145/568522.568525 · DOI · Paper page
  32. carbone, 2015, Lightweight asynchronous snapshots for distributed dataflows, arXiv 1506 08603
  33. carbone, 2015, Apache flink: Stream and batch processing in a single engine, Bull IEEE Comput Soc Tech Committee Data Eng, 36, 1
  34. 10.14778/3007263.3007272 · DOI · Paper page
  35. 10.1109/TKDE.2003.1198390 · DOI · Paper page
  36. 10.1145/3183713.3190664 · DOI · Paper page
  37. 10.1145/2670979.2670995 · DOI
  38. 2020, From Eager to Smarter in Apache Kafka Consumer Rebalances
  39. schepler, 2021, Flip-138 Declarative Resource Management
  40. rohrmann, 2021, Flip-159
  41. 10.1145/3293611.3331590 · doi:10.1145/3293611.3331590
  42. 10.1145/1132863.1132867 · DOI · Paper page
  43. 10.1145/3318464.3383131 · DOI · Paper page
  44. 10.1007/s00778-018-0514-9 · DOI · Paper page
  45. 10.1145/3170432 · DOI · Paper page
  46. 10.1109/UCC.2014.15 · DOI · Paper page
  47. 2020, Apache Flink Stateful Computations over Data Streams
  48. 2017, NDW Nationale Databank Wegverkeersgegevens
  49. 2020, Apache Storm
  50. 2020, Apache samza - a distributed stream processing framework
  51. 2020, Apache Kafka Kafka Streams
  52. 2020, Apache Kafka
  53. 10.1109/GLOCOM.2016.7841533 · DOI · Paper page
  54. akidau, 2018, Streaming Systems The What Where When and How of Large-Scale Data Processing
  55. 2020, An Overview of End-to-End Exactly-Once Processing in Apache Flink
  56. 10.14778/1453856.1453920 · DOI
  57. 10.1145/3335772.3335934 · DOI · Paper page
  58. 10.1145/214451.214456 · DOI · Paper page
  59. 10.1109/ICDE.2018.00169 · DOI · Paper page
  60. 10.1109/IPDPSW.2016.138 · DOI · Paper page
  61. 2020, Apache Spark Structured Streaming Programming Guide
  62. 10.1109/ICIT.2016.7474816 · DOI · Paper page
  63. henning, 2020, Theodolite: Scalability benchmarking of distributed stream processing engines in microservice architectures, arXiv 2009 00304
  64. 2021, Hadoop HDFS Architecture Guide
  65. byzek, 2018, Optimizing Your Apache Kafka Deployment
  66. wang, 2015, Tuning Java Garbage Collection for Spark Applications
  67. 2021, DC/OS
  68. 10.1109/BigDataCongress.2018.00043 · DOI
  69. 2019, ADVISOR
  70. 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
8

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

How to cite

Cite CoChat for the checks on this page, and the paper for its own findings.

This page
CoChat. (2026). Citation check: A Performance Analysis of Fault Recovery in Stream Processing Frameworks. https://app.cochat.ai/papers/10.1109/access.2021.3093208
The paper
van Dongen, G., & Poel, D. V. D. (2021). A Performance Analysis of Fault Recovery in Stream Processing Frameworks. IEEE Access. https://doi.org/10.1109/access.2021.3093208

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.