Method and device for increasing response speed of system under high concurrency condition

A technology of response speed and target data, applied in the field of monitoring, can solve problems such as slow system response speed, and achieve the effect of improving response speed

Active Publication Date: 2020-01-17
INSPUR SOFTWARE CO LTD
View PDF8 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

That is to say, before the cache update is completed, the requesting user is always in the state of waiting for the response, and the response speed of the system is slow

Method used

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
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Method and device for increasing response speed of system under high concurrency condition
  • Method and device for increasing response speed of system under high concurrency condition
  • Method and device for increasing response speed of system under high concurrency condition

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0053] In order to make the purpose, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments It is a part of the embodiments of the present invention, but not all of them. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative work belong to the protection of the present invention. scope.

[0054] Such as figure 1 As shown, the embodiment of the present invention provides a method for improving the response speed of the system in the case of high concurrency, including:

[0055] Step 101: pre-dividing the data in the database into data with high timeliness requirements and data with low timeliness requirements;

[0056] Step 102: obtain ...

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

PUM

No PUM Login to view more

Abstract

The invention provides a method and device for increasing the response speed of a system under the high concurrency condition. The method comprises the following steps: dividing data in a database into data with high timeliness requirements and data with low timeliness requirements in advance; obtaining a current concurrent request, judging whether target data requested by the current concurrent request is data with high timeliness requirements or not, if yes, querying whether the target data exists in the cache or not, and if yes, returning the target data, and triggering a first updating thread to update the data in the cache at the same time; and if not, querying whether the target data exists in the cache or not, judging whether the target data is invalid or not, if yes, triggering a second updating thread, updating the data in the cache according to the data in the database by utilizing the updating thread, and otherwise, returning the target data. According to the method and device for improving the response speed of the system under the high concurrency condition, the response speed of the system under the high concurrency condition can be improved.

Description

technical field [0001] The invention relates to the technical field of monitoring, in particular to a method and a device for improving the response speed of a system under high concurrency conditions. Background technique [0002] With the development of the company's business, high concurrency often occurs, so when designing the system, it will face a major test, and it is necessary to improve the response speed of the system under high concurrency. [0003] In the prior art, when a concurrent request is received, the cache is updated, and after the cache is updated, it is checked whether there is data required by the concurrent request in the cache. That is to say, before the cache update is completed, the requesting user is always in a state of waiting for a response, and the response speed of the system is relatively slow. [0004] Therefore, a method is needed to improve the response speed of the system under high concurrency conditions. Contents of the invention ...

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

Application Information

Patent Timeline
no application Login to view more
Patent Type & Authority Applications(China)
IPC IPC(8): G06F9/38
CPCG06F9/383
Inventor 吴李烜阚宝铎张栋李国涛
Owner INSPUR SOFTWARE CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products