On Jul 29, 2011, at 11:57 AM, Mariano Martinez Peck wrote:
On Fri, Jul 29, 2011 at 11:51 AM, Lukas Renggli <renggli@gmail.com> wrote:
Zinc can nicely play out the keep-alive. Kom doesn't support keep-alive. With Swazoo a lot of requests fail if keep-alive is enabled (so I disabled it). Details in the attachment.
what is keep-alive?
The server keeps the socket open after a request-response cycle and allows clients (browsers) to reuse the same socket for multiple requests. This is typically faster than to open a new socket for each request.
In addition to not having to set up a new connection, the other thing that is a problem with short lived TCP request is TCP slow-start: http://en.wikipedia.org/wiki/Slow-start A new TCP connection "probes" by sending a little and then it slowly increases. If you use short-lived TCP connections, it can happen that you are never leaving the slow-start discovery phase. Marcus -- Marcus Denker -- http://marcusdenker.de