Font Size: a A A

Design And Implementation Of Learning System Based On Microservices Architecture

Posted on:2021-03-18Degree:MasterType:Thesis
Country:ChinaCandidate:Q C XiongFull Text:PDF
GTID:2428330605461302Subject:Software engineering
Abstract/Summary:PDF Full Text Request
With the rapid development of Internet technology,the concept of "Internet+" has been respected by all walks of life after it was proposed.Nowadays,the Internet is a huge driving force for social and economic development,bringing substantial changes to people's lives.With the rapid increase in the number of Internet users and the continuous changes in business requirements,the traditional monolithic architecture cannot adapt to such rapidly changing needs,which has great limitations and the traditional monolithic structure code leads to serious code coupling.There is a close relationship and no good scalability.Therefore,this paper designs an online learning system based on the microservice architecture in view of the shortcomings of the monolithic architecture.The client group targeted by this platform is Internet workers,providing them with a learning platform for learning Internet technologies.The main functions provided are online communication function,background management function,home page display function,etc.,the main work system of the thesis needs analysis,system design,server development,system testing,etc.First,the thesis makes a detailed analysis of the basic needs of the online education system;the demand analysis of the thesis mainly includes two parts:one is the basic demand function,and the other is the business demand function.The basic demand function represents the function module that will be used in each service.Among them are the return interface field definition,file upload,and business analysis.The business demand function represents the specific function of each service in the system.Then,the paper designs the overall architecture,and details the design and implementation of each module in the business requirements function.On the basis of the overall structure,business needs can be divided into five services,user login service,homepage display service,lecturer management service,course management service and forum service.The design and implementation of each service are specifically divided into the flow chart of service functions,the design of data tables of services,the definition of interfaces in services,and the design of classes in services,and the detailed definition of each function is specific to the various modules used.class.In terms of system implementation,this paper uses Spring Cloud to build a microservice environment,uses Eureka as a service registration center,Spring Cloud Config configures server control configuration,Feign makes calls between services,Zuul serves as a service gateway and other components,and uses Redis as a component Non-relational database,as a cache layer.Kafka serves as a message middleware,publishes system messages,and uses a hot ranking algorithm in the forum service to recommend the most popular articles to users in real time,improving the efficiency of obtaining information.Finally,the thesis tests the basic functions and demand fuctions of the design system.The test results effectively verify the feasibility of microservices and realize that the system can meet the basic needs of online learning.
Keywords/Search Tags:microservices, Spring Cloud, online learning, popularity ranking
PDF Full Text Request
Related items