Font Size: a A A

Research And Implementation Of Related Technology In Web AR Service Platform Based On Micro Service Architecture

Posted on:2020-06-05Degree:MasterType:Thesis
Country:ChinaCandidate:Y XuFull Text:PDF
GTID:2428330572473581Subject:Computer Science and Technology
Abstract/Summary:PDF Full Text Request
A good software architecture is the basis for the design and development of software systems,which can make the system have good reusability and scalability.With the development of computer technology,the traditional monolithic architecture has gradually failed to meet the needs of software development due to its poor flexibility and scalability.Therefore,microservices are proposed as a new architectural style.Compared with the single architecture,the microservice architecture has the advantages of easy development,independent deployment,and scalability.However,while the microservices architecture brings benefits,it also brings some challenges.Delay is an important issue in the microservices architecture.Since the communication between microservices is transmitted over the network,and the network delay is much larger than the memory delay,the communication delay between the microservices is greater than that of the application using the memory call.In a micro-service system,a request usually requires several micro-service instances to provide services,and will compete with other requests for service resources in each instance independently,which will bring uncertainty of request delay;the longer the requested service chain,the longer The more the micro-services are queued,the longer the overall delay of the request.This may cause the user to abandon the request,resulting in wasted system resources.Therefore,the unfairness of the request delay is also an important challenge.Based on the above-mentioned challenges of microservice architecture,this paper proposes a Dynamic priority hierarchical scheduling algorithm based on microservice architecture(DPHS algorithm),and designs and implements a Web AR service platform based on this algorithm.The research work of the thesis can be divided into two parts:Firstly,the DPHS algorithm based on microservice architecture is proposed.On the one hand,it can differentiate services,provide fixed server resources for delay-sensitive services,guarantee the delay of such service requests,and thus resolve the uncertainty of such service request delays;on the other hand,the DPHS algorithm can increase the priority of service requests dynamically,reducing the delay of chained service requests by reducing the queuing time of such requests and ensuring the relative fairness of request delays with different service chain lengths.Secondly,a We'b AR service platform based on microservice architecture is designed and implemented.The platform includes activity management microservice,lottery management microservices and user microservices.It also includes multiple basic services such as service registration discovery center,API gateway and Docker monitoring center,and the DPHS algorithm is applied in the Web AR service platform.The platform can provide users with high-speed and scalable Web AR services.The paper performs functional test on Web AR service platform and performs performance test on the DPHS algorithm.The experimental results show that the Web AR service platform can meet the expected requirements,and the experimental results verify the correctness of the DPHS algorithm proposed by the paper.
Keywords/Search Tags:microservices, delay, service scheduling, service platform
PDF Full Text Request
Related items