cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
607
Views
0
Helpful
2
Replies

css11501 Whats the difference in persistence and stickiness

dgambrill
Level 1
Level 1

css11501 Whats the difference in persistence and stickiness

2 Accepted Solutions

Accepted Solutions

jfoerster
Level 4
Level 4

Hi

persistance is if you split/do not split up one client http1.1 session in multiple http sessions (e.g if you want to request images from a cache and the rest from the real server)

stickiness is the mechanismen how you stick a client to a certain server (i.e. by client IP, by ssl-session-id, by cookie...)

regards,

Joerg

View solution in original post

Gilles Dufour
Cisco Employee
Cisco Employee

persistence is an HTTP concept.

With HTTP 1.1 you can now have 1 TCP connection for all your HTTP requests.

With this solution you reduce time by not having to open and close TCP connections for every request.

It is sometimes needed to break persistence to guarantee a better load sharing between the servers.

This is the case when multiplie users use the same proxy server.

The proxy would generally open a persistent connection and use it for all the requests from all the users.

Stickyness is a loadbalancing mechanism to guarantee that every TCP connections are sent to the same server.

You can do stickyness based on source ip, or SSLID, or a cookie, or ...

Stickyness is required when you have a website saving information about a user session [ie: a shopping basket].

Regards,

Gilles.

View solution in original post

2 Replies 2

jfoerster
Level 4
Level 4

Hi

persistance is if you split/do not split up one client http1.1 session in multiple http sessions (e.g if you want to request images from a cache and the rest from the real server)

stickiness is the mechanismen how you stick a client to a certain server (i.e. by client IP, by ssl-session-id, by cookie...)

regards,

Joerg

Gilles Dufour
Cisco Employee
Cisco Employee

persistence is an HTTP concept.

With HTTP 1.1 you can now have 1 TCP connection for all your HTTP requests.

With this solution you reduce time by not having to open and close TCP connections for every request.

It is sometimes needed to break persistence to guarantee a better load sharing between the servers.

This is the case when multiplie users use the same proxy server.

The proxy would generally open a persistent connection and use it for all the requests from all the users.

Stickyness is a loadbalancing mechanism to guarantee that every TCP connections are sent to the same server.

You can do stickyness based on source ip, or SSLID, or a cookie, or ...

Stickyness is required when you have a website saving information about a user session [ie: a shopping basket].

Regards,

Gilles.

Review Cisco Networking for a $25 gift card