Caching method and device and storage medium

A caching and preset threshold technology, which is applied in the computer field, can solve problems such as network paralysis, users' inability to obtain data, and impact on users' use, and achieve the effect of improving stability

Active Publication Date: 2019-05-31
CHINANETCENT TECH
View PDF6 Cites 7 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] The inventor found that there are at least the following problems in the prior art: when a user accesses a server node through a client, if the server node has a cache area, the data required by the user can be taken out from the corresponding cache area and directly sent to the user The corresponding client; if the server node does not have a cache area, it needs to return to the upper server node to obtain the data required by the user and feed it back to the corresponding client of the user
However, when the data volume of the server node suddenly increases, the input / output data volume of the disk of the server node will suddenly increase. If the increased data volume is greater than the processing threshold of the server node, the server node will be unavailable , so that the user cannot obtain the requested data, which reduces the user experience. If this situation occurs on multiple server nodes at the same time, it will cause the network to be paralyzed and affect the user's use.

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
  • Caching method and device and storage medium
  • Caching method and device and storage medium
  • Caching method and device and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0027] In order to make the purpose, technical solutions and advantages of the embodiments of the present invention more clear, various implementation modes of the present invention will be described in detail below in conjunction with the accompanying drawings. However, those of ordinary skill in the art can understand that, in each implementation manner of the present invention, many technical details are provided for readers to better understand the present application. However, even without these technical details and various changes and modifications based on the following implementation modes, the technical solutions claimed in this application can also be realized.

[0028] The first embodiment of the present invention relates to a caching method. It is used to determine whether to cache data through the disk utilization rate and the flow of data received in a short period of time, avoiding the situation that the data cannot be processed when the amount of data suddenly...

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 embodiment of the invention relates to the field of computers, and discloses a caching method and equipment and a storage medium. The caching method comprises the following steps: determining theflow of data sent by a client within a first time length; determining the service level of the disk according to the disk utilization rate and the flow of the data, the service level comprising a first service level and a second service level, the first service level being to write the data into the cache region, and the second service level being to discard the data; and determining to cache or discard the data according to the service level. The service level of the disk is determined through the disk utilization rate and the data flow, and the data is cached or discarded according to the determined service level, so that the situation that the data cannot be processed when the data volume is suddenly increased in a short time is avoided, a guarantee is provided for the continuous availability of the server node, and the stability of the network is further improved.

Description

technical field [0001] The embodiments of the present invention relate to the field of computers, and in particular to a caching method, device, and storage medium. Background technique [0002] In the computer field, a content delivery network (Content Delivery Network, CDN) is a computer system connected to each other through the Internet. The system provides music, pictures, videos, applications, and Programs and other forms of data can ensure that the user can receive the requested data faster and more reliably, thereby improving network performance, increasing scalability and reducing costs. CDN can set server nodes in multiple locations, or , setting up multiple server nodes in multiple different networks. [0003] The inventor found that there are at least the following problems in the prior art: when a user accesses a server node through a client, if the server node has a cache area, the data required by the user can be taken out from the corresponding cache area an...

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): H04L29/08
Inventor 李厦勤
Owner CHINANETCENT TECH
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