Method and system for storing load balancing information with an HTTP cookie
First Claim
1. Method for load balancing access to a resource identified in a hyper text transport protocol (HTTP) request, comprising:
- (a) examining an HTTP request to determine when a Cookie is included with the HTTP request, the Cookie including information that indicates a destination for accessing the resource identified in the HTTP request;
(b) when the Cookie is included in the HTTP request, sending the HTTP request to the destination that is indicated by the Cookie'"'"'s information;
(c) generating an HTTP response at the destination, the HTTP response providing access to the requested resource;
(d) inserting a copy of the information in the Cookie into the HTTP response; and
(e) sending the HTTP response with the copy of the information in the Cookie to the sender of the HTTP request, so that a subsequent HTTP request to access the resource will include another Cookie with information indicating that the resource is accessible at the destination.
3 Assignments
0 Petitions
Accused Products
Abstract
A method and system for inserting and examining Cookies in the data streams of HTTP connections for the purpose of persistently directing HTTP connections to the same destination. The invention enables a network device to direct subsequent HTTP connections from the same client to the same server (destination) for accessing the requested resources. There are four modes for employing the Cookie to persistently direct HTTP connections. The associative mode inserts a Cookie that uniquely identifies the client into an HTTP response. The passive mode inserts Cookie information that uniquely identifies a previously selected destination into an HTTP response. In the rewrite mode, a network device manages the destination information that is rewritten over blank Cookie information generated by the destination producing the HTTP response. The insert mode inserts and removes Cookie information in the data packets for HTTP requests and responses prior to processing by the destination.
131 Citations
32 Claims
-
1. Method for load balancing access to a resource identified in a hyper text transport protocol (HTTP) request, comprising:
-
(a) examining an HTTP request to determine when a Cookie is included with the HTTP request, the Cookie including information that indicates a destination for accessing the resource identified in the HTTP request;
(b) when the Cookie is included in the HTTP request, sending the HTTP request to the destination that is indicated by the Cookie'"'"'s information;
(c) generating an HTTP response at the destination, the HTTP response providing access to the requested resource;
(d) inserting a copy of the information in the Cookie into the HTTP response; and
(e) sending the HTTP response with the copy of the information in the Cookie to the sender of the HTTP request, so that a subsequent HTTP request to access the resource will include another Cookie with information indicating that the resource is accessible at the destination. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 24, 25, 26, 30, 31, 32)
-
-
23. Method for load balancing access to a resource identified in a hyper text transport protocol (HTTP) request, comprising:
-
(a) examining an HTTP request to determine when a Cookie is included with the HTTP request, the Cookie including information that identifies a sender of the HTTP request;
(b) when the Cookie is included in the HTTP request, comparing the information identifying the sender to a table of at least one destination, the HTTP request being sent to a destination that is associated with the identified sender in the table;
(c) generating an HTTP response at the destination, the HTTP response providing access to the requested resource;
(d) inserting a copy of the information in the Cookie into the HTTP response; and
(e) sending the HTTP response with the copy of the information in the Cookie to the identified sender of the HTTP request, so thatthat a subsequent HTTP request to access the resource from the identified sender will include another Cookie with information that identifies the sender of the subsequent HTTP request.
-
-
27. A system for load balancing access to a resource indicated in a hyper text transport protocol (HTTP) request, comprising:
-
(a) a memory for storing logical instructions; and
(b) a processor for executing the logical instructions stored in the memory, the execution of the logical instructions causing functions to be performed including;
(i) examining an HTTP request to determine when a Cookie is included with the HTTP request, the Cookie including information that indicates a destination for accessing the resource identified in the HTTP request;
(ii) when the Cookie is included in the HTTP request, sending the HTTP request to the destination that is indicated by the Cookie'"'"'s information;
(iii) generating an HTTP response at the destination, the HTTP response providing access to the requested resource;
(iv) inserting a copy of the information in the Cookie into the HTTP response; and
(v) sending the HTTP response with the copy of the information in the Cookie to the sender of the HTTP request, so that a subsequent HTTP request to access the resource will include another Cookie with information indicating that the resource is accessible at the destination.
-
-
28. A system for load balancing access to a resource indicated in a hyper text transport protocol (HTTP) request, comprising:
-
(a) a memory for storing logical instructions; and
(b) a processor for executing the logical instructions stored in the memory, the execution of the logical instructions causing functions to be performed, including;
(i) examining an HTTP request to determine when a Cookie is included with the HTTP request, the Cookie including information that identifies a sender of the HTTP request;
(ii) when the Cookie is included in the HTTP request, comparing the information identifying the sender to a table of at least one destination, the HTTP request being sent to a destination that is associated with the identified sender in the table;
(iii) generating an HTTP response at the destination, the HTTP response providing access to the requested resource;
(iv) inserting a copy of the information in the Cookie into the HTTP response; and
(v) sending the HTTP response with the copy of the information in the Cookie to the identified sender of the HTTP request, so that a subsequent HTTP request to access the resource from the identified sender will include another Cookie with information that identifies the sender of the subsequent HTTP request.
-
-
29. A method for load balancing access to a resource identified in a hyper text transport protocol (HTTP) request, comprising:
-
(a) receiving an HTTP request at a server array controller from a sender;
(b) employing the server array controller to examine the HTTP request to determine when a Cookie is included with the HTTP request, wherein the Cookie includes information that indicates a destination server for accessing the resource identified in the HTTP request;
(c) sending the HTTP request to the destination server indicated by the Cookie'"'"'s information;
(d) at the destination server, generating an HTTP response that provides access to the requested resource and includes a copy of the information in the Cookie; and
(e) sending the HTTP response to the sender of the HTTP request, so that a subsequent HTTP request from the sender to access the resource will include another Cookie with information indicating that the resource is accessible at the destination server.
-
Specification