DATABASE LOAD BALANCING THROUGH DYNAMIC DATABASE ROUTING
First Claim
Patent Images
1. A device-implemented method comprising:
- receiving, by the device, a resource request from a client;
extracting, by the device, a session identifier from the resource request;
determining, by the device and based on the session identifier, a database server, of a plurality of database servers, to use in fulfilling the resource request;
generating, by the device, a response to the resource request based on data received from one or more tables of the determined database server, the data including at least a value relating to the session identifier; and
transmitting, by the device, the response to the client, the response including the value, where the value is returned by the client at least as part of the session identifier for subsequent resource requests.
1 Assignment
0 Petitions
Accused Products
Abstract
A computing cluster may include servers that connect database servers. In one implementation, a server may receive a resource request from a client and extract a session identifier from the resource request. The server may determine, based on the session identifier, one of the database servers to use in fulfilling the resource request.
42 Citations
22 Claims
-
1. A device-implemented method comprising:
-
receiving, by the device, a resource request from a client; extracting, by the device, a session identifier from the resource request; determining, by the device and based on the session identifier, a database server, of a plurality of database servers, to use in fulfilling the resource request; generating, by the device, a response to the resource request based on data received from one or more tables of the determined database server, the data including at least a value relating to the session identifier; and transmitting, by the device, the response to the client, the response including the value, where the value is returned by the client at least as part of the session identifier for subsequent resource requests. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9)
-
-
10. A computer-readable medium containing programming instructions for execution by one or more processors, the programming instructions including:
-
instructions to receive a resource request from a client; instructions to extract a session identifier from the resource request; instructions to determine, based on the session identifier, a database server, of a plurality of database servers, to use in fulfilling the resource request; instructions to generate a response to the resource request based on data received from one or more tables of the determined database server, the data including at least a value relating to the session identifier; and instructions to transmit the response to the client, the response including the value, where the value is returned by the client at least as part of the session identifier for subsequent resource requests. - View Dependent Claims (11, 12, 13, 14, 15)
-
-
16. A system comprising:
-
a plurality of database servers, each of the plurality of database servers including a control table to store availability information relating to the plurality of database servers; and a plurality of web servers, coupled to the plurality of database servers, to access one of the plurality of database servers as a preferred database server and another one of the plurality of database servers as a backup database server, the plurality of web servers each to; receive a resource request from a client; determine an active database server of the plurality of database servers, to use in fulfilling the resource request, the active database server being determined based on a session identifier included with the resource request, or, when no session identifier is included with the resource request, the active database server being determined based on the availability information; generate a response to the resource request based on data received from the active database server, the data including at least a value relating to the session identifier; and transmit the response to the client. - View Dependent Claims (17, 18, 19, 20, 21, 22)
-
Specification