| Beneath the foundation of the persistent improvement of web innovation and the deepening of the informatization process,the digital campus system is playing an increasingly indispensable role in the development of colleges and universities.As an important part of the digital campus,the online course selection system has basically replaced the method of offline manual course selection,It is not only convenient for teachers and students,but also spares a parcel of labor and material costs,and brings convenience to the unified management of the school.During the centralized course selection process,a large number of students initiate course selection requests for the same popular course,which may cause problems such as slow service response and even server downtime,which seriously affects the students’ experience.Therefore,this paper proposes a course selection system based on middleware technology to solve the high concurrency problem.This paper firstly clarifies the system requirements and technical difficulties,and analyzes the related technologies,then analyzes the requirements of the course selection system and completes the overall design.Combining with the business characteristics of course selection scenarios,designed and implemented a message middleware YMQ that can cope with high concurrency.It not only has basic communication capabilities,but also has functions such as failure retry,timeout control,data persistence and visual monitoring.Combining with the message middleware and cache middleware,improved the technical architecture of the course selection module,and the overall manifestation of the course selection system is improved.Finally,conducted the function test and performance test of the course selection system,analyzed the test results and drew conclusions.The test comes about appear that each functions of the course selection system can be executed ordinarily.After lead into middleware technology,the availability and stability of the system have also been awfully ameliorated.The average response time for students choosing courses is within 2s,and the performance is good,which awfully ameliorateds the user experience. |