arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1705.08169cs.DCcs.SE
收藏

将Python应用程序转换为功能即服务部署

Transformation of Python Applications into Function-as-a-Service Deployments

Josef Spillner

摘要:

新的云编程和部署模型给软件应用程序工程师带来了挑战,他们正在寻找工具来自动化任何必要的代码调整和转换,但往往是徒劳的。考虑到大多数云应用程序都是用非函数式语言实现的,函数式服务接口是一个特别重要的目标。这些语言中使用最广泛的是Python。这个起始位置需要一种自动化的方法,通过部分自动化的分解将单片Python代码转换为模块化的FaaS单元。因此,本文介绍并评估了Lambada,这是一个Python模块,可以动态分解,转换和部署未修改的Python代码到AWS Lambda函数中。除了工具的形式测量的开源原型实现,本文还提供了一个算法和代码重写规则的描述,作为其他脚本语言转换的蓝图。

英文摘要:

New cloud programming and deployment models pose challenges to software application engineers who are looking, often in vain, for tools to automate any necessary code adaptation and transformation. Function-as-a-Service interfaces are particular non-trivial targets when considering that most cloud applications are implemented in non-functional languages. Among the most widely used of these languages is Python. This starting position calls for an automated approach to transform monolithic Python code into modular FaaS units by partially automated decomposition. Hence, this paper introduces and evaluates Lambada, a Python module to dynamically decompose, convert and deploy unmodified Python code into AWS Lambda functions. Beyond the tooling in the form of a measured open source prototype implementation, the paper contributes a description of the algorithms and code rewriting rules as blueprints for transformations of other scripting languages.

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

↑