Re: holding connections open: a modest proposal
John Ludeman (johnl@microsoft.com)
Tue, 13 Sep 94 16:52:03 TZ
----------
| From: Gavin Nicol <gtn@ebt.com>
| To: Multiple recipients of list <www-talk@www0.cern.ch>
| Subject: Re: holding connections open: a modest proposal
| Date: Tuesday, September 13, 1994 5:22PM
|
| >Briefly, keeping the connection open requires the server to commit
| >resources until timeout or explicit quit, reducing the number of
| >connections that can be made at one time and reducing the throughput.
|
| This is true, one can architecture servers such that things like file
| handle limits do not apply, but there is still an increase in CPU
| usage when connections are left open. I have never measured the
| different loads, but I would guess that the overhead of having open
| connections, and the overhead of multiplt connections/terminations is
| much the same.
No, you pay a lot for session setup and tear down. You pay in CPU
cycles and resources on the server. You pay in wasted network
throughput for the client which is *extremely* costly on slow links
(aka modem) especially with the ever growing set of hypermedia
documents that have lots of little graphics.
A server that is taking up a large portion of CPU on a non-active
connected socket is a server that should be replaced.
John