Load balancing system and method in a multiprocessor system
First Claim
1. A method for choosing a resource, among a plurality of resources, for servicing a request, comprising:
- randomly selecting a first resource among the plurality of resources in accordance with a predefined first random selection function, the first resource having an associated first load value;
comparing the first load value to a predetermined threshold value to determine whether the first load value exceeds the predetermined threshold value; and
upon determining that the first load value does not exceed the predetermined threshold value, assigning the request to the first resource for servicing the request.
11 Assignments
0 Petitions
Accused Products
Abstract
A system and method are disclosed for selecting a resource, among a plurality of resources, for servicing a request. To select a resource to service the request, a first resource is randomly selected. If a first load value associated with the first resource does not exceed a threshold value, the request is assigned to the first resource for servicing. Otherwise a second resource is randomly selected. If a second load value associated with the second resource does not exceed a threshold value, the request is assigned to the second resource for servicing. If the second load value exceeds the threshold value, the request is assigned whichever of the first and second resources has a lower load value.
-
Citations
39 Claims
-
1. A method for choosing a resource, among a plurality of resources, for servicing a request, comprising:
-
randomly selecting a first resource among the plurality of resources in accordance with a predefined first random selection function, the first resource having an associated first load value;
comparing the first load value to a predetermined threshold value to determine whether the first load value exceeds the predetermined threshold value; and
upon determining that the first load value does not exceed the predetermined threshold value, assigning the request to the first resource for servicing the request. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12)
-
-
13. A system for selecting a resource, among a plurality of resources, for servicing a request, comprising:
-
one or more interfaces for receiving a request and for forwarding the request to a selected resource;
one or more processing units for executing stored procedures;
memory for storing the procedures executed by the one or more processing units, the procedures including;
instructions for randomly selecting a first resource among the plurality of resources in accordance with a predefined first random selection function, the first resource having an associated first load value;
first comparing instructions for comparing the first load value to a predetermined threshold value to determine whether the first load value exceeds the predetermined threshold value; and
instructions for assigning the request to the first resource for servicing the request when execution of the first comparing instructions determines that the first load value does not exceed the predetermined threshold value. - View Dependent Claims (14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24)
-
-
25. A system for selecting a resource, among a plurality of resources, for servicing a request, comprising:
-
one or more interfaces for receiving a request and for forwarding the request to a selected resource;
control logic configured to randomly select a first resource among the plurality of resources in accordance with a predefined first random selection function, the first resource having an associated first load value, compare the first load value to a predetermined threshold value to determine whether the first load value exceeds the predetermined threshold value, and assign the request to the first resource for servicing the request when the first load value does not exceed the predetermined threshold value. - View Dependent Claims (26, 27)
-
-
28. A computer program product for use in conjunction with a computer system having one or more interfaces for receiving a request and for forwarding the request to a selected resource, the computer program product comprising a computer readable storage medium and a computer program mechanism embedded therein, the computer program mechanism comprising:
-
instructions for randomly selecting a first resource among the plurality of resources in accordance with a predefined first random selection function, the first resource having an associated first load value;
first comparing instructions for comparing the first load value to a predetermined threshold value to determine whether the first load value exceeds the predetermined threshold value; and
instructions for assigning the request to the first resource for servicing the request when execution of the first comparing instructions determines that the first load value does not exceed the predetermined threshold value. - View Dependent Claims (29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39)
-
Specification