Distributed caching method and device of service data, electronic equipment and storage medium
A distributed cache and business data technology, applied in the field of financial technology, can solve the problem of low utilization rate of data cache, achieve the effect of avoiding redundant storage, ensuring response speed, and overcoming duplicate storage
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0027] First of all, it should be understood that there are usually two distributed caching solutions based on Redis on the market. Among them, the codis solution of adding a centralized codis-proxy (Redis proxy service) has become the mainstream due to its low latency. , refer to figure 1 , figure 1 It is a schematic diagram representing a distributed cluster based on Redis, in which the client includes data sharding of consistent hashing (sharding of consistent hashing), "proxy node (proxy) 1", "proxy node (proxy) 2" and " The proxy node (proxy) 3" is the proxy node in the proxy cluster. The cache node specifically includes the master node (master) and the slave node (slave). Among them, the cache node and the client are connected through network communication, and the cache node can be In order to access any form of computing device in the network, the client data cached by different cache nodes is different. Specifically, it is identified by "proxy" to jointly serve the b...
Embodiment 2
[0077] Further, refer to image 3 , in another embodiment of the present application, for the same or similar content as the above-mentioned first embodiment, reference may be made to the above description, and details will not be described in the following. On this basis, the to-be-cached service data includes the second type of to-be-cached service data, and the step of detecting whether the to-be-cached service data is service multiplexing data according to the data type of the to-be-cached service data includes:
[0078] Step F10, according to the service identification number corresponding to the second type of service data to be cached, obtain a service association data set jointly constructed by at least one cache master node;
[0079] Step F20, detecting whether there is business-related data in the business-related data set that is consistent with the second type of to-be-cached business data;
[0080] Step F30, if there is, do not use the second type of service data...
Embodiment 3
[0086] The embodiment of the present application also provides a distributed cache device for business data, where the distributed cache device for business data includes:
[0087] The business data acquisition module is used to acquire the business data to be cached;
[0088] a cache node determination module, configured to determine a target cache master node and a target cache slave node corresponding to the to-be-cached service data according to the data object identifier of the to-be-cached service data;
[0089] a service data judgment module, configured to judge whether the service data to be cached exists in the target cache master node and the target cache slave node;
[0090] A service data cache module, configured to, if present, determine whether to cache the service data to be cached to the target cache master node and the target cache slave node by detecting whether the service data to be cached is service multiplexing data .
[0091] Optionally, the business d...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com