On Nov 24, 2013, at 7:15 AM, Pavel Kazlenka 
<[email protected]> 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


Reply via email to