Cached data migration method and device

A technology for caching data and backing up data, which is applied in the field of communication, and can solve problems such as reducing cache service performance, frequent data migration, and data migration occupation

Active Publication Date: 2015-09-30
HUAWEI TECH CO LTD
View PDF6 Cites 10 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0007] The present invention provides a method and device for migrating and caching data, which is used to solve the current distributed caching service cluster existi...

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
  • Cached data migration method and device
  • Cached data migration method and device
  • Cached data migration method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0094] In the embodiment of the present invention, after determining that the corresponding cache server fails and goes offline, the cache server backs up the backup data in the backup server as the client to access the data of the cache server; if the cache server fails within the set time The offline cache server comes online, and restores the backup data to the cache server. Since the cache server in the embodiment of the present invention goes offline due to failure and goes online again within the set time period, the corresponding backup server will only restore the backup data to the cache server without performing data migration, thereby reducing the number of data migrations. The network bandwidth will not be occupied too much, thereby improving the performance of the cache service.

[0095]Wherein, the backup server in the embodiment of the present invention can only be used for backing up data, and can also be used for both backing up data and caching data (that is,...

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

An embodiment of the invention provides a cached data migration method and device and aims to solve the problem that frequent data migration in the prior distributed caching service cluster uses greater network bandwidth, resulting in decreased caching service performance. The method includes: after determining that a corresponding caching server fails and is offline, back-upping the caching server in a back-up server as back-up data, serving as data of a client visiting the caching server; if the caching server which fails and is offline is online within a set time, restoring the back-up data to the caching server. After the caching server fails and is offline and is online again within the set time, the corresponding back-up server only restores the back-up data to the caching server and avoids data migration; therefore, data migrations are fewer, the network bandwidth is never excessively used, and the performance of the caching service is improved.

Description

technical field [0001] The invention relates to the field of communication technologies, in particular to a method and device for migrating cached data. Background technique [0002] In order to improve the reading speed of data, caching technology is generally used to cache specific data, so that users can directly access data from the client and reduce the data interaction between the client and the server. For example, the web (network) session (session) data is cached, and some tables that are frequently accessed in the physical DB (Data Base, database) are loaded into the cache to improve data access performance. [0003] At present, the development trend of caching technology is distributed caching, caching data fragmentation storage, supporting caching data backup, and supporting caching server clusters for horizontal scaling (horizontal scaling means dynamically increasing or reducing the number of caching servers, and will not affect the current application's acces...

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/08
CPCH04L67/1097H04L67/563H04L67/56
Inventor 骆腾飞黄海军
Owner HUAWEI TECH 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