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
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
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...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com