blob: fcc2d21131cc9e7fbfa7c83990848bd848e84c3a [file] [log] [blame]
Jamie Hannaforde5145412014-11-06 12:35:59 +01001/*
2Package nodes provides information and interaction with the Session Persistence
3feature of the Rackspace Cloud Load Balancer service.
4
5Session persistence is a feature of the load balancing service that forces
6multiple requests from clients (of the same protocol) to be directed to the
7same node. This is common with many web applications that do not inherently
8share application state between back-end servers.
9
10There are two modes to choose from: HTTP_COOKIE and SOURCE_IP. You can only set
11one of the session persistence modes on a load balancer, and it can only
12support one protocol. If you set HTTP_COOKIE mode for an HTTP load balancer, it
13supports session persistence for HTTP requests only. Likewise, if you set
14SOURCE_IP mode for an HTTPS load balancer, it supports session persistence for
15only HTTPS requests.
16
17To support session persistence for both HTTP and HTTPS requests concurrently,
18choose one of the following options:
19
20- Use two load balancers, one configured for session persistence for HTTP
21requests and the other configured for session persistence for HTTPS requests.
22That way, the load balancers support session persistence for both HTTP and
23HTTPS requests concurrently, with each load balancer supporting one of the
24protocols.
25
26- Use one load balancer, configure it for session persistence for HTTP requests,
27and then enable SSL termination for that load balancer. The load balancer
28supports session persistence for both HTTP and HTTPS requests concurrently.
29*/
30package sessions