Xinghui Zhu, Yalong Lv, Jia Liu, Xuewen Dong, Lin Li, Jiandong Wang
{"title":"A Study of Service Registration and Discovery Techniques in Microservice Architecture","authors":"Xinghui Zhu, Yalong Lv, Jia Liu, Xuewen Dong, Lin Li, Jiandong Wang","doi":"10.1109/NaNA56854.2022.00053","DOIUrl":null,"url":null,"abstract":"The microservice architecture has become a key technology in the development of the Internet. It brings a revolutionary development to the software production relationship and effectively improves the scalability and stability of the system. However, as the system evolves and the microservice splitting granularity is wrefined, the scale of microservices explodes and problems such as extended service discovery time and high service maintenance costs arise. For these problems, this paper proposes a detection mesh scheme (DM) based on service mesh and service semantics, which is divided into two main parts: service registration and service discovery. In terms of the service registration, based on the idea of a service mesh, the microservice governance and microservice development are deeply decoupled. In terms of the service discovery, the local-remote algorithm is proposed by considering the path, semantics, and state of microservices. In addition, a hierarchical ontology model is builded to provide a solid foundation for service registration and service discovery. Through experimental verification, compared with the web service discovery based on the maximum weighted bipartite graphs scheme(WSDMWBG), the DM scheme improves 12.71% in first hit rate and 28.3% in total microservice call time, effectively reducing the service discovery latency.","PeriodicalId":113743,"journal":{"name":"2022 International Conference on Networking and Network Applications (NaNA)","volume":"266 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2022-12-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"2022 International Conference on Networking and Network Applications (NaNA)","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/NaNA56854.2022.00053","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0
Abstract
The microservice architecture has become a key technology in the development of the Internet. It brings a revolutionary development to the software production relationship and effectively improves the scalability and stability of the system. However, as the system evolves and the microservice splitting granularity is wrefined, the scale of microservices explodes and problems such as extended service discovery time and high service maintenance costs arise. For these problems, this paper proposes a detection mesh scheme (DM) based on service mesh and service semantics, which is divided into two main parts: service registration and service discovery. In terms of the service registration, based on the idea of a service mesh, the microservice governance and microservice development are deeply decoupled. In terms of the service discovery, the local-remote algorithm is proposed by considering the path, semantics, and state of microservices. In addition, a hierarchical ontology model is builded to provide a solid foundation for service registration and service discovery. Through experimental verification, compared with the web service discovery based on the maximum weighted bipartite graphs scheme(WSDMWBG), the DM scheme improves 12.71% in first hit rate and 28.3% in total microservice call time, effectively reducing the service discovery latency.