Font Size: a A A

Research On Organization Deployment And Discovery Mechanism Of Microservice Based On Service Domain

Posted on:2018-04-08Degree:MasterType:Thesis
Country:ChinaCandidate:D X ShengFull Text:PDF
GTID:2428330569475184Subject:Computer software and theory
Abstract/Summary:PDF Full Text Request
Microservice is a variant of service-oriented architecture style for building highly scalable distributed applications.The service organization and deploymnet model of traditional service registration center can not effectively adapt to the characteristics of microservice,and the efficiency and scalability of service discovery need to be improved.In order to realize the effective cooperation between microservice architecture and business,it is necessary to do research on the service organization deployment model and the corresponding service discovery mechanism.After comparing and analyzing existing service registry architectures and service organization deployment models,based on the organization of the domain name system,the service deployment model based on service domain and the corresponding two-state service discovery mechanism are designed.The service domain describes the business target and authorizes sub-service domain to describe sub-goal,so a hierarchical tree structure of service domain is formed.The service belongs to the tree structure of the leaf service domain,and achieve a specific function.Based on the organization and deployment model of service domain,a two-stage service discovery mechanism based on hierarchical tree structure is designed.The first stage makes full use of the cache of the initial query to realize the fast locating of specific service domain.The second stage uses the round-robin mechanism to realize the automatic discovery of service instance.As to the shortcomings of the load policy between the nodes and the time delay of the existing resource scheduling strategy,the load balancing algorithm between the nodes and the resource scheduling strategy,which does not involve the turn on-off operation of the node,are designed respectively.The model of service organization deployment,the two-stage service discovery mechanism,the load-balancing algorithm between nodes and the resource-scheduling scheme are validated.The experimental results show that the service organization deployment model is effective.The two-stage service discovery mechanism is efficient,the performance is good and the scalability is strong.The load balancing algorithm between nodes is effective and the resource scheduling time is greatly shortened.
Keywords/Search Tags:microservice, service domain, service organization, DNS, service discovery, round-robin
PDF Full Text Request
Related items