Gateway load balancing algorithm optimization method
The invention discloses a gateway load balancing algorithm optimization method. The method comprises the following steps: S1, collecting values of load factors; s2, comparing the value of each load factor with a corresponding threshold; S3, calculating the value of a server processing capability ext...
Gespeichert in:
Hauptverfasser: | , , , , |
---|---|
Format: | Patent |
Sprache: | chi ; eng |
Schlagworte: | |
Online-Zugang: | Volltext bestellen |
Tags: |
Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
|
Zusammenfassung: | The invention discloses a gateway load balancing algorithm optimization method. The method comprises the following steps: S1, collecting values of load factors; s2, comparing the value of each load factor with a corresponding threshold; S3, calculating the value of a server processing capability extreme value N (i) and the value of a server real-time load rate R (i); the method comprises the following steps of S1, calculating the value of each server R (i), S4, comparing the value of each server R (i) with a threshold value Y (i) corresponding to the server, S5, calculating the calculation weight C (i) of the server, S6, calculating the ratio of the real distribution weight CW (i) between the servers to obtain the weight of the server, and performing polling distribution on tasks according to the weight. Meanwhile, network request data in a recent period of time are read in an asynchronous mode, the number and duration of data processing and abnormal conditions are analyzed, and an optimal weight ratio is giv |
---|