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

不多不少--无服务器计算的正式模型

No more, no less - A formal model for serverless computing

Maurizio Gabbrielli, Saverio Giallorenzo, Ivan Lanese, Fabrizio Montesi, Marco Peressotti, Stefano Pio Zingaro

摘要:

无服务器计算,也称为功能即服务,是一种旨在简化云应用程序编程的最新范式。这个想法是开发人员根据功能设计应用程序,然后将其部署在云基础设施上。基础设施负责在远程客户端请求时执行功能,自动处理入站流量的分布和扩展。虽然供应商已经支持各种无服务器计算的程序设计语言(例如Go,Java,JavaScript,Python),但据我们所知,还没有参考模型来正式推理这种范式。在本文中,我们提出了第一个正式的无服务器计算编程模型,它结合了$λ$ -演算(函数)和$π$ -演算(通信)的想法。为了说明我们的建议,我们模拟了一个真实世界的无服务器系统。由于我们的模型,我们还能够捕捉和查明当前供应商技术的局限性,提出可能的修改。

英文摘要:

Serverless computing, also known as Functions-as-a-Service, is a recent paradigm aimed at simplifying the programming of cloud applications. The idea is that developers design applications in terms of functions, which are then deployed on a cloud infrastructure. The infrastructure takes care of executing the functions whenever requested by remote clients, dealing automatically with distribution and scaling with respect to inbound traffic. While vendors already support a variety of programming languages for serverless computing (e.g. Go, Java, Javascript, Python), as far as we know there is no reference model yet to formally reason on this paradigm. In this paper, we propose the first formal programming model for serverless computing, which combines ideas from both the $λ$-calculus (for functions) and the $π$-calculus (for communication). To illustrate our proposal, we model a real-world serverless system. Thanks to our model, we are also able to capture and pinpoint the limitations of current vendor technologies, proposing possible amendments.

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

↑