tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andrew Miehs <>
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.


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:
For additional commands, e-mail:

View raw message