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

结合Node-RED和Openwhisk进行基于模式的复杂FaaS工作流开发和执行

Combining Node-RED and Openwhisk for Pattern-based Development and Execution of Complex FaaS Workflows

George Kousiouris, Szymon Ambroziak, Domenico Costantino, Stylianos Tsarsitalidis, Evangelos Boutas, Alessandro Mamelli, Teta Stamati

摘要:

在过去的15年里,现代云计算的进步一直在推动应用程序的现代化,强调需要重新设计应用程序,以使用更多的分布式和临时资源。从最初的IaaS和PaaS方法,到微服务,再到现在的无服务器模型(特别是功能即服务方法),应用程序开发人员不断面临新的挑战。本文提出了一个设计和开发环境,旨在简化应用程序的演变和迁移到新的FaaS模型,基于广泛使用的Node-RED开源工具。该环境的目标是为复杂的FaaS应用程序提供更加用户友好和抽象的功能和工作流创建。为此,它绕过了当前FaaS平台的工作流描述和功能重用限制,提供了一个可扩展的,模式丰富的现成的,可重用的功能,可以以任意方式组合的调色板。该环境嵌入了无缝的DevOps流程,用于生成FaaS平台(Openwhisk)的可部署工件(即函数和映像)。注释机制也可供开发人员指定各种执行选项或针对部署和操作堆栈的管理指南。该评估基于对指示性场景的案例研究,包括基于Node-RED运行时创建、注册和执行功能和流程,在FaaS环境中嵌入现有遗留代码,并行化工作负载,在边缘收集数据以及创建功能编排以伴随应用程序。对于后者,详细论证了为什么这个过程不应该受到FaaS的“双重计费”原则的约束。

英文摘要:

Modern cloud computing advances have been pressing application modernization in the last 15 years, stressing the need for application redesign towards the use of more distributed and ephemeral resources. From the initial IaaS and PaaS approaches, to microservices and now to the serverless model (and especially the Function as a Service approach), new challenges arise constantly for application developers. This paper presents a design and development environment that aims to ease application evolution and migration to the new FaaS model, based on the widely used Node-RED open source tool. The goal of the environment is to enable a more user friendly and abstract function and workflow creation for complex FaaS applications. To this end, it bypasses workflow description and function reuse limitations of the current FaaS platforms, by providing an extendable, pattern-enriched palette of ready-made, reusable functionality that can be combined in arbitrary ways. The environment embeds seamless DevOps processes for generating the deployable artefacts (i.e. functions and images) of the FaaS platform (Openwhisk). Annotation mechanisms are also available for the developer to dictate diverse execution options or management guidelines towards the deployment and operation stacks. The evaluation is based on case studies of indicative scenarios, including creating, registering and executing functions and flows based on the Node-RED runtime, embedding of existing legacy code in a FaaS environment, parallelizing a workload, collecting data at the edge and creating function orchestrators to accompany the application. For the latter, a detailed argumentation is provided as to why this process should not be constrained by the "double billing" principle of FaaS.

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

↑