A Performance Analysis of Fault Recovery in Stream Processing Frameworks
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.
Integrity signals
Registry
Cites
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.
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
Akidau, T., Bradshaw, R., Chambers, C., Chernyak, S., Fernández-Moctezuma, R. J., Lax, R., McVeety, S., Mills, D., Perry, F., Schmidt, E., et al. (2015) · Proceedings of the VLDB Endowment · doi:10.14778/2824032.2824076 · Cited by 750 · cited 2×
“, fault tolerance [1], accuracy [2], managing state [3], time recording [4].”
BackgroundState management in Apache Flink®: Consistent stateful distributed stream processing
Carbone, P., Ewen, S., Fóra, G., Haridi, S., Richter, S., & Tzoumas, K. (2017) · Proceedings of the VLDB Endowment · doi:10.14778/3137765.3137777 · Cited by 285 · cited 2×
“Flink implements this [18], [31] via the Two-Phase Commit Protocol [37].”
BackgroundMethodSamza: Stateful scalable stream processing at LinkedIn
Noghabi, S. A., Paramasivam, K., Pan, Y., Ramesh, N., Bringhurst, J., Gupta, I., & Campbell, R. H. (2017) · Proceedings of the VLDB Endowment · doi:10.14778/3137765.3137770 · Cited by 276 · cited 1×
“These requirements count for most frameworks [24]–[26], [31], [32].”
BackgroundA survey on the evolution of stream processing systems
Fragkoulis, M., Carbone, P., Kalavri, V., & Katsifodimos, A. (2024) · The VLDB Journal · doi:10.1007/s00778-023-00819-8 · Cited by 207 · cited 3×
“A thorough overview of research on high-availability setups in stream processing has been given in [33] and [52].”
Evaluation of stream processing frameworks
van Dongen, G., & Van den Poel, D. (2020) · IEEE Transactions on Parallel and Distributed Systems · doi:10.1109/tpds.2020.2978480 · Cited by 110 · cited 10×
“Without a failure, the latency and batch interval of Spark Streaming are much lower than that of Structured Streaming [5].”
BackgroundMethodInfluentialStreams and Tables: Two Sides of the Same Coin
Sax, M. J., Wang, G., Weidlich, M., & Freytag, J.-C. (2018) · Proceedings of the International Workshop on Real-Time Business Intelligence and Analytics · doi:10.1145/3242153.3242155 · Cited by 51
Hazelcast jet: low-latency stream processing at the 99.99 th percentile
Gencer, C., Topolnik, M., Ďurina, V., Demirci, E., Kahveci, E. B., Gürbüz, A., Lukáš, O., Bartók, J., Gierlach, G., Hartman, F., et al. (2021) · Proceedings of the VLDB Endowment · doi:10.14778/3476311.3476387 · Cited by 38
A Comparison of Stream Processing Frameworks
Karakaya, Z., Yazici, A., & Alayyoub, M. (2017) · 2017 International Conference on Computer and Applications (ICCA) · doi:10.1109/comapp.2017.8079733 · Cited by 27
Research works printed but not linked: 70
- 10.1145/1066157.1066160 · DOI
- 10.1109/ICPP.2017.66 · DOI
- zhang, 2021, Research on optimal checkpointing-interval for flink stream processing applications, Mobile Netw Appl, 4, 1
- 10.1016/j.future.2020.04.019 · DOI
- 10.1109/ICDE.2016.7498267 · DOI
- 10.1109/ICDCS.2010.81 · DOI
- 10.1145/1007568.1007662 · DOI · Paper page
- 2020, Apache Zookeeper
- 10.1109/TKDE.2017.2720602 · DOI
- 2020, Enabling Exactly-Once in Kafka Streams
- 10.1145/2675743.2771831 · DOI
- 10.14778/3055540.3055544 · DOI
- 10.1109/ICDE.2005.72 · DOI · Paper page
- 10.1007/3-540-08755-9_9 · DOI · Paper page
- 2020, Spark Streaming Programming Guide - Apache Spark
- kreps, 2011, Kafka: A distributed messaging system for log processing, Proc NetDB, 1
- rohrmann, 2021, Flip-160 Adaptive Scheduler
- 10.14778/3021924.3021925 · DOI
- silvestre, 2021, Clonos: Consistent causal recovery for highly-available streaming dataflows, Proc Int Conf Manage Data, 1637
- 10.1109/ICDE.2008.4497565 · doi:10.1109/icde.2008.4497565
- 10.1145/2517349.2522737 · DOI · Paper page
- 10.1109/TPDS.2006.107 · doi:10.1109/tpds.2006.107
- 10.1145/2517349.2522737 · DOI · Paper page
- 10.1145/2463676.2465282 · DOI · Paper page
- bellavista, 2014, Adaptive fault-tolerance for dynamic resource provisioning in distributed stream processing systems, Proc EDBT, 85
- zaharia, 2012, Resilient distributed datasets: A fault-tolerant abstraction for in-memory cluster computing, Proc 9th USENIX Conf Netw Syst Design Implement, 15
- 10.1145/2618243.2618288 · doi:10.1145/2618243.2618288
- heise, 2020, Flip-76 Unaligned Checkpoints
- torres, 2018, Introducing low-latency continuous processing mode in structured streaming in apache spark 2 3
- 10.1145/102792.102801 · DOI
- 10.1145/568522.568525 · DOI · Paper page
- carbone, 2015, Lightweight asynchronous snapshots for distributed dataflows, arXiv 1506 08603
- carbone, 2015, Apache flink: Stream and batch processing in a single engine, Bull IEEE Comput Soc Tech Committee Data Eng, 36, 1
- 10.14778/3007263.3007272 · DOI · Paper page
- 10.1109/TKDE.2003.1198390 · DOI · Paper page
- 10.1145/3183713.3190664 · DOI · Paper page
- 10.1145/2670979.2670995 · DOI
- 2020, From Eager to Smarter in Apache Kafka Consumer Rebalances
- schepler, 2021, Flip-138 Declarative Resource Management
- rohrmann, 2021, Flip-159
- 10.1145/3293611.3331590 · doi:10.1145/3293611.3331590
- 10.1145/1132863.1132867 · DOI · Paper page
- 10.1145/3318464.3383131 · DOI · Paper page
- 10.1007/s00778-018-0514-9 · DOI · Paper page
- 10.1145/3170432 · DOI · Paper page
- 10.1109/UCC.2014.15 · DOI · Paper page
- 2020, Apache Flink Stateful Computations over Data Streams
- 2017, NDW Nationale Databank Wegverkeersgegevens
- 2020, Apache Storm
- 2020, Apache samza - a distributed stream processing framework
- 2020, Apache Kafka Kafka Streams
- 2020, Apache Kafka
- 10.1109/GLOCOM.2016.7841533 · DOI · Paper page
- akidau, 2018, Streaming Systems The What Where When and How of Large-Scale Data Processing
- 2020, An Overview of End-to-End Exactly-Once Processing in Apache Flink
- 10.14778/1453856.1453920 · DOI
- 10.1145/3335772.3335934 · DOI · Paper page
- 10.1145/214451.214456 · DOI · Paper page
- 10.1109/ICDE.2018.00169 · DOI · Paper page
- 10.1109/IPDPSW.2016.138 · DOI · Paper page
- 2020, Apache Spark Structured Streaming Programming Guide
- 10.1109/ICIT.2016.7474816 · DOI · Paper page
- henning, 2020, Theodolite: Scalability benchmarking of distributed stream processing engines in microservice architectures, arXiv 2009 00304
- 2021, Hadoop HDFS Architecture Guide
- byzek, 2018, Optimizing Your Apache Kafka Deployment
- wang, 2015, Tuning Java Garbage Collection for Spark Applications
- 2021, DC/OS
- 10.1109/BigDataCongress.2018.00043 · DOI
- 2019, ADVISOR
- 2021, ET Docker
Cited by
Benchmarking scalability of stream processing frameworks deployed as microservices in the cloud
Henning, S., & Hasselbring, W. (2024) · Journal of Systems and Software · doi:10.1016/j.jss.2023.111879 · Cited by 85
“While this work particularly addresses scalability, there are other recent studies that benchmark qualities such as throughput [8, 65, 80], latency [8, 9, 65], and fault-tolerance [82].”
BackgroundMethod
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.