arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2005.04935cs.DC
收藏

流连接的性能建模和垂直自动缩放

Performance Modeling and Vertical Autoscaling of Stream Joins

Hannaneh Najdataei, Vincenzo Gulisano, Alessandro V. Papadopoulos, Ivan Walulya, Marina Papatriantafilou, Philippas Tsigas

摘要:

流分析广泛用于云和边缘基础设施。在这些上下文中,细粒度的应用性能可以基于流操作符的准确建模。这对于像自适应流连接这样的计算上昂贵的运算符特别有益,自适应流连接对速率变化的数据流非常敏感,否则将需要昂贵的频繁监视。我们提出了一个动态模型的处理吞吐量和延迟的自适应流连接,运行不同的并行度。该模型提出了渐进的复杂性,从一个集中的非确定性的确定性的并行流加入,描述如何通过各种配置参数的吞吐量和延迟动态的影响。该模型是催化剂的理解不同的系统部署的流连接的行为,因为我们展示了我们的基于模型的自动缩放方法来改变并行度的流连接在执行过程中。我们对广泛的参数进行了全面的评估,证实了该模型可以可靠地预测吞吐量和延迟指标,具有相当高的准确性,估计的中位误差范围约为0.1%至6.5%,即使是过载的系统。此外,我们表明,我们的模型可以有效地控制自适应流连接估计所需的资源,仅根据观察到的输入负载。特别是,我们可以使用它来实现有效的自动缩放,即使在输入负载的大变化频繁发生(在秒的领域)。

英文摘要:

Streaming analysis is widely used in cloud as well as edge infrastructures. In these contexts, fine-grained application performance can be based on accurate modeling of streaming operators. This is especially beneficial for computationally expensive operators like adaptive stream joins that, being very sensitive to rate-varying data streams, would otherwise require costly frequent monitoring. We propose a dynamic model for the processing throughput and latency of adaptive stream joins that run with different parallelism degrees. The model is presented with progressive complexity, from a centralized non-deterministic up to a deterministic parallel stream join, describing how throughput and latency dynamics are influenced by various configuration parameters. The model is catalytic for understanding the behavior of stream joins against different system deployments, as we show with our model-based autoscaling methodology to change the parallelism degree of stream joins during the execution. Our thorough evaluation, for a broad spectrum of parameter, confirms the model can reliably predict throughput and latency metrics with a fairly high accuracy, with the median error in estimation ranging from approximately 0.1% to 6.5%, even for an overloaded system. Furthermore, we show that our model allows to efficiently control adaptive stream joins by estimating the needed resources solely based on the observed input load. In particular, we show it can be employed to enable efficient autoscaling, even when big changes in the input load happen frequently (in the realm of seconds).

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

↑