当前位置:网站首页>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
边栏推荐
- 腾讯云GPU最佳实践-使用jupyter pycharm远程开发训练
- js获取本机ip地址
- Solve the problem of invalid listview Click
- [today in history] April 23: the first video uploaded on YouTube; Netease cloud music officially launched; The inventor of digital audio player was born
- ArcGIS JS API dojoconfig configuration
- Codeforces Round #784 (Div. 4)
- static类变量快速入门
- Network protocol: SCTP flow control transmission protocol
- Why is PostgreSQL about to surpass SQL Server?
- The difference between ordinary inner class and static inner class
猜你喜欢
Pdf reference learning notes
SQL常用的命令
Why is PostgreSQL about to surpass SQL Server?
FTP, SSH Remote Access and control
MySQL Téléchargement et installation de la version Linux
Keysight has chosen what equipment to buy for you
[记录]TypeError: this.getOptions is not a function
Matlab 2019 installation of deep learning toolbox model for googlenet network
The difference between ordinary inner class and static inner class
浅谈c语言指针的强制转换
随机推荐
An idea of rendering pipeline based on FBO
@Analysis of conditional on Web Application
SSDB基础3
FTP, SSH Remote Access and control
SSDB基础1
MySQL Téléchargement et installation de la version Linux
点云数据集常用处理
Introduction to micro build low code zero Foundation (lesson 3)
Sogou cell thesaurus analysis (only extract words and word frequency)
优先使用组合而不使用继承
为何PostgreSQL即将超越SQL Server?
Getting started with vcpkg
FTP、ssh远程访问及控制
Parsing headless jsonarray arrays
数据分析学习目录
Use of fluent custom fonts and pictures
C1000k TCP connection upper limit test
Tencent map and high logo removal method
Openlayers 5.0 two centering methods
Using bafayun to control the computer