当前位置:网站首页>Thoughts on the optimization of examination papers in the examination system
Thoughts on the optimization of examination papers in the examination system
2022-04-23 19:15:00 【Sound God】
In daily life , There will be a large number of users taking exams online , Enter the test paper 、 Answer the questions 、 Submitting test papers is the link with the largest number of users .
Pain points
More users enter the test paper and the loading time is too long , Slow system response ; Many people submit test questions and papers at the same time, and always modify the database , The database is under too much pressure .
The optimization idea is divided into three points
1. Procedural optimization
2. Database level optimization
3. Add server configuration
Enter the test paper
1. Entering the test paper can put the data into the cache , For example, use Reids.
2. Add indexes to data table fields .
3. Pre generated user test paper static page .
Submit test questions
1. Each time you submit a test question, you can put the data into the cache , such as Reids cache .
Submit test papers
1. When submitting the test paper, you can print the test question data and cached data into the log , Prevent data from being retrieved in case of error .
2. It is suggested that when the test paper is prompted at the end , Submit the answer of the test question again as a whole , Prevent the answers to the test questions from being lost . Compare with the data in the cache . Missing data , Fill in with the data submitted as a whole .
3. Finally, the test questions in the cache 、 And test paper data , Put it in the message queue , To execute asynchronously .
版权声明
本文为[Sound God]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/04/202204231913518354.html
边栏推荐
- The difference between ordinary inner class and static inner class
- Partage de la conception de l'alimentation électrique de commutation et illustration des compétences en conception de l'alimentation électrique
- Network protocol: SCTP flow control transmission protocol
- [record] typeerror: this getOptions is not a function
- The fifth bullet of MySQL learning -- detailed explanation of transaction and its operation characteristics
- Sword finger offer II 116 Number of provinces - spatial complexity O (n), time complexity O (n)
- [记录]TypeError: this.getOptions is not a function
- Installation, use and problem summary of binlog2sql tool
- Coordinate conversion WGS-84 to gcj-02 and gcj-02 to WGS-84
- Redis optimization series (III) solve common problems after master-slave configuration
猜你喜欢
Raspberry pie uses root operation, and the graphical interface uses its own file manager
White screen processing method of fulter startup page
Switching power supply design sharing and power supply design skills diagram
開關電源設計分享及電源設計技巧圖解
Class loading process of JVM
Redis optimization series (III) solve common problems after master-slave configuration
Esp01s with Arduino development environment
[report] Microsoft: application of deep learning methods in speech enhancement
简化路径(力扣71)
Common SQL commands
随机推荐
【玩转Lighthouse】腾讯云轻量服务器搭建全平台视频解析视频下载网站
Reflection on the performance of some OpenGL operations in the past
Encyclopedia of professional terms and abbreviations in communication engineering
Raspberry pie uses root operation, and the graphical interface uses its own file manager
Audio signal processing and coding - 2.5.3 the discrete cosine transform
Matlab 2019 installation of deep learning toolbox model for googlenet network
在渤海期货办理开户安全吗。
Wechat video extraction and receiving file path
FTP、ssh远程访问及控制
Some speculation about the decline of adults' language learning ability
openlayers 5.0 离散聚合点
深度学习环境搭建步骤—gpu
C1000k TCP connection upper limit test 1
【历史上的今天】4 月 23 日:YouTube 上传第一个视频;网易云音乐正式上线;数字音频播放器的发明者出生
Openlayers 5.0 two centering methods
From technical system to business insight, the closing chapter of the practice of small and medium-sized R & D team structure
All table queries and comment description queries of SQL Server
Quick start to static class variables
8266 obtain 18b20 temperature
FTP, SSH Remote Access and control