arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2009.00304cs.SEcs.DCcs.PF
收藏

Theodolite:微服务架构中分布式流处理引擎的Scalability基准测试

Theodolite: Scalability Benchmarking of Distributed Stream Processing Engines in Microservice Architectures

Sören Henning, Wilhelm Hasselbring

摘要:

分布式流处理引擎的设计重点是可扩展性,以连续的方式处理大数据量。我们提出了经纬仪的方法基准的分布式流处理引擎的可扩展性。这种方法的核心是定义实现流处理的微服务必须满足的用例。对于每个用例,我们的方法识别可能影响用例可伸缩性的相关工作负载维度。我们建议为每个用例和相关的工作负载维度设计一个基准。我们提出了一个通用的基准测试框架,可以应用于执行给定用例和工作负载维度的各个基准测试。我们的框架为给定维度的不同工作负载和不同数量的处理实例执行用例的Cocklow架构的实现。通过这种方式,它可以确定资源需求如何随着工作负载的增加而变化。在本文的范围内,我们提出了4个确定的用例,来自处理工业物联网数据,以及7个相应的工作负载维度。我们提供了Kafka Streams和Apache Flink的4个基准测试的实现,以及在云环境中执行可扩展性基准测试的基准测试框架的实现。我们使用这两种方法来评估Theodolite方法,并对不同部署选项的Kafka Streams和Flink的可扩展性进行基准测试。

英文摘要:

Distributed stream processing engines are designed with a focus on scalability to process big data volumes in a continuous manner. We present the Theodolite method for benchmarking the scalability of distributed stream processing engines. Core of this method is the definition of use cases that microservices implementing stream processing have to fulfill. For each use case, our method identifies relevant workload dimensions that might affect the scalability of a use case. We propose to design one benchmark per use case and relevant workload dimension. We present a general benchmarking framework, which can be applied to execute the individual benchmarks for a given use case and workload dimension. Our framework executes an implementation of the use case's dataflow architecture for different workloads of the given dimension and various numbers of processing instances. This way, it identifies how resources demand evolves with increasing workloads. Within the scope of this paper, we present 4 identified use cases, derived from processing Industrial Internet of Things data, and 7 corresponding workload dimensions. We provide implementations of 4 benchmarks with Kafka Streams and Apache Flink as well as an implementation of our benchmarking framework to execute scalability benchmarks in cloud environments. We use both for evaluating the Theodolite method and for benchmarking Kafka Streams' and Flink's scalability for different deployment options.

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

↑