Font Size: a A A

Design And Implementation Of High Concurrency Web Server Based On Microservice Architecture In Cloud Platform

Posted on:2022-10-31Degree:MasterType:Thesis
Country:ChinaCandidate:T LiFull Text:PDF
GTID:2518306524993549Subject:Master of Engineering
Abstract/Summary:PDF Full Text Request
In recent years,with the continuous development and improvement of cloud computing technology,more and more enterprises pay attention to it.Private cloud,public cloud and other cloud platforms are also favored and applied by different industries.Cloud platform manages and schedules software and hardware resources reasonably through virtualization technology at the bottom.The upper level users generally get cloud related services through network connection.For the users of cloud platform,they do not need to care about the management,upgrade and maintenance of cloud computing resources.However,with the development of the mobile Internet era,Internet users have an explosive growth,at the same time,user demand also has more rapid and complex changes.The requirements of cloud platform web server are becoming more and more strict,which need to have the ability of fast delivery,easy expansion and high concurrency.At present,the cloud platform web server developed by the laboratory has been unable to adapt to such changes,exposing the problems of high code coupling,poor reliability,difficult to expand and high concurrency.In view of the existing problems,this thesis introduces the micro service architecture to design the cloud platform web server hierarchically,and uses the micro service framework Seneca and the application framework EggJS,both of which are based on NodeJS,to complete the specific implementation.This thesis analyzes the single architecture of the current cloud platform web server.After introducing the design idea of micro service architecture,the original overall architecture is divided into three layers,namely,micro service governance layer,micro service communication layer and micro service provision layer.This thesis focuses on the layered architecture,and describes the design and implementation of each layer in detail.This thesis uses Seneca framework,EggJS framework and related plugins to design and implement a series of the micro service governance components in the micro service governance layer,such as service registry,API gateway,fusing service and configuration center.In the micro service communication layer,the design and implementation of communication mechanism and call strategy between micro services are completed.In the micro service provision layer,the business functions of the cloud platform web server are split.According to a certain granularity and business boundary,the core function modules such as user management service,message management service,cloud application service and cloud storage service are divided,and the code reconstruction is completed.Then the database is split according to the split services.Each micro service has its own data layer,which can be developed and deployed separately to form a complete small web application.Finally,this thesis carries out the function test and non function test on the cloud platform web server.Through the analysis of the test results,it is found that the improved web server can effectively solve the problems existing in the monolithic architecture,and basically meet the expected design requirements.
Keywords/Search Tags:cloud platform, web server, micro service architecture, Seneca, EggJS
PDF Full Text Request
Related items