计算机科学 > 程序设计语言
[提交于 2024年6月13日]
标题:Towards a Function-as-a-Service Choreographic Programming Language: Examples and Applications
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读摘要:Choreographic Programming (CP) is a language paradigm whereby software artefacts, called choreographies, specify the behaviour of communicating participants. CP is famous for its correctness-by-construction approach to the development of concurrent, distributed systems. In this paper, we illustrate FaaSChal, a proposal for a CP language tailored for the case of serverless Function-as-a-Service (FaaS). In FaaS, developers define a distributed architecture as a collection of stateless functions, leaving to the serverless platform the management of deployment and scaling. We provide a first account of a CP language tailored for the FaaS case via examples that present some of its relevant features, including projection. In addition, we showcase a novel application of CP. We use the choreography as a source to extract information on the infrastructural relations among functions so that we can synthesise policies that strive to minimise their latency while guaranteeing the respect of user-defined constraints.
提交历史
来自:Saverio Giallorenzo[v1] 2024年6月13日 星期四 13:28:58 UTC