GoDeploy: Portable Deployment of Serverless Functions in Federated FaaS

S. Ristov, Simon Brandacher, M. Felderer, R. Breu
{"title":"GoDeploy: Portable Deployment of Serverless Functions in Federated FaaS","authors":"S. Ristov, Simon Brandacher, M. Felderer, R. Breu","doi":"10.1109/CloudSummit54781.2022.00012","DOIUrl":null,"url":null,"abstract":"Federated Function-as-a-Service (FaaS) offers higher scalability, better resilience and cost-performance trade-off than running serverless applications in a single cloud region. However, existing Infrastructure-as-Code (IaC) tools are mainly focused on the FaaS provider, rather than on applications, which increases developer effort to code multiple times the same data in order to deploy a serverless function on various cloud regions in federated FaaS. To bridge this gap, this paper introduces GoDeploy, a framework that simplifies coding the deployment of serverless functions in Federated FaaS. Using the design principle “code once, deploy everywhere”, GoDeploy offers developers a domain-specific language, which introduces a three-levels hierarchy serverless function → FaaS providers →cloud regions of FaaS provider, rather than existing either the two-levels hierarchy FaaS provider → serverless functions or flat horizontal structure. Moreover, GoDeploy hides the complexity and requirements of each FaaS provider to store deployment packages (zip) of serverless functions on their storages. With this approach, GoDeploy reduces deployment script length measured in lines of code (LoC) compared to the recent FaaSifier M2FaaS by up to 33.33% for deployment on three cloud regions of AWS. When deploying a single function on three cloud regions of each of three FaaS providers AWS, IBM, Google, LoC are reduced by up to 72.34% compared to the state-of-the-art IaC tool Terraform. The improvement is higher when a serverless function needs to be deployed on multiple cloud regions because GoDeploy's three-level hierarchy requires a single LoC per cloud region, compared to multiple LoC in Terraform's and M2FaaS DSLs.","PeriodicalId":106553,"journal":{"name":"2022 IEEE Cloud Summit","volume":null,"pages":null},"PeriodicalIF":0.0000,"publicationDate":"2022-10-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"3","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"2022 IEEE Cloud Summit","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/CloudSummit54781.2022.00012","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 3

Abstract

Federated Function-as-a-Service (FaaS) offers higher scalability, better resilience and cost-performance trade-off than running serverless applications in a single cloud region. However, existing Infrastructure-as-Code (IaC) tools are mainly focused on the FaaS provider, rather than on applications, which increases developer effort to code multiple times the same data in order to deploy a serverless function on various cloud regions in federated FaaS. To bridge this gap, this paper introduces GoDeploy, a framework that simplifies coding the deployment of serverless functions in Federated FaaS. Using the design principle “code once, deploy everywhere”, GoDeploy offers developers a domain-specific language, which introduces a three-levels hierarchy serverless function → FaaS providers →cloud regions of FaaS provider, rather than existing either the two-levels hierarchy FaaS provider → serverless functions or flat horizontal structure. Moreover, GoDeploy hides the complexity and requirements of each FaaS provider to store deployment packages (zip) of serverless functions on their storages. With this approach, GoDeploy reduces deployment script length measured in lines of code (LoC) compared to the recent FaaSifier M2FaaS by up to 33.33% for deployment on three cloud regions of AWS. When deploying a single function on three cloud regions of each of three FaaS providers AWS, IBM, Google, LoC are reduced by up to 72.34% compared to the state-of-the-art IaC tool Terraform. The improvement is higher when a serverless function needs to be deployed on multiple cloud regions because GoDeploy's three-level hierarchy requires a single LoC per cloud region, compared to multiple LoC in Terraform's and M2FaaS DSLs.
查看原文
分享 分享
微信好友 朋友圈 QQ好友 复制链接
本刊更多论文
GoDeploy:联邦FaaS中无服务器功能的可移植部署
与在单个云区域中运行无服务器应用程序相比,联邦功能即服务(FaaS)提供了更高的可伸缩性、更好的弹性和成本-性能折衷。然而,现有的基础设施即代码(IaC)工具主要关注FaaS提供者,而不是应用程序,这增加了开发人员编写多次相同数据的工作量,以便在联邦FaaS中的不同云区域上部署无服务器功能。为了弥补这一差距,本文介绍了GoDeploy,这是一个框架,可以简化联邦FaaS中无服务器功能的部署编码。GoDeploy采用“一次编码,随处部署”的设计原则,为开发人员提供了一种特定于领域的语言,它引入了三层层次结构的无服务器功能→FaaS提供商→FaaS提供商的云区域,而不是现有的两层层次结构的FaaS提供商→无服务器功能或扁平水平结构。此外,GoDeploy隐藏了每个FaaS提供商在其存储上存储无服务器功能的部署包(zip)的复杂性和需求。使用这种方法,与最近的FaaSifier M2FaaS相比,在AWS的三个云区域上部署时,GoDeploy减少了以代码行(LoC)衡量的部署脚本长度,最多减少了33.33%。当在三个FaaS提供商(AWS、IBM、Google、LoC)各自的三个云区域上部署单个功能时,与最先进的IaC工具Terraform相比,可减少高达72.34%的成本。当一个无服务器功能需要部署在多个云区域时,改进会更大,因为GoDeploy的三层层次结构需要每个云区域一个LoC,而在Terraform和M2FaaS dsl中需要多个LoC。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 去求助
来源期刊
自引率
0.00%
发文量
0
期刊最新文献
Particle Swarm Optimization with Enhanced Neighborhood Search for Task Scheduling in Cloud Computing Context-Aware Feature Selection using Denoising Auto-Encoder for Fault Detection in Cloud Environments IDS-Chain: A Collaborative Intrusion Detection Framework Empowered Blockchain for Internet of Medical Things PriRecT: Privacy-preserving Job Recommendation Tool for GPU Sharing Quantitative Evaluation of Cloud Elasticity based on Fuzzy Analytic Hierarchy Process
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
现在去查看 取消
×
提示
确定
0
微信
客服QQ
Book学术公众号 扫码关注我们
反馈
×
意见反馈
请填写您的意见或建议
请填写您的手机或邮箱
已复制链接
已复制链接
快去分享给好友吧!
我知道了
×
扫码分享
扫码分享
Book学术官方微信
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术
文献互助 智能选刊 最新文献 互助须知 联系我们:info@booksci.cn
Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。
Copyright © 2023 Book学术 All rights reserved.
ghs 京公网安备 11010802042870号 京ICP备2023020795号-1