Scenario-Based Microservice Retrieval Using Word2Vec

Shang Pin Ma, Yen Chuang, Ci Wei Lan, Hsi Min Chen, Chun-Ying Huang, Chia Yu Li

Research output: Chapter in Book/Report/Conference proceedingConference contributionpeer-review

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.

Original languageEnglish
Title of host publicationProceedings - 2018 IEEE 15th International Conference on e-Business Engineering, ICEBE 2018
PublisherInstitute of Electrical and Electronics Engineers Inc.
Pages239-244
Number of pages6
ISBN (Electronic)9781538679920
DOIs
StatePublished - 27 Dec 2018
Event15th International Conference on e-Business Engineering, ICEBE 2018 - Xi'an, China
Duration: 12 Oct 201814 Oct 2018

Publication series

NameProceedings - 2018 IEEE 15th International Conference on e-Business Engineering, ICEBE 2018

Conference

Conference15th International Conference on e-Business Engineering, ICEBE 2018
CountryChina
CityXi'an
Period12/10/1814/10/18

Keywords

  • Behavior-Driven Development
  • Microservice
  • Microservice Retrieval
  • Requirement Scenario
  • Word2vec

Fingerprint Dive into the research topics of 'Scenario-Based Microservice Retrieval Using Word2Vec'. Together they form a unique fingerprint.

Cite this