Cache breakdown prevention method, device and equipment and readable storage medium

A caching and local caching technology, applied in special data processing applications, instruments, electrical digital data processing, etc., can solve problems affecting the speed of data acquisition by users, increased database pressure, and high database pressure, so as to reduce database pressure, Effects of reducing stress and preventing clogging

Pending Publication Date: 2022-03-18
PING AN TECH (SHENZHEN) CO LTD
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] When multiple users request data that is not in the cache but in the database at the same time, due to the large number of concurrent users, the read cache does not read the data at the same time, and at the same time go to the database t

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
  • Cache breakdown prevention method, device and equipment and readable storage medium
  • Cache breakdown prevention method, device and equipment and readable storage medium
  • Cache breakdown prevention method, device and equipment and readable storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0050] It should be understood that the specific embodiments described here are only used to explain the present invention, not to limit the present invention.

[0051]An embodiment of the present invention provides a cache puncture prevention method. The executor of the anti-cache puncture method includes but is not limited to at least one of electronic devices such as a server and a terminal that can be configured to execute the method provided by the embodiment of the present application. In other words, the cache puncture prevention method may be implemented by software or hardware installed on the terminal device or the server device, and the software may be a block chain platform. The server may include an independent server, or may include cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, content delivery network (ContentDelivery Network...

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 relates to the field of data storage, and discloses a cache breakdown prevention method which comprises the following steps: when query requests are received, screening out homologous query requests from the query requests, sending a first query request in the homologous query requests to a local cache, and locking the remaining query requests in the homologous query requests; screening out a heterogeneous query request from the query requests, and judging whether query data corresponding to the heterogeneous query request exists in the local cache or not; and when the query data corresponding to the heterogeneous query request does not exist in the local cache, sending a first query request in the query requests corresponding to the same to-be-queried data labels in the heterogeneous query request to a background database, and locking the remaining query requests corresponding to the same to-be-queried data labels. The invention further provides a cache breakdown prevention device and equipment and a storage medium. According to the invention, the probability of cache breakdown of the background database can be reduced.

Description

technical field [0001] The present invention relates to the field of data storage, in particular to a buffer breakdown prevention method, device, electronic equipment and readable storage medium. Background technique [0002] Under normal circumstances, when a user obtains data, the IO unit first goes to the cache to check whether the data required by the user exists. When there is no data required by the user in the cache, the IO unit enters the database to obtain the data. [0003] When multiple users request data that is not in the cache but in the database at the same time, due to the large number of concurrent users, the read cache does not read the data at the same time, and at the same time go to the database to fetch the data, causing the pressure on the database to increase instantly, resulting in cache breakdown. Cache breakdown causes a lot of pressure on the database, affects the speed at which users can obtain data, and even causes server downtime. Contents o...

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
IPC IPC(8): G06F16/176G06F16/22G06F16/2455
CPCG06F16/24552G06F16/1774G06F16/2228
Inventor 庄志辉
Owner PING AN TECH (SHENZHEN) 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