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

Demeter:通过多配置优化实现动态负载下的资源高效分布式流处理

Demeter: Resource-Efficient Distributed Stream Processing under Dynamic Loads with Multi-Configuration Optimization

Morgan Geldenhuys, Dominik Scheinert, Odej Kao, Lauritz Thamsen

AI总结:

针对动态负载下DSP系统配置优化难题,提出Demeter,结合时间序列预测与多目标贝叶斯优化,主动并行剖析并调节多参数;Apache Flink实验证明其显著提升长期基准作业的资源运营效率。

摘要:

分布式流处理(DSP)专注于对大型无界数据流进行近实时处理。为提升处理能力,DSP系统能够在商用节点集群间动态扩展,从而在工作负载变化时仍保证良好的服务质量。然而,选择能够最大化资源利用率的横向扩展配置仍是一项挑战。在工作负载随时间变化且节点故障几乎不可避免的环境中尤其如此。此外,内存分配和检查点间隔等配置参数也会影响性能和资源使用。次优配置很容易导致高昂的运营成本、糟糕的性能或不可接受的服务中断。本文提出Demeter,这是一种动态优化关键DSP系统配置参数以提升资源效率的方法。Demeter使用时间序列预测来预测未来工作负载,并使用多目标贝叶斯优化来建模与参数设置和工作负载速率相关的运行时行为。这些技术共同使我们能够判断对预测工作负载速率的了解是否充分,从而主动发起短期并行性能分析运行以收集数据。模型训练完成后,将指导调整多个可能相互依赖的系统配置参数,确保在响应不断变化的工作负载速率时优化性能和资源使用。我们在使用Apache Flink的商用集群上进行的实验表明,Demeter显著提高了长时间运行基准作业的运营效率。

英文摘要:

Distributed Stream Processing (DSP) focuses on the near real-time processing of large streams of unbounded data. To increase processing capacities, DSP systems are able to dynamically scale across a cluster of commodity nodes, ensuring a good Quality of Service despite variable workloads. However, selecting scaleout configurations which maximize resource utilization remains a challenge. This is especially true in environments where workloads change over time and node failures are all but inevitable. Furthermore, configuration parameters such as memory allocation and checkpointing intervals impact performance and resource usage as well. Sub-optimal configurations easily lead to high operational costs, poor performance, or unacceptable loss of service. In this paper, we present Demeter, a method for dynamically optimizing key DSP system configuration parameters for resource efficiency. Demeter uses Time Series Forecasting to predict future workloads and Multi-Objective Bayesian Optimization to model runtime behaviors in relation to parameter settings and workload rates. Together, these techniques allow us to determine whether or not enough is known about the predicted workload rate to proactively initiate short-lived parallel profiling runs for data gathering. Once trained, the models guide the adjustment of multiple, potentially dependent system configuration parameters ensuring optimized performance and resource usage in response to changing workload rates. Our experiments on a commodity cluster using Apache Flink demonstrate that Demeter significantly improves the operational efficiency of long-running benchmark jobs.

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

↑