trafficserver-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Leif Hedstrom <zw...@apache.org>
Subject Re: proxy.config.http.share_server_sessions
Date Sun, 24 Nov 2013 16:59:39 GMT

On Nov 24, 2013, at 7:15 AM, Pavel Kazlenka <pavel.kazlenka@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



Mime
View raw message