arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2108.07842cs.SEcs.DC
收藏

代码中的基础架构:迈向对操作员友好的云应用程序

Infrastructure in Code: Towards Developer-Friendly Cloud Applications

Vladislav Tankov, Dmitriy Valchuk, Yaroslav Golubev, Timofey Bryksin

摘要:

云技术的普及导致了专门针对云环境的新型应用程序的开发。这些应用程序需要大量的云基础设施来运行,这带来了基础设施即代码方法,其中基础设施也使用与主应用程序并行的单独语言进行编码。在本文中,我们提出了一个新的概念代码中的基础设施,基础设施是从应用程序代码本身推导出来的,而不需要单独的规范。我们描述了这个概念,讨论了现有的解决方案,这些解决方案可以归类为代码中的基础设施及其局限性,然后介绍了我们自己的框架Kotless -一个可扩展的与云无关的Kotlin无服务器框架,支持两个云提供商,三个DSL和两个运行时。最后,我们通过展示Kotless在将现有应用程序迁移到无服务器环境中的效率来展示Kotless的有用性。

英文摘要:

The popularity of cloud technologies has led to the development of a new type of applications that specifically target cloud environments. Such applications require a lot of cloud infrastructure to run, which brought about the Infrastructure as Code approach, where the infrastructure is also coded using a separate language in parallel to the main application. In this paper, we propose a new concept of Infrastructure in Code, where the infrastructure is deduced from the application code itself, without the need for separate specifications. We describe this concept, discuss existing solutions that can be classified as Infrastructure in Code and their limitations, and then present our own framework called Kotless - an extendable cloud-agnostic serverless framework for Kotlin that supports two cloud providers, three DSLs, and two runtimes. Finally, we showcase the usefulness of Kotless by demonstrating its efficiency in migrating an existing application to a serverless environment.

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

↑