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

A routing method for redis service instances

A service instance and routing technology, applied in electrical components, transmission systems, software simulation/interpretation/simulation, etc., can solve the problems of separate routing of different types of data, difficulty for clients to directly obtain Redis cluster cluster functions, etc., to save resources Effect

Active Publication Date: 2022-05-03
BEIJING OPEN DISTANCE EDUCATION CENT
View PDF9 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] However, when the microservice architecture is adopted on the education cloud platform, it is difficult to route different types of data to different Redis service instances, and it is difficult for the client to directly obtain all cluster functions in the Redis cluster

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
  • A routing method for redis service instances
  • A routing method for redis service instances
  • A routing method for redis service instances

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0031] In order to make the technical solutions and advantages of the present invention clearer, the present invention will be further described in detail below in conjunction with the accompanying drawings and specific embodiments.

[0032] figure 1 It is a flow chart of the routing method of the Redis service instance in the embodiment of the present invention.

[0033] like figure 1 As shown, the routing method of the Redis service instance in the embodiment of the present invention includes the following steps:

[0034] Step 11, write a Dockerfile, package the individual service components as a Docker image, and specify the version number of the Docker image.

[0035] Among them, Docker is an open source application container engine, and Dockerfile is a text file that contains multiple instructions (Instruction).

[0036] Step 12, deploying multiple Redis service instances in each preset location to form a Redis cluster.

[0037] Among them, Redis is an open-source, lo...

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 provides a routing method for a Redis service instance. The method includes: writing a Dockerfile, packaging individual service components as a Docker image, and specifying the version number of the Docker image; deploying multiple Redis service instances at preset locations to form a Redis cluster; deploying multiple Predixy Docker Mirror instances form a Predixy cluster; each Docker mirror instance in the Predixy cluster routes the data sent by the client to the corresponding Redis service instance according to the preset policy rules. By applying the present invention, different types of data can be respectively routed to different Redis service instances, so that the client can directly obtain all cluster functions in the Redis cluster.

Description

technical field [0001] The present application relates to the technical field of data routing, in particular to a routing method for a Redis service instance. Background technique [0002] At present, with the innovation and progress of computer technology and network technology, especially the progress of virtualization technology, as well as the innovation and development of new concepts and new solutions, especially the rapid development of Predixy innovative technology, it lays a solid foundation for the launch of Redis cluster on the online education cloud platform. base. [0003] In the existing technology, the education cloud platform generally adopts the microservice architecture. The microservice architecture solves some problems in the traditional layered architecture. Its core features are high scalability, easy development, testing, and deployment of independent service components. These service components are decoupled, distributed, and independent of each othe...

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): H04L67/63H04L67/10G06F9/455
Inventor 王雪松张凤国
Owner BEIJING OPEN DISTANCE EDUCATION CENT