Home


TCP/IP keep-alive and time-out

If your site has a lot of objects (for instance images) that are sent to a user's browser during a single page request, and these objects are going to be cached, then give careful consideration to the TCP/IP keep-alive setting.

Using keep-alive can help in certain situations where you do not want to be continually tearing down the connection and then reestablishing it for each client request. Turning keep-alive on can give you a performance improvement for that individual client; this is especially important for SSL sessions. The downside is you may lose scalability in terms of the number of connections available for your other clients wanting site access. TCP/IP time-outs can be problematic and are used to determine how long it takes to detect a failed server. Correct settings may be crucial in keeping your site running smoothly during fail-over scenarios.

+

Search Tips   |   Advanced Search