Unlock instant, AI-driven research and patent intelligence for your innovation.

Forwarding method and transmission method for cache request, and related devices

A technology of forwarding method and transmission method, which is applied in the field of cache request forwarding method, transmission method and related devices, can solve the problems of slow response, troublesome node replacement, slow response, etc., and achieve the effect of improving stability

Active Publication Date: 2019-03-22
CHINANETCENT TECH
View PDF6 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] However, the inventors found that there are at least the following problems in the prior art: the way that the client directly connects to the cache instance is relatively simple to implement, but the response of the application may become slow, and even cache breakdown may occur, resulting in the entire Cache system crashes
In use, it often happens that a cache instance hangs up, but the client will still forward the cache request to the cache instance until the cache request times out, which will cause the response of the entire system to become very slow
Moreover, some services of the cloud computing platform rely on session control session technology. Session technology is generally cached in the cache. If the caches are independent of each other, it must be ensured that the corresponding client accesses the corresponding cache server. This requires load balancing Layer expansion will bring great trouble to the expansion of the cache system and the replacement of faulty nodes

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
  • Forwarding method and transmission method for cache request, and related devices
  • Forwarding method and transmission method for cache request, and related devices
  • Forwarding method and transmission method for cache request, and related devices

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0038] 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 solution claimed in this application can also be realized.

[0039] It should be noted that those skilled in the art can understand that, in the embodiments of the present invention, a proxy instance refers to a server capable of executing the cache request forwarding method, and a cache instance refers to a server that starts a cache process.

[0040] The first embod...

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

Embodiments of the invention relate to the technical field of communications, and disclose a forwarding method and a transmission method for cache requests, and related devices. In the invention, theforwarding method for a cache request comprises the following steps: obtaining a first cache request transmitted by a client; determining, according to the first cache request, a first cache instancecorresponding to the first cache request; and determining whether to transmit the first cache request to the first cache instance according to the state of the first cache instance. In this implementation, the proxy instance can determine the processing manner of the cache request according to the state of the cache instance, which avoids a large number of cache requests breaking through the cacheinstance and directly reaching the database, resulting in a crash of the cache system.

Description

technical field [0001] The embodiments of the present invention relate to the technical field of communications, and in particular, to a cache request forwarding method, transmission method, and related devices. Background technique [0002] Caching technology is widely used in Internet applications, such as websites, application programs (Application, APP) or cloud computing platforms. Using caching technology can effectively improve the throughput of the application, improve the response speed of the application, and allow limited resources to serve more customers. Taking the Linux system as an example, a typical cache application on the Linux system, such as the cache system memcache, generally starts one or more cache processes on each cache server, and each process is a separate cache instance. are generally unrelated. At present, the mainstream high-availability cache technology is to realize the client's reading of cached data by directly connecting the client to th...

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): H04L29/08H04L12/24
CPCH04L41/0668H04L67/5682H04L67/61H04L67/568H04L67/60
Inventor 黄涛
Owner CHINANETCENT TECH