A load balancing method and system for uninterrupted business

A load balancing and shared memory technology, applied in the communication field, can solve problems such as inability to take effect in real time, dynamic loading of back-end instances, dynamic scaling and fault isolation of back-end instances, etc. Situation of isolation reduces the effect

Active Publication Date: 2021-11-26
CHINA MOBILE GROUP SHAIHAI +1
View PDF9 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] The present invention provides a method and system for uninterrupted business load balancing that overcomes the above-mentioned problems or at least partially solves the above-mentioned problems. Moreover, the newly added backend instance configuration outside the configuration file cannot be dynamically loaded, so that the business cannot be 100% unaffected, and it cannot take effect in real time.

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 load balancing method and system for uninterrupted business
  • A load balancing method and system for uninterrupted business
  • A load balancing method and system for uninterrupted business

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0045] The specific implementation manners of the present invention will be further described in detail below in conjunction with the accompanying drawings and embodiments. The following examples are used to illustrate the present invention, but are not intended to limit the scope of the present invention.

[0046] Such as figure 1 and figure 2 As shown, the figure shows a load balancing method, including:

[0047] S1. Determine whether the service of the backend instance is available in real time, and update the service status of the backend instance to the service availability list stored in the shared memory;

[0048] S2. Write the updated service availability list into the configuration files of each load balancing device in real time, and persist the configuration files;

[0049] S3. When receiving a user request, select an available backend instance to process the user request according to the service availability list.

[0050] In this example, if image 3 As show...

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 present invention provides a method and system for uninterrupted service load balancing. The method includes: S1. The load balancing device judges in real time whether the service of the backend instance is available, and updates the service status of the backend instance to the data stored in the shared memory. Service availability list; S2, the shared memory writes the updated service availability list to the configuration file of each load balancing device in real time, and saves the configuration file persistently; S3, when the load balancing device receives a user request, select one according to the service availability list A backend instance can be used to handle user requests. Update the service status of the backend instance to the service availability list stored in the shared memory in real time; the shared memory uses an asynchronous method to write the change information of the service availability list into the configuration file, and notify other load balancing devices to update the relevant configuration files; Dynamically load requests to backend instances that do not exist in the configuration file when the load balancer is restarted.

Description

technical field [0001] The present invention relates to the technical field of communications, and more specifically, to a load balancing method and system for uninterrupted services. Background technique [0002] Load balancing refers to the allocation of user traffic accessing the same IP address to different servers according to the pre-configured load balancing algorithm. It distributes user traffic to different servers through virtual service technology, server health check technology and flow-by-flow forwarding technology On the multi-step server, the processing capacity of the server is indirectly improved, and the stability and scalability of the server are also indirectly improved. [0003] With the construction of the third-generation business support, the business support system is developing in the direction of multi-centralization, remoteness, and complexity. The number of hosts has doubled, and the complexity of the system has also increased. Ensuring the cont...

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): H04L29/08
Inventor 裴力孙乐孙一凯邱晓波
Owner CHINA MOBILE GROUP SHAIHAI
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