Font Size: a A A

Design And Implementation Of Course Selection System Based On Distributed Cache And Message Middleware

Posted on:2020-04-29Degree:MasterType:Thesis
Country:ChinaCandidate:P ChenFull Text:PDF
GTID:2427330599953297Subject:engineering
Abstract/Summary:PDF Full Text Request
With the in-depth development of Internet technology,the concept of digital campus gradually has been widely accepted on university campuses.The online course selection system,as one of the tools of digital campus promotion,has become an indispensable part of college teaching by not only facilitating course selection,but also making more rational use of teaching resources in schools.After making a survey,the author found that the existing course selection system of Chongqing University is not ideal in actual use.Various problems arose.For example,the course selection service is not available during the course selection period,students had to wait for a long time to select courses,students could not choose the course they wanted to take,the enrollment of a course exceeded its course capacity,user experience is poor,and the customized demands of the university could not be met.In order to solve these problems,This paper conducted a study and,on the basis of distributed cache and distributed message middleware,propose a technical architecture.Based on this architecture and the features of the course selection service of Chongqing University,a high-performance course selection system has been developed so that such problems as poor stability of the existing course selection system,too long a waiting time in class selection,etc.to provide better course selection services for students and teachers.This paper mainly completes the following work:(1)Defining project requirements and technical difficulties.After evaluating literature relevant to course selection systems at home and abroad and analyzing the use of the existent course selection system in Chongqing University,the author identified the core requirements of the online smashing module of the course selection system,and discerned the service difficulties in the online smashing module and introduced the related technologies.(2)In view of the three identified business difficulties,a variety of solutions are proposed and compared one by one.The application layer adopts server cluster,cache layer adopts Redis-Sentinel system,persistence layer adopts Oracle backup mode to ensure the high availability of the system,cache-based distributed lock to ensure the correctness of the service,and cache Redis and message middleware RocketMQ to improve the response speed of the service.(3)Analyzing,designing and realizing the function of online preemptive selection module.The paper proposed a technical architecture based on distributed cache and distributed message middleware,and designed and actualized a high-performance course selecting system for college students.(4)Next the author designed a suitable test method and put the system to a functional test and a performance test.A plurality of sets of comparative tests were designed to test the system performance with variables controlled,and the test results were analyzed to draw relevant conclusions.The experimental results show that the basic functions of the course selection system can be executed normally,and the performance and stability of the course selection system are greatly improved with the support of distributed caching and message middleware.The average waiting time for students to choose a course is shortened to less than 2 seconds,which improves the user experience of the course selection system.
Keywords/Search Tags:course selection system, distributed lock, message middleware, caching
PDF Full Text Request
Related items