Fusionize++:利用动态任务内联与基础设施优化提升无服务器应用性能
Fusionize++: Improving Serverless Application Performance Using Dynamic Task Inlining and Infrastructure Optimization
AI总结:
本文提出Fusionize框架,通过自动融合细粒度无服务器代码为优化多函数组合并动态配置基础设施,在真实物联网应用中降低超35%的请求延迟与成本。
摘要:
函数即服务(FaaS)执行模型通过消除管理硬件或软件运行时等运维问题来提高开发者生产力。然而,开发者仍需将应用划分为 FaaS 函数,这一过程容易出错且复杂:仅将应用的最小逻辑单元封装为 FaaS 函数可以最大化灵活性和可复用性,但同时也会带来调用开销、额外的冷启动,并可能因同步调用期间的双重计费而增加成本。相反,将整个应用部署为单个 FaaS 函数可以避免这些开销,但会降低灵活性。本文提出了 Fusionize,一个通过自动将应用代码融合为优化的多函数组合来自动优化这一权衡的框架。开发者只需按照无服务器模型编写细粒度应用代码,而 Fusionize 会自动将应用的不同部分融合为 FaaS 函数,管理它们之间的交互,并配置底层基础设施。在运行时,它监控应用性能并对其进行调整,以最小化请求-响应延迟和成本。真实世界用例表明,Fusionize 可以改进应用的部署产物,将示例物联网应用的中位请求-响应延迟和成本均降低超过 35%。
英文摘要:
The Function-as-a-Service (FaaS) execution model increases developer productivity by removing operational concerns such as managing hardware or software runtimes. Developers, however, still need to partition their applications into FaaS functions, which is error-prone and complex: Encapsulating only the smallest logical unit of an application as a FaaS function maximizes flexibility and reusability. Yet, it also leads to invocation overheads, additional cold starts, and may increase cost due to double billing during synchronous invocations. Conversely, deploying an entire application as a single FaaS function avoids these overheads but decreases flexibility. In this paper we present Fusionize, a framework that automates optimizing for this trade-off by automatically fusing application code into an optimized multi-function composition. Developers only need to write fine-grained application code following the serverless model, while Fusionize automatically fuses different parts of the application into FaaS functions, manages their interactions, and configures the underlying infrastructure. At runtime, it monitors application performance and adapts it to minimize request-response latency and costs. Real-world use cases show that Fusionize can improve the deployment artifacts of the application, reducing both median request-response latency and cost of an example IoT application by more than 35%.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。