arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2309.17183cs.DC
收藏

宏大视角:分布式 CEP 应用中的负载丢弃

Grand Perspective: Load Shedding in Distributed CEP Applications

Henriette Röger, Sukanya Bhowmik, Kurt Rothermel

AI总结:

针对分布式多算子 CEP 的过载瓶颈,论文利用 CEP 定制选择率函数与线性规划动态配置负载丢弃,在合成与真实数据上实现及时处理和输出质量最优。

摘要:

在高负载但资源有限的分布式复杂事件处理(Complex Event Processing,CEP)应用中,算子图内的瓶颈算子会显著拖慢事件流的处理,因此迫切需要进行负载丢弃。一种能够以较高输出质量化解瓶颈的高质量负载丢弃策略,会依据应用最终输出来评估每个事件的重要性,并从事件流中丢弃较不重要的事件,从而为重要事件保留资源。迄今为止,尚没有方案能够在分布式、多算子的 CEP 应用中实现良好的负载丢弃。一方面,已有面向单算子 CEP 应用的丢弃策略,只能在瓶颈算子处即时衡量事件的重要性,因而忽略了应用中其他数据流对事件重要性的影响。另一方面,流处理领域已经提出面向多算子应用的丢弃策略,但这些策略依赖固定选择率,而条件 CEP 算子并不具备固定选择率。为此,我们提出一种面向分布式 CEP 应用的负载丢弃方案:该方案使用一组为 CEP 定制的选择率函数以及一个线性规划(即 CEP 应用的抽象),最大化应用的最终输出,并确保重要事件得到及时处理。此外,即使在条件动态变化的情况下,我们的方案也能确保得到质量最优的丢弃器配置。通过在合成数据和真实数据上进行大量评估,我们表明,所提方案能够成功化解瓶颈算子处的过载,同时最大化应用输出的质量。

英文摘要:

In distributed Complex Event Processing (CEP) applications with high load but limited resources, bottleneck operators in the operator graph can significantly slow down processing of event streams, thus compelling the need to shed load. A high-quality load shedding strategy that resolves the bottleneck with high output quality evaluates each event's importance with regards to the application's final output and drops less important events from the event stream for the benefit of important ones. So far, no solution has been proposed that is able to permit good load shedding in distributed, multi-operator CEP applications. On one hand, shedding strategies have been proposed for single-operator CEP applications that can measure an event's importance immediately at the bottleneck operator, only, and thereby ignore the effect of other streams in the application on an event's importance. On the other hand, shedding strategies have been proposed for applications with multiple operators from the area of stream processing that provide a fixed selectivity which is not given in the conditional CEP operators. We, therefore, propose a load-shedding solution for distributed CEP applications that maximizes the application's final output and ensures timely processing of important events by using a set of CEP-tailored selectivity functions and a linear program, which is an abstraction of the CEP application. Moreover, our solution ensures a quality optimal shedder configuration even in the presence of dynamically changing conditions. With the help of extensive evaluations on both synthetic and real data, we show that our solution successfully resolves overload at bottleneck operators and at the same time maximizes the quality of the application's output.

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

↑