client keepalive on high trafic site

Václav Bílek v.bilek at 1art.cz
Tue Sep 8 12:47:49 CEST 2009



Poul-Henning Kamp napsal(a):
> In message <4AA633E3.6030508 at 1art.cz>, =?UTF-8?B?VsOhY2xhdiBCw61sZWs=?= writes:
> 
>> I think that is not the problem... when I disable keepalive by seting
>> "connection: close" header then i get 4x higher throughput ( but works
>> bad in IE6)
>> ... till the 8K established connection everithing works fine (low
>> latency responses, only 10%cpu usage on server, load around 1-2)
> 
> Why don't you restrict "connection: close" to non-IE6 then ?
> 
> You can test the User-Agent header in your VCL code
> 


Because i am not shure how to do that ...
I cant test User-Agent in vcl_deliver because 'req.' object is not
accesible there

where shoud i put such a test?



More information about the varnish-misc mailing list