SFL: A Compiler for Generating Stateful AWS Lambda Serverless Applications

Lukas Brand, Markus U. Mock
{"title":"SFL: A Compiler for Generating Stateful AWS Lambda Serverless Applications","authors":"Lukas Brand, Markus U. Mock","doi":"10.1145/3493651.3493670","DOIUrl":null,"url":null,"abstract":"Over the past couple of years, serverless computing has become a popular way of structuring and deploying applications in the cloud. However, several practical and research challenges remain. In this paper, we provide the first step to address two open issues. We developed a simple extension language (SFL) and a compiler to enable software developers to write entire serverless applications as one piece. The compiler generates necessary orchestration code that automatically binds several functions together. In addition, the SFL tools allow programmers to write stateful serverless functions with the compiler generating supporting cloud infrastructure for the storage and access of the application state. We evaluate our system using simple benchmark programs, comparing the resulting performance to Azure durable functions, which directly supports statefulness. The execution times we see in our unoptimized code are only slightly worse than what we measure on the Azure platform. Overall execution times are considerably better due to better scheduling by AWS Lambda than the Azure durable functions.","PeriodicalId":270470,"journal":{"name":"Proceedings of the Seventh International Workshop on Serverless Computing (WoSC7) 2021","volume":"1 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2021-12-06","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"3","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Proceedings of the Seventh International Workshop on Serverless Computing (WoSC7) 2021","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1145/3493651.3493670","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 3

Abstract

Over the past couple of years, serverless computing has become a popular way of structuring and deploying applications in the cloud. However, several practical and research challenges remain. In this paper, we provide the first step to address two open issues. We developed a simple extension language (SFL) and a compiler to enable software developers to write entire serverless applications as one piece. The compiler generates necessary orchestration code that automatically binds several functions together. In addition, the SFL tools allow programmers to write stateful serverless functions with the compiler generating supporting cloud infrastructure for the storage and access of the application state. We evaluate our system using simple benchmark programs, comparing the resulting performance to Azure durable functions, which directly supports statefulness. The execution times we see in our unoptimized code are only slightly worse than what we measure on the Azure platform. Overall execution times are considerably better due to better scheduling by AWS Lambda than the Azure durable functions.
查看原文
分享 分享
微信好友 朋友圈 QQ好友 复制链接
本刊更多论文
生成有状态AWS Lambda无服务器应用程序的编译器
在过去的几年中,无服务器计算已经成为在云中构建和部署应用程序的一种流行方式。然而,一些实践和研究方面的挑战仍然存在。在本文中,我们提供了解决两个开放问题的第一步。我们开发了一种简单的扩展语言(SFL)和一个编译器,使软件开发人员能够将整个无服务器应用程序作为一个整体编写。编译器生成必要的编配代码,自动将几个函数绑定在一起。此外,SFL工具允许程序员使用编译器编写有状态的无服务器函数,该编译器生成用于存储和访问应用程序状态的支持云基础设施。我们使用简单的基准程序来评估我们的系统,将结果性能与Azure持久函数进行比较,后者直接支持有状态性。我们在未优化代码中看到的执行时间只比我们在Azure平台上测量的时间稍差。由于AWS Lambda的调度优于Azure持久函数,因此总体执行时间大大缩短。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 去求助
来源期刊
自引率
0.00%
发文量
0
期刊最新文献
SFL: A Compiler for Generating Stateful AWS Lambda Serverless Applications BIAS Autoscaler: Leveraging Burstable Instances for Cost-Effective Autoscaling on Cloud Systems SLA for Sequential Serverless Chains: A Machine Learning Approach Beyond @CloudFunction: Powerful Code Annotations to Capture Serverless Runtime Patterns Is Function-as-a-Service a Good Fit for Latency-Critical Services?
×
引用
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