tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andrew Miehs <and...@2sheds.de>
Subject Re: Tomcat in a High Traffic Environment
Date Fri, 29 Oct 2004 16:01:29 GMT
Hi Peter,

I am not using keep-alives to keep session persistence, but was rather 
hoping for better client performance. Using keep-alives saves creating 
a tcp connection for each request - and thereby saving 3 tcp packets 
(and roundtrip times) per request.

Andrew

On 29.10.2004, at 17:53, Peter Lin wrote:

> mladen makes a good point. the sites I've worked on, we left the
> keepalive up to the browser and didn't explicitly disable keepalive.
> the sites I've worked on we simply used hardware load balancer to make
> sure the session goes to the right server.
>
> that is usually enough from my experience. my bias perspective is,
> unless the users are sending requests very rapidly, I don't see much
> benefit to using keepalive. If the interval between requests is rather
> long, like minutes, I doubt keepalive would provide any measurable
> benefit.
>
> I would look at the statistics from the http logs to determine whether
> keepalive should be disabled or not.


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Mime
View raw message