You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@trafficserver.apache.org by Pavel Kazlenka <pa...@measurement-factory.com> on 2013/11/24 15:15:45 UTC

proxy.config.http.share_server_sessions

Hi gentlemen,

Does anyone know what are correct values for the option 
proxy.config.http.share_server_sessions? Documentation 
(https://trafficserver.readthedocs.org/en/latest/reference/configuration/records.config.en.html#proxy-config-http-share-server-sessions) 
says that it can be either '0' or '1', but default value (at least in 
4.0.2) is '2'.

Best wishes,
Pavel

Re: proxy.config.http.share_server_sessions

Posted by Leif Hedstrom <zw...@apache.org>.
On Nov 24, 2013, at 7:15 AM, Pavel Kazlenka <pa...@measurement-factory.com> wrote:

> Hi gentlemen,
> 
> Does anyone know what are correct values for the option proxy.config.http.share_server_sessions? Documentation (https://trafficserver.readthedocs.org/en/latest/reference/configuration/records.config.en.html#proxy-config-http-share-server-sessions) says that it can be either '0' or '1', but default value (at least in 4.0.2) is ‘2'

0 - No sharing of origin sessions

1 - Sharing of origin sessions, but with a global session pool across all threads

2 - Sharing of origin sessions, but with a session pool for each thread


2 is the default because it’s  best for performance in almost all cases. When using 1, there’s a significant chance that the client connection and the server session are on different threads, which can introduce latencies due to signaling across the the two event processors on each thread.

— Leif