Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Possible Duplicate:
Do browsers create new TCP connections for each HTTP requests?

I have a F5 load balancer that directs traffic to 2 web servers with one having a higher priority than the other so all traffic gets sent to it. If the higher priority server goes down this would mean all traffic would get directed to the lower priority server.

My question is if somebody is directed to the lower priority server because the high priority server is down and then the higher priority server comes back up again will the existing connections be maintained to the lower priority server.

I ask because I am being told that they would stay connected to the lower priority server because the TCP connection would remain open. I thought HTTP connections open and close when an object is downloaded so this would be continuously creating new connections and be directed to the high priority server when it came back up.

share|improve this question

marked as duplicate by grawity, JdeBP, Sathya Jan 18 '12 at 9:39

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

    
Did you copy and paste this from a previous question of yours? –  iglvzx Jan 17 '12 at 22:34
    
add comment

1 Answer

HTTP supports keep alives, where a connection is kept alive between the server and the client and re-used for subsequent requests. Most web servers permit you to tune the maximum amount of time a connection can stay open without any activity and how many requests can be sent over the same connection.

share|improve this answer
add comment

Not the answer you're looking for? Browse other questions tagged or ask your own question.