How do I optimize TCP stack for HTTP server?

Posted by jcisio on Server Fault See other posts from Server Fault or by jcisio
Published on 2012-04-09T16:52:56Z Indexed on 2012/04/09 17:37 UTC
Read the original article Hit count: 362

Filed under:
|
|
|

I have a HTTP server that serves only two kinds of page: about 10 KB and about 16 KB (both compressed, other files are from CDN). As the latency is quite high (ping takes more than 300 ms), I want to optimize the TCP stack so that client receives the whole page ASAP.

Thus, I have a double question:

  • Which parameter do I have to change (which value of TCP window)?
  • How to change in (a Debian box, and FYI, there is a Varnish before the HTTP server).

© Server Fault or respective owner

Related posts about debian

Related posts about http