Method for improving load balance efficiency of Nginx server
A load balancing and server technology, applied in digital transmission systems, data exchange networks, electrical components, etc., can solve problems such as unsatisfactory load balancing effects, inability to fully utilize web servers, and failure to consider the real-time load status of back-end servers, etc. , to achieve the effects of reducing the probability of downtime, improving load balancing efficiency, and improving operating efficiency
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0037] A method for improving Nginx server cluster load balancing efficiency, comprising steps as follows:
[0038] 1) Configure the initial weight W of the backend server in the main configuration file of the Nginx server i ;
[0039] According to the physical performance of each back-end server, the initial weight of the back-end server is set to W i, and form a one-dimensional array W=[4,3,2,1]; in the full text, i is the label of the server, i∈[1,4];
[0040] nginx.conf is the main configuration file of the Nginx server, and the load balancing strategy of the Nginx server is also configured in this file, assuming that the back-end server cluster S=[S 1 ,S 2 ,S 3 ,S 4 ].
[0041] 2) Update the dynamic load Dt of the backend server i :
[0042] Obtain the latest n response time series of each backend server and form a two-dimensional array;
[0043] Rt = [ Rt 1 ...
Embodiment 2
[0064] The method for improving Nginx server cluster load balancing efficiency as embodiment 1, its difference is: step 5) in Cw i When the number of the largest backend server is greater than 1, in this embodiment, Cw i The maximum number of backend servers is 2; in the above 2 Cw i Select the initial weight W from the largest backend server i Served by the largest backend server.
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