Font Size: a A A

Design And Implementation Of Online Education System Based On Microservice Architecture

Posted on:2021-03-11Degree:MasterType:Thesis
Country:ChinaCandidate:J P WangFull Text:PDF
GTID:2507306107962529Subject:Software engineering
Abstract/Summary:PDF Full Text Request
In recent years,with the development of Internet technology,the trend of online education has become more and more obvious.How to meet the needs of a large number of teachers and students under the conditions of high efficiency,stability,and security,facing the problems of high concurrent users and large traffic access of the system,Providing convenient development methods and efficient management solutions for school enterprises is an important problem that needs to be solved in the development of online education in schools.The online education system based on the microservices architecture integrates SpringMVC,microservices and other technologies,providing a good solution for this.The system adopts SpringMVC architecture and Nginx load balancing to schedule servers to achieve cluster deployment.At the same time,use Mysql-Proxy to complete the database read and write separation,improve the load pressure of the database;use the Dubbo framework,Zoo Keeper service registration center micro service architecture split function,decouple the original huge single application,split it into multiple An independent microservice makes each service more focused on its own business,meets the design principles of high cohesion and low coupling,shortens the software development cycle,and API gateways implement communication between clients and microservices.Use Scrapy in Python to crawl business-related conversations,design a pipeline to store crawled content,build a corpus for use by chatbots,and build a flexible and professional intelligent question answering platform.The test uses Loadrunner to detect non-functional indicators such as online concurrency,network communication speed,etc.to test system security,stability,concurrency,and high availability.The background of the system is built within the framework of an online education system of a university,and is managedand operated by a school.The result of the research is to build an online education platform that adds artificial intelligence and supports high concurrency.Mainly research the two aspects of software development architecture and intelligent question and answer corpus.The results show that,under the micro-service split function architecture,the system’s load capacity has been upgraded.Separation of cluster deployment and database read and write solves the problem of high concurrency of the platform.The average response time of the single-unit unsplit functional architecture is 4.6 times the average response time of the micro-service split architecture;the system can carry 300 users concurrent conflicts;under normal circumstances The average response speed is basically less than 5 seconds;the corpus has the characteristics of focusing on the keywords of college students,students,and courses.The corpus is extracted on the relevant learning website,including 1350 sentences,a total of 11550 words.The chatting content of the chatbot is rich and interesting,and can provide professional and time-sensitive questions and answers to the questions of teachers and students.
Keywords/Search Tags:Online Education, Micro Service, SpringMVC, Scrapy, Chatbot
PDF Full Text Request
Related items