Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Data caching method and system, storage medium and equipment

A data cache and cache technology, applied in the field of data processing, can solve problems such as system crash, block access request, and access failure, and achieve the effect of ensuring normal operation, rational allocation and utilization, and timely cleaning.

Pending Publication Date: 2021-03-12
HANGZHOU ANHENG INFORMATION TECH CO LTD
View PDF6 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] The hotspot data cached on the redis storage end may have more than 70% of the data volume. Within a fixed period of time, only 30% of the access requests are received, and the remaining 30% bears 70% of the access requests. There may even be 1 % of the data bears 90% of the access requests in a certain period of time. For the access demand that is generated rapidly at a certain period of time, there will be the following types of potential risks; (1) at a certain period of time There is a rapid access demand for a small part of the cached data. Assuming that the current cached data is invalid, a large number of requests are directly sent to the database, causing the entire system to crash. Even if double-ended locking is done, a new cache is obtained in the database Data, there will also be a large number of access requests blocked and request timeout; (2) Assuming that the cache system is stable, a large number of requests are directly hit by the cache, assuming that for a single service, the number of requests to access the redis storage end exceeds the redis storage end Connection pool resources will cause access failure or other unknown problems to other requests of the current application to access the redis storage end; (3) Assuming that the cache system is stable, a large number of requests are directly hit by the cache. For the redis storage end cluster service, it may It is necessary to measure the amount of access requests, assuming that it exceeds the amount that the current cluster can bear, it may lead to the instability of the cache cluster service

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
  • Data caching method and system, storage medium and equipment
  • Data caching method and system, storage medium and equipment
  • Data caching method and system, storage medium and equipment

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0044] In order to make the purpose, technical solutions and advantages of the present application clearer, the present application will be described and illustrated below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described here are only used to explain the present application, and are not intended to limit the present application. Based on the embodiments provided in the present application, all other embodiments obtained by persons of ordinary skill in the art without creative efforts shall fall within the protection scope of the present application.

[0045] Obviously, the accompanying drawings in the following description are only some examples or embodiments of the present application, and those skilled in the art can also apply the present application to other similar scenarios. In addition, it can also be understood that although such development efforts may be complex and lengthy, for those of ...

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 a data caching method and system, a storage medium and equipment. The method comprises the following steps: counting the background server page view of an access word at a preset time interval; when the page view of the access word reaches a first preset threshold value, marking the access word as a hotspot word, and calling content data corresponding to the hotspot word;caching the content data from the redis storage end to the client; when the preset time background server page view of the hotspot words is lower than a first preset value, marking the hotspot words as temperature point words; and when the preset time background server page view of the temperature point word is lower than a second preset value, clearing content data corresponding to the client. Through the data query method and device, the cache space of the redis storage end is reasonably allocated and utilized, and the response efficiency of data query and the stability of a query system areimproved.

Description

technical field [0001] The present invention relates to the technical field of data processing, in particular to a data caching method, system, storage medium and equipment. Background technique [0002] With the development of the Internet, a large number of network applications have generated massive amounts of data. In order to improve query efficiency and avoid system bottlenecks caused by direct operations with the database, data is usually put into the redis storage terminal. [0003] The hotspot data cached on the redis storage end may have more than 70% of the data volume. Within a fixed period of time, only 30% of the access requests are received, and the remaining 30% bears 70% of the access requests. There may even be 1 % of the data bears 90% of the access requests in a certain period of time. For the access demand that is generated rapidly at a certain period of time, there will be the following types of potential risks; (1) at a certain period of time There is...

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): G06F16/957G06F16/958
CPCG06F16/9574G06F16/958
Inventor 陈晓丽范渊刘博
Owner HANGZHOU ANHENG INFORMATION TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products