Thanks for that tip. I will keep an eye out for that when we begin our SSL performance testing. Currently, however, the delay is with regular http connections directly to haproxy.
David Wout Mertens <wout.mert...@gmail.com> wrote: >On Nov 11, 2011, at 17:43 , David Prothero wrote: > >> The local test showed a very small (and more than acceptable) overhead of >> 7ms for the entire page load (all 29 requests) when going through HAProxy. >> However, tests from longer distances over various IP’s showed an overhead >> that seemed to be proportional to the amount of latency in the connection. >> Typical overhead times we are seeing from various locations (both from >> enterprise and consumer grade connections) are around 200-400ms. >> > >Delay values of multiples of 200ms are due to the Nagle algorithm. Try adding > >socket=l:TCP_NODELAY=1 >socket=r:TCP_NODELAY=1 > >to your stunnel configuration. > >Wout.