Recent trends in Web development demonstrate an increased interest in serverless applications, i.e. applications that utilize computational resources provided by cloud services on demand instead of requiring traditional server management. This approach enables better resource management while being scalable, reliable, and cost-effective. However, it comes with a number of organizational and technical difficulties which stem from the interaction between the application and the cloud infrastructure, for example, having to set up a recurring task of reuploading updated files. In this paper, we present Kotless - a Kotlin Serverless Framework. Kotless is a cloud-agnostic toolkit that solves these problems by interweaving the deployed application into the cloud infrastructure and automatically generating the necessary deployment code. This relieves developers from having to spend their time integrating and managing their applications instead of developing them. Kotless has proven its capabilities and has been used to develop several serverless applications already in production. Its source code is available at https://github.com/JetBrains/kotless, a tool demo can be found at https://www.youtube.com/watch?v=IMSakPNl3TY
翻译:网络开发的近期趋势表明,人们对无服务器应用程序的兴趣日益浓厚,即利用云服务按需求提供的计算资源而不是要求传统服务器管理的应用,这种方法既能改善资源管理,同时又具有可扩展性、可靠性和成本效益,然而,由于应用程序与云层基础设施之间的相互作用,例如必须设置一个重复更新更新文件的任务,从而在组织上和技术上出现一些困难,例如,必须设置一个重复的重装更新文件的任务。在本文中,我们介绍了Kotless - 一个 Kotlin服务器无服务器框架。 Kotless是一个云-不可知的工具包,它通过将已部署的应用程序插入云层基础设施并自动生成必要的部署代码来解决这些问题。这免除了开发者不得不花时间整合和管理其应用程序而不是开发这些应用程序。 Kotless已经证明了它的能力,并被用来开发一些已经在生产的无服务器应用程序。其源代码可在 https://github.com/JetBrains/kotless查阅,可在 https://www.youtube.com/watch?v=MSSQPMSKTYTYTY)上找到工具演示。