Fault processing method and device of distributed cache

A fault handling method and distributed cache technology, applied in digital transmission systems, electrical components, transmission systems, etc., can solve the problems of low anti-risk ability of redis cache and inability to achieve high availability of redis cache instances, so as to improve anti-risk ability , the effect of high availability

Active Publication Date: 2016-12-07
SHENZHEN IDREAMSKY TECH
View PDF4 Cites 15 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] In order to solve the problems in related technologies that the high availability of redis cache instances cannot be realized an

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
  • Fault processing method and device of distributed cache
  • Fault processing method and device of distributed cache
  • Fault processing method and device of distributed cache

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0029] Reference will now be made in detail to exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, the same numerals in different drawings refer to the same or similar elements unless otherwise indicated. The implementations described in the following exemplary examples do not represent all implementations consistent with the present invention. Rather, they are merely examples of apparatuses and methods consistent with aspects of the invention as recited in the appended claims.

[0030] figure 1 It is a flow chart of a fault handling method for a distributed cache according to an exemplary embodiment. Such as figure 1 As shown, the fault handling method of the distributed cache may include the following steps.

[0031] In step S110, the main cache instance running in the distributed cache is monitored to obtain the failed main cache instance.

[0032] The distributed cac...

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 discloses a fault processing method and device of a distributed cache. The method comprises the following steps: monitoring a master cache instance operated in the distributed cache to obtain the master cache instance of a fault, replacing the master cache instance of the fault with the slave cache instance of the master cache instance, correspondingly updating a master-slave state between the slave cache instance and the master cache instance of the fault, monitoring the update of the master-slave state, and revising a service address which carries out cache data access in proxy configuration according to the update of the master-slave state. By use of the above fault processing method and device of the distributed cache, the master cache instance of the fault can be automatically switched, the high availability of the cache instance is realized, and the anti-risk capability of redis is improved.

Description

technical field [0001] The present disclosure relates to the technical field of distributed caching, and in particular to a fault handling method and device for distributed caching. Background technique [0002] With the increasing Internet traffic, when a single cache server is faced with large-scale data access, it often causes the defect of excessive load and high response delay. Most of the existing solutions use distributed cache technology to achieve large-scale Data caching and access at scale. Distributed cache technology distributes data relatively evenly among multiple cache servers through consistent hash algorithm, and redis (key-value type storage system) as a distributed cache storage system, due to efficient data synchronization and simple The operation command has been widely used. [0003] At present, redis is generally equipped with a master cache server and a slave cache server. The redis cache instance in the primary cache server is mainly responsible ...

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): H04L12/24H04L29/08
CPCH04L41/0663H04L67/1097H04L67/568
Inventor 雷亚武
Owner SHENZHEN IDREAMSKY 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