Patent ID: 7555484

Claim:
A method of load-balancing across servers in a multi-server server environment, the method comprising: receiving a request for a workbook, the workbook located on a server; determining if the workbook is available on at least one of the servers in the multi-server environment by analyzing a schema including a property, the property indicating a number of currently open user sessions for the workbook on the server and when the workbook is loaded on the server; and when it is determined that the workbook is available on the server, performing actions, including: determining the number of currently open user sessions for the workbook on the server, determining a load on the server by comparing the number of currently open user sessions for the workbook on the server to a predefined number, directing the request for the workbook to the server hosting the workbook when the number of currently open user sessions for the workbook on the server is less than a predefined number; otherwise, when the number of currently open user sessions for the workbook on the server is not less than the predefined number or when the workbook is not available on the server, the directing the request for the workbook to one of the servers using a load balancing mechanism; updating the property in the schema to correspond to the number of currently open user sessions for the workbook on the server; and storing the updated schema.