Method, electronic device and computer program product of load balancing
AssigneeEMC IP Holding Company LLC
InventorsTianyu Ma, Lu Tian
Life of this patent
Estimating the term…
Abstract
Load balancing is described for a distributed computing system. For instance, resource usage information of devices in a distributed system is collected at a target device in the distributed system. Further a first work task for the target device is determined to be stopped based on the resource usage information, the target device having a first authority to execute the first work task. The first authority is then caused to be released. Beneficially, each node in the distributed system can individually balance different task loads and the use of resources by different operations of the task, thereby improving the performance of the distributed system.
Claims20
A method, comprising:
- for a load balancing, facilitating, by a system comprising a processor, collecting, at a target device in a distributed system, resource usage information representative of resource usage by devices in the distributed system;
- determining, by the system, a first work task of work tasks for the target device to be stopped based on the resource usage information, the target device having a first authority to execute the first work task;
- determining, by the system, that the target device does not have a second authority to execute a second work task of the work tasks;
- in response to determining that the target device does not have the second authority to the second work task, adjusting, by the system, a frequency of requesting for the second authority based on the resource usage information;
- and
- in response to the determining the first work task to be stopped,
- causing, by the system, the first authority to be released from the target device.
A target device in a distributed system, comprising:
- a processor;
- and
- a memory coupled to the processor and having instructions stored thereon, the instructions, when executed by a processor, cause the target device to perform operations, the operations comprising:
- collecting resource usage information representative of usage of resources by devices in the distributed system;
- based on the resource usage information, determining a first work task of work tasks for the target device to be stopped, the target device having a first authority to execute the first work task;
- determining that the target device does not have a second authority to execute a second work task;
- based on the determining that the target device does not have the second authority, adjusting a frequency of requesting for the second authority based on the resource usage information;
- and
- based on the determining the first work task, causing the first authority to be released from the target device.
A computer program product stored on a non-transitory computer-readable medium and comprising machine-executable instructions that, when executed, cause a target device in a distributed system to perform operations, comprising:
- obtaining resource usage information applicable to a group of devices in the distributed system;
- determining a work task for the target device to be stopped based on the resource usage information, the target device being assigned an authority to execute the work task;
- determining that the authority to execute the work task is a first authority of a first work task of work tasks assigned to the target device, wherein the target device does not have a second authority to execute a second work task of the work tasks;
- in response to determining the authority to execute the work task is the first authority, adjusting a frequency of requesting for the second authority based on the resource usage information;
- and
- in response to determining the work task for the target device to be stopped,
- causing the authority to be released, and
- adjusting a frequency of requesting for the authority based on the resource usage information.
Dependencies are inferred from the claim text.