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

分布式流处理的任务分配

Task Allocation for Distributed Stream Processing

Raphael Eidenbenz, Thomas Locher

摘要:

对实时、动态处理越来越多的大量数据的需求不断增长。为了确保流数据的及时和可靠的处理,已经开发了各种分布式流处理架构和平台,其处理(动态地)将处理任务分配给当前可用的物理资源以及在这些资源之间路由流数据的基本任务。然而,虽然有很多平台提供这种功能,但其背后的理论还没有得到很好的理解。特别是,不清楚如何最好地分配处理任务给给定的资源。在本文中,我们建立了一个理论基础,正式定义了分布式流处理的任务分配问题,我们证明是NP-难的。此外,我们提出了一个近似算法的类串并行可分解图,它捕获了广泛的常见的流处理应用程序。该算法实现了一个常数因子近似的假设下,资源的数量至少与计算任务的数量和计算成本的任务的通信成本占主导地位的比例。

英文摘要:

There is a growing demand for live, on-the-fly processing of increasingly large amounts of data. In order to ensure the timely and reliable processing of streaming data, a variety of distributed stream processing architectures and platforms have been developed, which handle the fundamental tasks of (dynamically) assigning processing tasks to the currently available physical resources and routing streaming data between these resources. However, while there are plenty of platforms offering such functionality, the theory behind it is not well understood. In particular, it is unclear how to best allocate the processing tasks to the given resources. In this paper, we establish a theoretical foundation by formally defining a task allocation problem for distributed stream processing, which we prove to be NP-hard. Furthermore, we propose an approximation algorithm for the class of series-parallel decomposable graphs, which captures a broad range of common stream processing applications. The algorithm achieves a constant-factor approximation under the assumptions that the number of resources scales at least logarithmically with the number of computational tasks and the computational cost of the tasks dominates the cost of communication.

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

↑