当前位置:网站首页>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
边栏推荐
- Circuit on-line simulation
- Use of kotlin collaboration in the project
- openlayers 5.0 两种居中方式
- mysql通过binlog恢复或回滚数据
- 微搭低代码零基础入门课(第三课)
- 2022.04.23 (the best time for lc_714_to buy and sell stocks, including handling charges)
- JS to get the local IP address
- 电路在线模拟
- 2022.04.23(LC_714_买卖股票的最佳时机含手续费)
- Sword finger offer II 116 Number of provinces - spatial complexity O (n), time complexity O (n)
猜你喜欢

Solutions such as unknown or garbled code or certificate problem prompt in Charles's mobile phone packet capture, actual measurement.

开关电源设计分享及电源设计技巧图解

Switching power supply design sharing and power supply design skills diagram

Simple use of navigation in jetpack

ArcMap连接 arcgis server

MySQL学习第五弹——事务及其操作特性详解

Audio signal processing and coding - 2.5.3 the discrete cosine transform

Pdf reference learning notes

【C语言进阶11——字符和字符串函数及其模拟实现(2))】

12 examples to consolidate promise Foundation
随机推荐
2022.04.23 (lc_763_divided into letter interval)
MySQL Téléchargement et installation de la version Linux
RuntimeError: Providing a bool or integral fill value without setting the optional `dtype` or `out`
On the forced conversion of C language pointer
深度学习环境搭建步骤—gpu
UML类图几种关系的总结
Raspberry pie uses root operation, and the graphical interface uses its own file manager
Openlayers 5.0 thermal diagram
Convert string to JSON
ArcMap connecting ArcGIS Server
Tencent map and high logo removal method
c1000k TCP 连接上限测试
2022.04.23 (the best time for lc_714_to buy and sell stocks, including handling charges)
Accessing private members using templates
坐标转换WGS-84 转 GCJ-02 和 GCJ-02转WGS-84
ArcMap publishing slicing service
Gossip: on greed
mysql通过binlog恢复或回滚数据
开关电源设计分享及电源设计技巧图解
Raspberry pie 18b20 temperature