Device and method for improving throughput of online examination system based on three-level cache

A three-level cache and test system technology, applied in multi-program devices, special data processing applications, instruments, etc., can solve problems such as unsatisfactory system throughput performance, long waiting time, and prone to downtime, etc., to reduce resources The effect of cost input, reducing the concurrent pressure of requests, and improving the carrying capacity
CN113641710APending Publication Date: 2021-11-12SHANDONG EVAYINFO TECH CO LTD

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
SHANDONG EVAYINFO TECH CO LTD
Publication Date
2021-11-12

Smart Images

  • Figure 1
    Figure 1
  • Figure 2
    Figure 2
  • Figure 3
    Figure 3
Patent Text Reader

Abstract

The invention discloses a device and method for improving throughput of an online examination system based on three-level cache, and the method comprises the steps that a browser receives an answer caching request of each question, and the browser caches the answer of each question; M is a positive integer when the number of questions of the answer cache request received by the browser reaches a set threshold value M; the answers of the M questions are dumped into a second-level cache through the first-level cache; the second-level cache compares the answers of the M questions with preset correct answers and records the number of correct questions; and the second-level cache synchronizes the answers of the M questions and the correct question number into the MySQL database of the management end server. The three-level cache is introduced, the impact on the relational database is reduced, the examination data is asynchronously synchronized into the relational database, and the concurrent bearing capacity of the examination system can be greatly improved by caching the concurrent flow of coping with the examination.
Need to check novelty before this filing date? Find Prior Art

Description

technical field

[0001] The invention relates to the technical field of improving throughput of an online examination system, in particular to a device and method for improving throughput of an online examination system based on a three-level cache. Background technique

[0002] The statements in this section merely mention the background technology related to the present invention and do not necessarily constitute the prior art.

[0003] When an online examination system developed based on a relational database is used online by more than tens of millions of users at the same time, it is inevitable that the system will freeze or even go down. In response to such problems, the industry mostly adopts the mode of horizontal expansion of cluster deployment for support. In this mode, the cost of server investment is too high. Taking 10,000 people to take an exam at the same time as an example, regardless of high availability, a set of services needs to be deployed at least Two s...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More