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

Distributed cache service realization method, device, terminal, server and system

A technology of distributed cache and implementation method, applied in the field of distributed computing, can solve problems such as increasing the difficulty of use by users, and achieve the effect of ensuring consistency and high read and write performance

Active Publication Date: 2018-10-02
TENCENT TECH (SHENZHEN) CO LTD
View PDF13 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] However, these distributed caching products do not provide specific implementation logic on the client side, that is, users need to use these distributed caching products as basic components to implement local caching services by themselves, and users need to independently maintain the connection between local data and data in remote servers. Consistency, which increases the difficulty for users
In addition, each user's access to data must be completed through network interaction, which brings a certain read latency overhead

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
  • Distributed cache service realization method, device, terminal, server and system
  • Distributed cache service realization method, device, terminal, server and system
  • Distributed cache service realization method, device, terminal, server and system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment S21

[0124] The cache query module 50312 is configured to check whether the local cache data hits the target data. It can be used to execute method embodiment S22.

Embodiment S22

[0125] The read instruction implementation module 50313 is used to directly request the target data from the server if it is not hit; if it is hit, judge whether the target data is valid data according to the cache policy; if so, directly return the target data ; If not, request the target data from the server. It can be used to execute method embodiments S23-S24.

[0126] The remote data reading result processing module 50314 is used to obtain the target data on the server side and update the local cache data; return the target data. It can be used to execute method embodiments S25-S26.

[0127] Specifically, such as Figure 15 As shown, the write service unit 5032 includes:

[0128] The change module 50321 is configured to change the data in the local cache in response to the write operation instruction. It can be used to execute method embodiment S210.

[0129] The synchronization notification processing module 50322 is configured to generate and issue a synchronizatio...

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 present invention provides a distributed cache service implementation method, device, terminal, server and system, and proposes a new cache service implementation scheme that mixes local cache (client) and remote distributed cache (server). The provided cache service implementation scheme allows users to move the cached data forward to the user process space (that is, local cache) in certain business scenarios to obtain higher read and write performance, and at the same time ensure local The consistency between the cached data and the data in the remote distributed cache.

Description

technical field [0001] The invention relates to the field of distributed computing, in particular to a method, device, terminal, server and system for realizing distributed cache services. Background technique [0002] The distributed cache service uses an independent cluster service to centrally cache data, so it provides good system level scalability, high throughput, and high disaster tolerance. There are already many very mature distributed cache products in the industry, such as Ehcache and Redis. [0003] However, these distributed caching products do not provide specific implementation logic on the client side, that is, users need to use these distributed caching products as basic components to implement local caching services by themselves, and users need to independently maintain the connection between local data and data in remote servers. Consistency, thus increasing the difficulty for users to use. In addition, each user's access to data must be completed throug...

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 Patents(China)
IPC IPC(8): H04L29/08
CPCH04L67/1095H04L67/1097H04L67/568H04L67/5682
Inventor 王亚辉郑规
Owner TENCENT TECH (SHENZHEN) CO LTD