| With the continuous increase of national income and the continuous improvement of family material life,the education of children has attracted more and more attention and attention from parents.In our country,urban students spend an average of 10.6 hours per week on extracurricular training [1].It is expected that the education and training industry market will reach more than 500 billion yuan in 2020.By visiting and researching various offline training institutions and students,it is concluded that compared with online education,the offline education industry of interest physical training still has an irreplaceable position.A survey of small and medium-sized training institutions on the market found that they have problems such as poor internal automation management,small propaganda breadth,and unstable teacher team structure.There is no platform-level system integration training offline education system at home and abroad.In response to the above problems,this thesis uses microservice architecture,Docker containerized deployment,and Kubernetes platform management technologies to design and implement an offline education management platform system based on microservices.The system can be used by small and medium-sized institutions to settle in,integrate teacher resources,realize automated management of institutions,meet user data security,and have the advantages of strong scalability.The main tasks of the thesis are as follows:(1)Investigate and visit students,teachers and many training institutions,sort out their work processes,summarize the functions of each role in the form of use case diagrams,and complete demand analysis.(2)According to the business needs,the front-end and back-end development methods are separated based on the microservice architecture.The services are divided into aggregate services and atomic services.The aggregate services expose interfaces to the outside.Service reusability and flexible deployment and expansion.In addition,the back-end service interface is designed in accordance with the Restful style.(3)Comparing Spring Cloud,a mature microservice governance framework in the industry,and Istio,a popular service governance framework based on service grid theory,because Istio adopts the sidecar model to realize the separation of business layer and service communication and governance strategy base layer,there is no intrusion and no intrusion to business code.There are no restrictions on the development language and other excellent features,and Istio is finally used as the service governance framework of this system.In order to achieve rapid and flexible deployment,Docker containerization technology is used for deployment tasks,and the Kubernetes container cloud platform is used to manage containerized application services.(4)Complete the overall design of the system and divide the system into four layers: data layer,business service layer,interface layer,and presentation layer.And design and implement each layer,including business services,basic public services and general system functions.The general system functions include service discovery,API gateway,user authentication,and service fuse modules.(5)Analyze system function test cases based on equivalence class division and boundary value analysis,and formulate detailed function test cases based on the analysis results.In order to compare the performance problems of the system based on the Istio service governance framework,a version was developed for the offline education platform system using the industry’s mature Spring Cloud service governance framework.A Kubernetes cluster was built in Centos,and the system was deployed in the cluster as an experimental environment.The JMeter test tool is used to set different parameters to simulate the number of concurrent users to test the two systems.The experimental results show that the average response time of the offline education platform system based on Istio is better than that of the same system developed based on Spring Cloud in high concurrency. |