Mdsm
Mdsm

Reputation: 31

TCP idle connection performance

How does the server and client keep the TCP connection open? Is it heavy on the system both cpu-wise and/or network-wise even if the connection is idle?

Upvotes: 0

Views: 486

Answers (1)

Mdsm
Mdsm

Reputation: 31

I found a good article about it http://www.tcpipguide.com/free/t_TCPConnectionManagementandProblemHandlingtheConnec-3.htm

It explains that when a TCP connection is idle, nothing happens on the network and when they need to send data the connection simply opens again.

Some people think the use of "keepalive" messages is necessary to limit the number of idle connections open, and to ensure that no 'broken' connections are kept open.

Others think the keepalive messages are a waste of resources, And possible accidental server disconnection problems.

Upvotes: 1

Related Questions