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

Monolith到微服务:通过异构图神经网络表示应用软件

Monolith to Microservices: Representing Application Software through Heterogeneous Graph Neural Network

IBM Research(IBM研究院);Amazon(亚马逊);Google(谷歌)

Alex Mathai, Sambaran Bandyopadhyay, Utkarsh Desai, Srikanth Tamilselvam

摘要:

单片软件将所有功能封装到单个可部署单元中。但随着对新功能需求的增长,管理它变得越来越困难。微服务架构被视为一种替代方案,因为它提倡通过一组松散耦合的小型服务构建应用程序,其中每个服务拥有单一的功能责任。但是,与功能模块分离相关的挑战减缓了将单片代码迁移到微服务的速度。在这项工作中,我们提出了一个基于表示学习的解决方案来解决这个问题。我们使用异构图来共同表示软件工件(如程序和资源)以及它们共享的不同关系(函数调用,继承等),并通过一种新的异构图神经网络进行基于约束的聚类。实验研究表明,我们的方法是有效的不同类型的整料。

英文摘要:

Monolithic software encapsulates all functional capabilities into a single deployable unit. But managing it becomes harder as the demand for new functionalities grow. Microservice architecture is seen as an alternate as it advocates building an application through a set of loosely coupled small services wherein each service owns a single functional responsibility. But the challenges associated with the separation of functional modules, slows down the migration of a monolithic code into microservices. In this work, we propose a representation learning based solution to tackle this problem. We use a heterogeneous graph to jointly represent software artifacts (like programs and resources) and the different relationships they share (function calls, inheritance, etc.), and perform a constraint-based clustering through a novel heterogeneous graph neural network. Experimental studies show that our approach is effective on monoliths of different types.

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

↑