Method for acquiring accessible IP address by Redis cluster

An IP address and cluster technology, applied in the field of cloud computing, to achieve a good effect of promoting and applying value

Pending Publication Date: 2020-06-05
山东汇贸电子口岸有限公司
View PDF13 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] The technical task of the present invention is to address the above existing problems and provide a client that can correctly redirect to an accessible address without additional development, that is, can effectively solve the problem of IP address mapping in a multi-layer network, and when data A method for obtaining an accessible IP address for a Redis cluster that can respond quickly when the node address changes

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
  • Method for acquiring accessible IP address by Redis cluster
  • Method for acquiring accessible IP address by Redis cluster

Examples

Experimental program
Comparison scheme
Effect test

Embodiment

[0034] In the method for obtaining an accessible IP address by the Redis cluster of the present invention, the redirection of the Redis cluster is handled by the node where the data is actually located, not by the node that accepts the instruction, including the process of the Redis cluster node responding to the client and the process of the Redis cluster node processing the newness check instruction .

[0035] like figure 1 As shown, the process of the Redis cluster node responding to the client includes the following steps:

[0036] S1. The Redis cluster node receives the command data and calculates the check code of the Key.

[0037] The Redis cluster node receives the query or modification command data, and calculates the check code CRC of the Key.

[0038] S2. Determine whether the data is in the current node, if yes, execute step S3, otherwise execute step S4.

[0039] S3. Return the data, and execute step S6.

[0040] S4. Send a query to the actual node for the con...

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 method for acquiring an accessible IP address by a Redis cluster, and belongs to the technical field of cloud computing. According to the method for the Redis cluster to obtain the accessible IP address, redirection of the Redis cluster is processed by a node where data is actually located and is not processed by an instruction receiving node, and the method comprises theprocess that the Redis cluster node responds to a client side and the process that the Redis cluster node processes a novelty search instruction. According to the method for acquiring the accessibleIP address by the Redis cluster, the client can be correctly redirected to the accessible address without additional development, the IP address mapping problem in a multilayer network can be effectively solved, and the method has good promotion and application values.

Description

technical field [0001] The invention relates to the technical field of cloud computing, and specifically provides a method for obtaining an accessible IP address by a Redis cluster. Background technique [0002] With the gradual rise and large-scale use of Redis, stand-alone Redis has been constrained by the development of hardware technology in terms of storage capacity, computing pressure, and bandwidth. Even the highest specification hardware storage and bandwidth on the market cannot meet hundreds of GB or even TB levels. Therefore, the Redis cluster emerges as the times require, and it is the best solution for large-scale Redis application scenarios in terms of scalability and data carrying capacity. Although there are many Redis cluster solutions on the market, the official cluster solutions are excellent both in terms of support and design. However, the official solution has a significant redirection problem in an environment with multi-layer networks. When nodes cros...

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/741H04L45/74
CPCH04L45/745H04L67/63
Inventor 刘金伟赵山许晓笛刘津张哲铭
Owner 山东汇贸电子口岸有限公司
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