×

Balancing the loads of servers in a server farm based on an angle between two vectors

  • US 8,645,545 B2
  • Filed: 11/24/2010
  • Issued: 02/04/2014
  • Est. Priority Date: 11/24/2010
  • Status: Expired due to Fees
First Claim
Patent Images

1. A computer program product embodied in a computer readable storage device for balancing the loads of servers, the computer program product comprising the programming instructions for:

  • receiving a load factor for each server in a server farm;

    computing a first vector to hold said load factor for each server in said server farm;

    receiving a client request;

    computing a plurality of second vectors, wherein each of said plurality of second vectors holds a number of client requests to be serviced by each server in said server farm taking into consideration said received client request, wherein each of said plurality of second vectors is computed by modifying a third vector to attribute said client request being serviced by a different server in said server farm, wherein said third vector holds a current number of client requests being serviced by each server in said server farm;

    computing an angle made by each of said plurality of second vectors with said first vector;

    identifying one of said plurality of second vectors which makes a smallest angle with said first vector; and

    directing said client request to a server in said server farm that corresponds to said identified second vector.

View all claims
  • 1 Assignment
Timeline View
Assignment View
    ×
    ×