Skip to main content
QUICK REVIEW

[论文解读] Benchmarking Distributed Stream Processing Engines.

Jeyhun Karimov, Tilmann Rabl|arXiv (Cornell University)|Feb 23, 2018
Data Stream Mining TechniquesComputer Science被引用 24
一句话总结

本文提出了一套基准测试框架,用于评估三种主流流处理引擎——Apache Storm、Spark 和 Flink——在有状态窗口操作中的吞吐量和延迟性能。通过将被测系统与测试驱动程序完全解耦,并使用真实工作负载,研究发现每种引擎在不同用例中表现优异,不存在在所有场景下全面胜出的单一系统。

ABSTRACT

Over the last years, stream data processing has been gaining attention both in industry and in academia due to its wide range of applications. To fulfill the need for scalable and efficient stream analytics, numerous open source stream data processing systems (SDPSs) have been developed, with high throughput and low latency being their key performance targets. In this paper, we propose a framework to evaluate the performance of three SDPSs, namely Apache Storm, Apache Spark, and Apache Flink. Our evaluation focuses in particular on measuring the throughput and latency of windowed operations. For this benchmark, we design workloads based on real-life, industrial use-cases. The main contribution of this work is threefold. First, we give a definition of latency and throughput for stateful operators. Second, we completely separate the system under test and driver, so that the measurement results are closer to actual system performance under real conditions. Third, we build the first driver to test the actual sustainable performance of a system under test. Our detailed evaluation highlights that there is no single winner, but rather, each system excels in individual use-cases.

研究动机与目标

  • 解决分布式流处理引擎(SDPSs)缺乏标准化、真实场景性能评估的问题。
  • 为有状态流操作算子定义精确的吞吐量和延迟指标,这对准确的基准测试至关重要。
  • 通过将被测系统与驱动程序完全隔离,消除测量开销和偏差,确保结果反映真实世界性能。
  • 开发一种可持续的性能驱动程序,能够测量 SDPSs 在真实工作负载下的实际长期吞吐量和延迟。
  • 在多样化的、源自工业界的用例中,评估并比较 Apache Storm、Apache Spark 和 Apache Flink 的性能。

提出的方法

  • 基于真实工业用例设计工作负载,以确保性能评估的相关性和真实性。
  • 为有状态操作算子明确定义延迟和吞吐量指标,考虑窗口化操作中的有状态处理语义。
  • 实现完全解耦的驱动程序架构,隔离被测系统,最大限度减少干扰和测量噪声。
  • 构建高保真、可持续的性能驱动程序,能够在长时间内生成一致且可测量的工作负载。
  • 采用受控实验设置,被测系统与驱动程序运行在不同节点上,以模拟生产环境条件。
  • 在不同数据速率和系统配置下,测量多种窗口操作(包括滑动窗口和滚动窗口)的端到端吞吐量和延迟。

实验结果

研究问题

  • RQ1在有状态窗口化流处理操作中,Apache Storm、Apache Spark 和 Apache Flink 在吞吐量和延迟方面如何比较?
  • RQ2在处理真实世界、工业规模工作负载时,系统选择对性能的影响有多大?
  • RQ3解耦的驱动程序架构是否能提供比传统共置测试设置更准确、更真实的性能测量结果?
  • RQ4在长时间运行、高吞吐量工作负载下,哪个系统表现出最可持续的性能?
  • RQ5在哪些具体用例场景中,每种系统表现出更优的性能?

主要发现

  • 没有单一的流处理引擎在所有工作负载中全面优于其他引擎;每种引擎在不同操作场景中表现优异。
  • Apache Flink 在低延迟、高吞吐量的窗口化操作中表现卓越,尤其在小窗口尺寸的滑动窗口场景中。
  • Apache Spark 在批处理窗口操作中表现强劲,且在处理大规模数据量和复杂有状态转换时性能出色。
  • Apache Storm 在简单、无状态或轻量级有状态操作中实现高吞吐量,尤其在低至中等数据速率下表现优异。
  • 解耦的驱动程序设置显著降低了测量开销,相比共置测试,能提供更准确、更接近生产环境的性能结果。
  • 可持续性能在不同系统间差异显著:Flink 在长时间运行中保持稳定的吞吐量,而 Storm 和 Spark 在某些配置下于持续高负载下表现出性能下降。

阅读本论文

在 Nubint 阅读器中打开原文,边读边就任意段落提问。

在 Nubint 中阅读本论文

本解读由 AI 根据论文原文生成,引用前请核对原文。