Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Load balanced code reconstruction method, apparatus and device

A load balancing and code technology, applied in digital transmission systems, electrical components, transmission systems, etc., can solve the cumbersome management of load balancing service startup, restart, shutdown, etc., fault maintenance, problem locating and repairing difficulties, program stability and Difficulty in code maintenance and other problems, to achieve the effect of improving stability, simple management, and easy code maintenance

Active Publication Date: 2018-02-16
INSPUR SUZHOU INTELLIGENT TECH CO LTD
View PDF7 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

There are too many processes in the existing load balancing technology service program, and shared memory and semaphore are used to share and synchronize data between processes. This method of multi-process and shared memory between processes makes fault maintenance, problem location and repair easier. Difficult and prone to unpredictable problems
In addition, multi-process load balancing will bring great difficulties to the stability of the program and code maintenance, and the management of the startup, restart, and shutdown of the load balancing service is also relatively cumbersome.

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
  • Load balanced code reconstruction method, apparatus and device
  • Load balanced code reconstruction method, apparatus and device
  • Load balanced code reconstruction method, apparatus and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0041] The core of the present invention is to provide a load balancing reconstruction method, by starting the process of collecting and sending the original number of connections and the process of receiving the number of connections in the domain name resolution process in the form of a thread under the premise that the function remains unchanged, so that the multi-process The load balancing program service is optimized as a single-process load balancing service, which improves the stability of the program and makes code maintenance easy and convenient. Another core of the present invention is to provide a load balancing device, equipment and computer-readable storage medium.

[0042] In order to make the purpose, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the pres...

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 load balanced code reconstruction method. The method herein includes the following steps: configuring a parameter for starting the number of load balanced passes in a PDNS configuration file, a parameter for canceling a bugging a TCP request and a parameter for requesting the maximum number of information loss; based on the PDNS configuration file, starting a domain nameanalysis process, wherein the number of the domain name analysis process is one; and creating a linking number collecting transmitting thread and a linking number receiving thread in the domain name analysis process. The method, by starting a domain name analysis process, starts the original linking number collecting transmitting thread and the linking number receiving thread in the form of threads without changing the functions of the original linking number collecting transmitting thread and the linking number receiving thread, such that the load balanced service optimization of multi-passesbecomes load balanced service of a single pass, and the stability of a program is increased, and code maintenance is much easier. The invention also discloses a load balanced code reconstruction apparatus, device and a computer readable storage medium which have the aforementioned beneficial advantages.

Description

technical field [0001] The present invention relates to the field of distributed file systems, in particular to a method, device, equipment and computer-readable storage medium for load balancing code reconstruction. Background technique [0002] In a distributed file system, load balancing can provide controllable polling policies, connection number policies, and domain name resolution services. The existing load balancing includes a connection number collecting and sending module, a connection number receiving module, and a domain name resolution module. Among them, there are 3 processes when the connection number collection and sending module is started, and 1 process when the connection number receiving module is started, and the domain name resolution module will be started by the cross-platform open source domain name system service component PDNS 5 processes. There are too many processes in the existing load balancing technology service program, and shared memory and...

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 Applications(China)
IPC IPC(8): H04L29/08H04L29/12H04L12/24
CPCH04L41/0213H04L67/1036H04L67/30H04L61/4511
Inventor 张帅
Owner INSPUR SUZHOU INTELLIGENT TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products