Method and device for dispersing load of servers
A server and master server technology, applied in the network field, can solve problems such as no response, timeout response, no clear diversion strategy and flow limiting measures
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0184] Embodiment 1 of the present invention provides a method for distributing server load, such as figure 1 shown, including:
[0185] Step 101: the main server receives the request;
[0186] In this embodiment, when the main server is specifically an application server, step 101 is specifically: the main server receives the connection request sent by the client;
[0187] For example, the connection request sent by the client received by the main server is http: / / ip:port / reqtype=6;
[0188] In this embodiment, when the main server is a management server, step 101 specifically includes: the main server receives the server acquisition request sent by the application server;
[0189] Correspondingly, before step 101, the method further includes: the application server receives the connection request sent by the client.
[0190] Step 102: the master server acquires load parameters of multiple cluster servers in the cluster, and determines the optimal server among the multiple...
Embodiment 2
[0251] Embodiment 2 of the present invention provides a method for distributing server load, such as figure 2 shown, including:
[0252] Step 201: the client sends a first connection request to the application server;
[0253] Step 202: the application server waits for and receives the first connection request sent by the client;
[0254] For example, the first connection request sent by the client and received by the application server is http: / / ip:port / reqtype=6.
[0255] Step 203: the application server acquires the number of visits of the cluster server and selects the minimum number of visits;
[0256] In this embodiment, the application server obtains the number of visits of the cluster server, which may be: the application server accesses the database, and obtains the number of visits of the cluster server in the cluster server list in the database, wherein the cluster server list includes all clusters in the cluster server information;
[0257] Specifically, the a...
Embodiment 3
[0322] Embodiment 3 of the present invention provides a method for distributing server load, such as image 3 shown, including:
[0323] Step 301: the client sends a first connection request to the application server;
[0324] Step 302: the application server waits for and receives the first connection request sent by the client;
[0325] For example, the connection request sent by the client received by the application server is http: / / ip:port / reqtype=6.
[0326] Step 303: the application server obtains the traffic used by the cluster server and selects the minimum traffic;
[0327] In this embodiment, the application server obtains the traffic used by the cluster server, which may be: the application server accesses the database, and obtains the number of visits of the cluster server in the cluster server list in the database, wherein the cluster server list includes all cluster servers in the cluster Information;
[0328] Specifically, the application server shares the ...
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