Dynamic load balancing method and device for Docker cloud platform
The invention provides a dynamic load balancing method and device for a Docker cloud platform. The method comprises the following steps: acquiring load data of a plurality of nodes and containers; judging whether the load data meets a preset load condition or not; if the load data does not meet the...
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 provides a dynamic load balancing method and device for a Docker cloud platform. The method comprises the following steps: acquiring load data of a plurality of nodes and containers; judging whether the load data meets a preset load condition or not; if the load data does not meet the preset load condition, expanding or reducing the container; obtaining a load imbalance degree among the nodes according to the load data of all the nodes, and judging whether the load imbalance degree among the nodes exceeds a preset load balancing threshold value or not; if the load imbalance degree between the nodes exceeds the preset load balancing threshold, inputting the load data of the plurality of nodes and the container into a load decision model to obtain a load balancing strategy; and scheduling container resources according to the load balancing strategy. According to the method and the device, the problem that a real network environment is difficult to deal with due to the fact that a single index is c |
---|