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

A routing method of a Redis service instance

A service instance and routing technology, which is applied in the direction of electrical components, program control devices, transmission systems, etc., can solve the problems of different types of data routing separately, and it is difficult for the client to directly obtain the Redis cluster cluster function, so as to achieve the effect of saving resources

Active Publication Date: 2019-06-07
BEIJING OPEN DISTANCE EDUCATION CENT
View PDF9 Cites 8 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 of a Redis service instance
  • A routing method of a Redis service instance
  • A routing method of a Redis service instance

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 of a Redis service instance. The method comprises: compiling a Docker file, packaging an independent service assembly into a Docker mirror image, and designating the version number of the Docker mirror image; Respectively deploying a plurality of Redis service instances at each preset place to form a Redis cluster; Deploying a plurality of Docker mirror image instances of the Predixy to form a Predixy cluster; And enabling each Docker mirror image instance in the Prexy cluster to route the data sent by the client to the corresponding Redis service instance according to a preset strategy rule. By applying the method and the device, different types of data can be routed to different Redis service instances respectively, so that the client can directlyobtain 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
IPC IPC(8): H04L29/08G06F9/455
Inventor 王雪松张凤国
Owner BEIJING OPEN DISTANCE EDUCATION CENT