CPL:一种云计算的核心语言--技术报告
CPL: A Core Language for Cloud Computing -- Technical Report
摘要:
在云中运行分布式应用程序涉及部署。也就是说,应用程序服务和中间件基础设施的分发和配置。这些任务的相当复杂性导致了基于声明性JSON的特定于域的部署语言的出现,以开发部署程序。然而,现有的部署程序不安全地组合用不同语言编写的构件,导致在运行时间之前难以检测的错误。此外,部署语言没有为现有云服务的自定义实现提供扩展点,例如特定于应用程序的负载均衡策略。为了解决这些缺点,我们提出了CPL(云平台语言),这是一种静态类型的核心语言,用于编程分布式应用程序以及在云平台上部署应用程序。在CPL中,应用程序服务和部署程序通过静态类型的可扩展接口进行交互,应用程序可以在运行时间触发进一步的部署。我们提供了一个正式的语义CPL和证明,它使类型安全,组合和可扩展的服务组合子库,如负载均衡和容错。
英文摘要:
Running distributed applications in the cloud involves deployment. That is, distribution and configuration of application services and middleware infrastructure. The considerable complexity of these tasks resulted in the emergence of declarative JSON-based domain-specific deployment languages to develop deployment programs. However, existing deployment programs unsafely compose artifacts written in different languages, leading to bugs that are hard to detect before run time. Furthermore, deployment languages do not provide extension points for custom implementations of existing cloud services such as application-specific load balancing policies. To address these shortcomings, we propose CPL (Cloud Platform Language), a statically-typed core language for programming both distributed applications as well as their deployment on a cloud platform. In CPL, application services and deployment programs interact through statically typed, extensible interfaces, and an application can trigger further deployment at run time. We provide a formal semantics of CPL and demonstrate that it enables type-safe, composable and extensible libraries of service combinators, such as load balancing and fault tolerance.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。