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

Truffle:边缘云连续体中数据密集型无服务器工作流的高效数据传递

Truffle: Efficient Data Passing for Data-Intensive Serverless Workflows in the Edge-Cloud Continuum

Cynthia Marcelino, Stefan Nastic

AI总结:

提出Truffle模型与架构,通过智能数据预取(SDP)和冷启动传递(CSP)机制分离计算与I/O,利用冷启动在边缘云连续体中实现高效的无服务器函数间数据传递,将I/O延迟影响降低77%,函数执行时间提升46%。

摘要:

无服务器计算为在边缘云连续体的异构和有限资源环境中运行数据密集型应用程序和工作流,提供了一种可扩展、可靠且具有成本效益的解决方案。然而,构建和运行数据密集型无服务器工作流也带来了新的挑战,这些挑战可能会显著降低应用程序性能。冷启动仍然是影响总函数执行时间的主要挑战之一。此外,由于无服务器函数不可直接寻址,无服务器工作流需要依赖外部(存储)服务将输入数据传递给下游函数。我们实验的经验证据表明,冷启动和函数数据传递在函数执行生命周期中占据了最多的时间。在本文中,我们介绍了 Truffle——一种新颖的模型和架构,它通过引入分离计算和 I/O 的机制,在边缘云连续体中实现高效的函数间数据传递,允许无服务器函数利用冷启动发挥其优势。Truffle 引入了智能数据预取(SDP)机制,该机制通过在函数启动期间触发从外部存储检索数据,抽象了无服务器函数输入数据的检索过程。Truffle 的冷启动传递(CSP)机制通过挂钩到函数的调度生命周期,在函数冷启动期间触发早期数据传递,优化了边缘云连续体中无服务器工作流内的函数间数据传递和数据交换。实验结果表明,通过利用数据预取和冷启动数据传递,Truffle 将 I/O 延迟对总函数执行时间的影响降低了高达 77%,与最先进的数据传递方法相比,将函数执行时间提高了高达 46%。

英文摘要:

Serverless computing promises a scalable, reliable, and cost-effective solution for running data-intensive applications and workflows in the heterogeneous and limited-resource environment of the Edge-Cloud Continuum. However, building and running data-intensive serverless workflows also brings new challenges that can significantly degrade the application performance. Cold start remains one of the main challenges that impact the total function execution time. Further, since the serverless functions are not directly addressable, Serverless workflows need to rely on external (storage) services to pass the input data to the downstream functions. Empirical evidence from our experiments shows that the cold start and the function data passing take up the most time in the function execution lifecycle. In this paper, we introduce Truffle - a novel model and architecture that enables efficient inter-function data passing in the Edge-Cloud Continuum by introducing mechanisms that separate computation and I/O, allowing serverless functions to leverage the cold starts to their advantage. Truffle introduces Smart Data Prefetch (SDP) mechanism that abstracts the retrieval of input data for the serverless functions by triggering the data retrieval from the external storage during the function's startup. Truffle's Cold Start Pass (CSP) mechanism optimizes inter-function data passing and data exchange within serverless workflows in the Edge-Cloud Continuum by hooking into the functions' scheduling lifecycle to trigger early data passing during the function's cold start. Experimental results show that by leveraging the data prefetching and cold-start data passing, Truffle reduces the IO latency impact on the total function execution time by up to 77%, improving the function execution time by up to 46% compared to the state-of-the-art data passing approaches.

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

↑