Scenario-Based Microservice Retrieval Using Word2Vec

Shang-Pin Ma, Yen Chuang, Ci-Wei Lan, Hsi-Min Chen, Chun-Ying Huang, Chia-Yu Li
{"title":"Scenario-Based Microservice Retrieval Using Word2Vec","authors":"Shang-Pin Ma, Yen Chuang, Ci-Wei Lan, Hsi-Min Chen, Chun-Ying Huang, Chia-Yu Li","doi":"10.1109/ICEBE.2018.00046","DOIUrl":null,"url":null,"abstract":"Microservice architecture (MSA) is an emerging software architectural style, which differs fundamentally from the monolithic, layered architecture. During the development and maintenance of microservice systems, how to provide an effective service retrieval mechanism is a critical challenge to avoid the problems of rework and duplicate code. Meanwhile, nowadays, using the BDD (Behavior-Driven Development) method to develop microservices becomes more and more popular due to its agility and domain-driven characteristics. BDD is an agile software development approach emphasizing that test cases are written in a common language to include scenarios that describe the features of a target system. In this paper, we propose an approach, referred to as SMSR (Scenario-based MicroService Retrieval), to recommend appropriate microservices to users based on the user-written BDD test scenarios. The proposed service retrieval algorithm is based on word2vec, a widely-used machine learning method in NLP (Natural Language Processing), to perform service filtering and service similarity calculation. Experiment results show that SMSR is able to effectively retrieve appropriate microservices from the service repository.","PeriodicalId":221376,"journal":{"name":"2018 IEEE 15th International Conference on e-Business Engineering (ICEBE)","volume":"141 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2018-10-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"5","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"2018 IEEE 15th International Conference on e-Business Engineering (ICEBE)","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/ICEBE.2018.00046","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 5

Abstract

Microservice architecture (MSA) is an emerging software architectural style, which differs fundamentally from the monolithic, layered architecture. During the development and maintenance of microservice systems, how to provide an effective service retrieval mechanism is a critical challenge to avoid the problems of rework and duplicate code. Meanwhile, nowadays, using the BDD (Behavior-Driven Development) method to develop microservices becomes more and more popular due to its agility and domain-driven characteristics. BDD is an agile software development approach emphasizing that test cases are written in a common language to include scenarios that describe the features of a target system. In this paper, we propose an approach, referred to as SMSR (Scenario-based MicroService Retrieval), to recommend appropriate microservices to users based on the user-written BDD test scenarios. The proposed service retrieval algorithm is based on word2vec, a widely-used machine learning method in NLP (Natural Language Processing), to perform service filtering and service similarity calculation. Experiment results show that SMSR is able to effectively retrieve appropriate microservices from the service repository.
基于场景的Word2Vec微服务检索
微服务体系结构(MSA)是一种新兴的软件体系结构风格,它从根本上不同于单片的分层体系结构。在微服务系统的开发和维护过程中,如何提供有效的服务检索机制是避免返工和重复代码问题的关键挑战。同时,由于BDD(行为驱动开发)方法具有敏捷性和领域驱动的特点,因此在微服务开发中越来越受欢迎。BDD是一种敏捷的软件开发方法,强调用通用语言编写测试用例,以包含描述目标系统特性的场景。在本文中,我们提出了一种称为SMSR(基于场景的微服务检索)的方法,根据用户编写的BDD测试场景向用户推荐适当的微服务。提出的服务检索算法基于自然语言处理中广泛使用的机器学习方法word2vec进行服务过滤和服务相似度计算。实验结果表明,SMSR能够有效地从服务存储库中检索到合适的微服务。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
自引率
0.00%
发文量
0
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:604180095
Book学术官方微信