Distributing risk of multiple realms across multiple resources based on a realm risk model
AssigneeSalesforce, Inc.
InventorsAhi Kodi, Arun Sathnur
Life of this patent
Estimating the term…
Abstract
Methods, computer readable media, and devices for distributing risk of multiple realms across multiple resources based on a realm risk model are disclosed. One method may include determining a time score based on an average response, a traffic score based on an average client request rate, and a risk score based on the time score and the traffic score for a plurality of realms, distributing the plurality of realms across a fixed number of resources based on the risk scores of the plurality of realms, and in response to a change in a risk score of a realm, redistributing the plurality of realms across the fixed number of resources based on a difference between a maximum risk score and a minimum risk score.
Claims20
A computer-implemented method comprising:
- for one or more realms in a plurality of realms:
- determining a time score based on an average response time of the respective realm;
- determining a traffic score based on an average client request rate of the respective realm;
- and
- determining a risk score based on the time score and the traffic score of the respective realm;
- distributing the plurality of realms across a fixed number of resources based on the risk scores of the plurality of realms such that:
- any one realm is distributed across at least two resources that are assigned an equal portion of the risk score of the any one realm;
- and
- a difference between a sum of risk scores assigned to any one resource and a sum of risk scores assigned to any other resource is within a risk score threshold;
- and
- in response to a change in a risk score of a realm, redistributing the plurality of realms across the fixed number of resources such that a difference between a maximum sum of risk scores assigned to a resource and a minimum sum of risk scores assigned to a different resource is within the risk score threshold.
A non-transitory machine-readable storage medium that provides instructions that, if executed by a processor, are configurable to cause the processor to perform operations comprising:
- for one or more realms in a plurality of realms:
- determining a time score based on an average response time of the respective realm;
- determining a traffic score based on an average client request rate of the respective realm;
- and
- determining a risk score based on the time score and the traffic score of the respective realm;
- distributing the plurality of realms across a fixed number of resources based on the risk scores of the plurality of realms such that:
- any one realm is distributed across at least two resources that are assigned an equal portion of the risk score of the any one realm;
- and
- a difference between a sum of risk scores assigned to any one resource and a sum of risk scores assigned to any other resource is within a risk score threshold;
- and
- in response to a change in a risk score of a realm, redistributing the plurality of realms across the fixed number of resources such that a difference between a maximum sum of risk scores assigned to a resource and a minimum sum of risk scores assigned to a different resource is within the risk score threshold.
An apparatus comprising:
- a processor;
- and
- a non-transitory machine-readable storage medium that provides instructions that, if executed by a processor, are configurable to cause the processor to perform operations comprising:
- for one or more realms in a plurality of realms:
- determining a time score based on an average response time of the respective realm;
- determining a traffic score based on an average client request rate of the respective realm;
- and
- determining a risk score based on the time score and the traffic score of the respective realm;
- distributing the plurality of realms across a fixed number of resources based on the risk scores of the plurality of realms such that:
- any one realm is distributed across at least two resources that are assigned an equal portion of the risk score of the any one realm;
- and
- a difference between a sum of risk scores assigned to any one resource and a sum of risk scores assigned to any other resource is within a risk score threshold;
- and
- in response to a change in a risk score of a realm, redistributing the plurality of realms across the fixed number of resources such that a difference between a maximum sum of risk scores assigned to a resource and a minimum sum of risk scores assigned to a different resource is within the risk score threshold.
Dependencies are inferred from the claim text.