Font Size: a A A

Reconstruction And Optimization Of OJ System Based On Micro-service

Posted on:2018-09-29Degree:MasterType:Thesis
Country:ChinaCandidate:B B ZhengFull Text:PDF
GTID:2348330533955376Subject:Software engineering
Abstract/Summary:PDF Full Text Request
With the increasing scale,complexity and scalability requirements of software system in the field of web development,the limitations of the old monolithic architecture model,such as the inability to achieve high-performance and high scalability,began to emerge.At the same time,the corresponding micro-service architecture started to work.When facing with the increasing complexity and expansibility of system,it's definitely a better choice for us to use micro-service architecture.Based on the school online programming system,this paper first discussed the shortcomings of the existing system and compared the original monolithic architecture with the current micro-service architecture.And then,micro-service architecture is adopted for system reconstruction.In addition,this paper proposed some improvements:Redis is used as centralized cache for some hot data,which is also separated out as independent cache services for other micro-service calls,and it also avoid unnecessary database query.In this way,it not only reduce the database pressure,but also improve the speed of data query;When it comes to deployment of website,we used nginx to realize front-end load balancing,and improve the concurrency of website;Furthermore,we also studied and provided a perfect micro-service system monitoring program to make up for the deficiency of previous system in the aspect of system monitoring;Finally,we realize the distribute deployment of micro-service using Docker.From the optimization scheme mentioned above,it can be seen in the final performance testing results that the reconstructed system has better performance.From the back-end micro-service distributed deployment point of view,the scalability of system improved significantly.At the same time,the monitoring of each micro-service can be achieved.
Keywords/Search Tags:micro-service, Spring Cloud, service monitoring, Docker
PDF Full Text Request
Related items