Load balancing device and method

A load balancing and server technology, applied in the field of communication, can solve the problems of high failure risk and high maintenance cost, and achieve the effect of reducing cost, saving time and reducing single point of failure

Inactive Publication Date: 2017-05-10
NUBIA TECHNOLOGY CO LTD
View PDF5 Cites 16 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] The technical problem to be solved in the present invention is how to avoid the problems of high maintenance cost and high failure risk caused by NGNIX carrying out load balancing on software in the prior art; for this technical problem, a load balancing device is provided, including:

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 balancing device and method
  • Load balancing device and method
  • Load balancing device and method

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0031] figure 1 A schematic diagram of the composition of a load balancing device provided in Embodiment 1, specifically including:

[0032] Monitoring module 101, for monitoring each server by distributed service framework (zookeeper) cluster;

[0033] A receiving module 102, configured to receive an access request from a client;

[0034] The sending module 103 is configured to send the service list of the corresponding server to the client according to the access request of the client;

[0035] The access module 104 is configured to connect the client to the corresponding server according to the service list.

[0036] Zookeeper is a distributed, open source distributed application coordination service. It is a software that provides a consistent server for distributed applications. The functions provided include but are not limited to: configuration maintenance, domain name service, distributed synchronization, group service and more. Taking configuration maintenance as ...

Embodiment 2

[0047] image 3 A flow chart of a load balancing method provided in Embodiment 2, specifically including:

[0048] S301. Monitor each server through a zookeeper cluster;

[0049] S302. Receive an access request from the client, and send the service list of the corresponding server to the client according to the access request of the client;

[0050] S303. Connect the client to the corresponding server according to the service list.

[0051] Zookeeper is a distributed, open source distributed application coordination service. It is a software that provides a consistent server for distributed applications. The functions provided include but are not limited to: configuration maintenance, domain name service, distributed synchronization, group service and more. Taking configuration maintenance as an example, when a set of code is applied to multiple servers, the actual configuration files are different due to the differences in the IP addresses and interfaces of each server, an...

no. 3 example

[0062] Figure 4 A flow chart of a load balancing method provided in Embodiment 3, specifically including:

[0063] S401, build the relevant environment of the zookeeper cluster, and download the relevant toolkit;

[0064] This is the initialization process of zookeeper, including creating zookeeper-related hardware and writing required software code and other information.

[0065] S402, write the registration code of zookeeper in each server;

[0066] S403, start the server, call the zookeeper cluster through the registration code, and directly register the server information of the server with the zookeeper cluster;

[0067] By writing the registration code in the server, the server can directly call the zookeeper cluster for registration when it starts; in addition, the registration process can also be performed manually by the user.

[0068] S404, after the registration is successful, each server accepts the monitoring of the zookeeper cluster;

[0069] After the regis...

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 load balancing device and method. The method comprises the following steps: monitoring each server through a distributed service framework cluster, receiving an access request of a client, sending a server list of corresponding servers to the client according to the access request, and accessing the server list to the corresponding servers according to the server list. By implementation of the load balancing device and method provided by the invention, single-point faults can be reduced by the distributed service framework cluster, the cost necessary for maintenance is also reduced, in addition, the distributed service framework cluster requires no dynamic configuration of related information, and thus saving a lot of time.

Description

technical field [0001] The present invention relates to the technical field of communications, and more specifically, to a load balancing device and method. Background technique [0002] NGNIX is commonly used in the market for software load balancing. When the scale of the website is large, the services are often split, each service is deployed independently, and the collaborative work is performed through remote calls. As the system continues to expand and evolve, the number of servers will increase, the number of corresponding NGNIX software will also increase, and the corresponding NGNIX deployment and configuration work will also increase, which will lead to higher maintenance costs and single point failures. The risks also increase. Contents of the invention [0003] The technical problem to be solved in the present invention is how to avoid the problems of high maintenance cost and high failure risk caused by NGNIX carrying out load balancing on software in the pri...

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/08
CPCH04L67/1014H04L67/1001
Inventor 林伟
Owner NUBIA TECHNOLOGY CO LTD
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