arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2404.06203cs.DCcs.SE
收藏

流处理框架中故障恢复的综合基准分析

A Comprehensive Benchmarking Analysis of Fault Recovery in Stream Processing Frameworks

Adriano Vogel, Sören Henning, Esteban Perez-Wohlfeil, Otmar Ertl, Rick Rabiser

摘要:

如今,一些软件系统依赖于流处理架构来提供可扩展的性能并近实时地处理大量数据。流处理框架通过将应用程序的执行分布在多台机器上来促进可伸缩计算。尽管性能被广泛研究,容错的测量-流处理框架提供的一个关键功能-仍然没有得到适当的测量更新和全面的测试床。此外,故障恢复对性能的影响大多被忽略。本文提供了一个全面的故障恢复性能,稳定性和恢复时间在云原生环境与现代开源框架,即Flink,Kafka流,和火花结构化流的分析。我们的基准分析的灵感来自混沌工程注入故障。一般来说,我们的研究结果表明,有很大的变化相比,以前的研究在分布式流处理的故障恢复。特别是,结果表明,Flink是最稳定的,并具有最好的故障恢复之一。此外,Kafka Streams在失败后表现出性能不稳定性,这是由于其当前的重新平衡策略在负载均衡方面可能是次优的。Spark Structured Streaming显示了适当的故障恢复性能和稳定性,但具有更高的事件延迟。我们的研究旨在(i)帮助行业从业者选择最合适的流处理框架,以有效和可靠地执行数据密集型应用程序;(ii)支持研究人员应用和扩展我们的研究方法以及我们的基准;(iii)识别,预防和协助解决生产部署中的潜在问题。

英文摘要:

Nowadays, several software systems rely on stream processing architectures to deliver scalable performance and handle large volumes of data in near real-time. Stream processing frameworks facilitate scalable computing by distributing the application's execution across multiple machines. Despite performance being extensively studied, the measurement of fault tolerance-a key feature offered by stream processing frameworks-has still not been measured properly with updated and comprehensive testbeds. Moreover, the impact that fault recovery can have on performance is mostly ignored. This paper provides a comprehensive analysis of fault recovery performance, stability, and recovery time in a cloud-native environment with modern open-source frameworks, namely Flink, Kafka Streams, and Spark Structured Streaming. Our benchmarking analysis is inspired by chaos engineering to inject failures. Generally, our results indicate that much has changed compared to previous studies on fault recovery in distributed stream processing. In particular, the results indicate that Flink is the most stable and has one of the best fault recovery. Moreover, Kafka Streams shows performance instabilities after failures, which is due to its current rebalancing strategy that can be suboptimal in terms of load balancing. Spark Structured Streaming shows suitable fault recovery performance and stability, but with higher event latency. Our study intends to (i) help industry practitioners in choosing the most suitable stream processing framework for efficient and reliable executions of data-intensive applications; (ii) support researchers in applying and extending our research method as well as our benchmark; (iii) identify, prevent, and assist in solving potential issues in production deployments.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑