A gorouter-based software load balancing method and device

A technology of load balancing and implementation method, which is applied in the direction of multi-program device, program control design, instrument, etc., can solve the problems of increasing system maintenance cost, application and platform incompatibility, etc., to reduce the difficulty of operation and maintenance management and improve scalability , The effect of reducing the cost of the platform

Active Publication Date: 2021-08-06
重庆浪潮政务云管理运营有限公司
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, when the application cannot be deployed to the CloudFoundry platform, the user cannot perform unified management of the application access address and application load balancing. Although the user's application is incompatible with the platform, other load balancing software can be considered to complete the application. Load balancing, but this increases the maintenance cost of the system
There is an urgent need for a method to solve the problem of unified management of application access addresses and application load balancing when applications cannot be deployed to the CloudFoundry platform

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 gorouter-based software load balancing method and device
  • A gorouter-based software load balancing method and device
  • A gorouter-based software load balancing method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0039] Such as figure 1 As shown, a method for implementing software load balancing based on GoRouter includes the following steps:

[0040] Step S101: register the registration information of each instance of the acquisition application with the DEA component;

[0041] Step S102: Register the access address, health check address and access domain name of each instance of the application to GoRouter through the interface;

[0042] Step S103: GoRouter saves the access address, health check address and access domain name of each instance of the application into the DEA component;

[0043] Step S104: The DEA component periodically calls the health check address of each instance of the application to confirm that each instance of the application can be accessed. delete;

[0044] Step S105: When the health check address of the inaccessible instance returns to normal, the DEA component registers the access address, health check address and access domain name of each instance to t...

Embodiment 2

[0046] Such as figure 2 As shown, a method for implementing software load balancing based on GoRouter includes the following steps:

[0047] Step S201: Define the domain names of the platform external application and the platform internal application, respectively obtain the IP address and port of each instance of the platform external application and the platform internal application, and the health check address corresponding to each instance;

[0048] Step S202: register the IP address and port of each instance of the acquired application, and the health check address corresponding to each instance to the DEA component;

[0049] Step S203: Register the access address, health check address and access domain name of the platform external application and platform internal application to the GoRouter through the interface of the CloudFoundry platform;

[0050] Step S204: GoRouter saves the access address, health check address and access domain name of the platform external ap...

Embodiment 3

[0055] Such as image 3 As shown, a software load balancing implementation device based on GoRouter includes: a first registration module 301 sequentially connected to an update module 302 , a storage module 303 , a confirmation module 304 and a second registration module 305 .

[0056] The first registration module 301 is used to register the registration information of each instance of the application to the DEA component; the update module 302 is used to register the access address, health check address and access domain name of each instance of the application to GoRouter through the interface; save Module 303 is used for GoRouter to save the access address, health check address and access domain name of each instance of the application to the DEA component; the confirmation module 304 is used for the DEA component to periodically call the health check address of each instance of the application, and confirm each instance of the application The instance can be accessed, an...

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 relates to the field of computer software applications, and discloses a GoRouter-based software load balancing implementation method, including: registering the registration information of each instance of the application to the DEA component; and registering the access address and health check address of each instance of the application through the interface Register and access the domain name to GoRouter, save the above information of each instance of the application in the DEA component; the DEA component periodically calls the health check address of each instance, and confirms that each instance can be accessed. Delete; when the health check address of the instance that cannot be accessed returns to normal, the DEA component registers the relevant information of each instance to GoRouter again; a kind of software load balancing implementation device based on GoRouter is also disclosed, and the present invention reduces the cost of the platform and the cost of the platform Operation and maintenance management is difficult and has good scalability.

Description

technical field [0001] The invention relates to the field of computer software applications, in particular to a GoRouter-based software load balancing method and device. Background technique [0002] The CloudFoundry platform is an open source PAAS platform that provides application packaging, deployment, and access management functions, including multiple development languages, multiple application operating environments, and external service access. More and more companies have begun to deploy the CloudFoundry platform in private cloud environments. , to achieve DevOps within the enterprise. However, when the application cannot be deployed to the CloudFoundry platform, the user cannot perform unified management of the application access address and application load balancing. Although the user's application is incompatible with the platform, other load balancing software can be considered to complete the application. Load balancing, but this increases the maintenance cost...

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): G06F9/50
CPCG06F9/5083
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