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

无服务器查询处理中的资源分配

Resource Allocation in Serverless Query Processing

Simon Kassing, Ingo Müller, Gustavo Alonso

摘要:

数据湖包含越来越多的不常访问的冷数据,但需要交互式响应时间。无服务器功能被视为解决此用例的一种方式,因为它们提供了一种有吸引力的替代方案来维护(和支付)固定的基础设施。最近的研究分析了无服务器数据处理的潜力。在本文中,我们扩展了这样的工作,通过研究无服务器资源分配的数据处理任务(功能的数量和大小)的问题。我们制定了一个通用模型来粗略估计完成时间和财务成本,我们将其应用于增强现有的无服务器数据处理系统,该系统具有一个咨询工具,可以自动识别达到良好平衡的配置-我们将其定义为接近帕累托边界的“膝盖”。该模型考虑了无服务器的关键方面:启动,计算,网络传输和开销,作为输入大小和中间结果交换的函数。使用(微)基准和TPC-H的部分,我们表明,这个顾问是能够精确定位用户所需的配置。此外,我们还确定并讨论了影响无服务器数据处理效率的几个方面。通过使用自动化工具来配置资源,降低了使用无服务器进行数据处理的障碍,并且可以通过使用更优化的分配来扩展具有成本效益的狭窄窗口,而不必过度配置设计。

英文摘要:

Data lakes hold a growing amount of cold data that is infrequently accessed, yet require interactive response times. Serverless functions are seen as a way to address this use case since they offer an appealing alternative to maintaining (and paying for) a fixed infrastructure. Recent research has analyzed the potential of serverless for data processing. In this paper, we expand on such work by looking into the question of serverless resource allocation to data processing tasks (number and size of the functions). We formulate a general model to roughly estimate completion time and financial cost, which we apply to augment an existing serverless data processing system with an advisory tool that automatically identifies configurations striking a good balance -- which we define as being close to the "knee" of their Pareto frontier. The model takes into account key aspects of serverless: start-up, computation, network transfers, and overhead as a function of the input sizes and intermediate result exchanges. Using (micro)benchmarks and parts of TPC-H, we show that this advisor is capable of pinpointing configurations desirable to the user. Moreover, we identify and discuss several aspects of data processing on serverless affecting efficiency. By using an automated tool to configure the resources, the barrier to using serverless for data processing is lowered and the narrow window where it is cost effective can be expanded by using a more optimal allocation instead of having to over-provision the design.

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

↑