Re: NEW ISSUE(S): Retrying Requests

> >Newer servers have TCP keepalive.
>
> Last time I looked at keepalive specs for TCP the sorts of timeouts 
> before keepalives were sent were in the order of hours.

Perhaps he meant _newer_ servers, for which the keepalive intervals
are adjustable.

> IOW not particularly useful, and definitely not useful for a highly 
> loaded HTTP server.

Quite.
> * connection handles then. 
> * kernel resources,
> * Memory
> * firewall hash entries
> * authentication tokens
> * etc etc etc
> 
> There are lots and lots of things you really don't want hanging around 
> forever for idle clients.

Heh.  That was one reason HTTP was _invented_: to avoid the problem of
tying up state for FTP connections.  HTTP was celebrated as "stateless".

It's interesting that people now regard FTP servers as "lightweight"
in comparison to HTTP.  Total turnaround.

I have had people beg me to install an FTP server so they don't have
the overhead of a modern HTTP server!

> As someone who has seen what happens if you don't clean up... it's 
> definitely necessary.

Ok.  And does anyone have any advice, for long a server _needs_ to
keep a persistent connection open?

As noted, if it closes too early, compared with deployed clients, it
can lead to unnecessary errors or ambiguous retryings.

So what sort of timeout is needed to work with the major clients?

-- Jamie

Received on Friday, 7 March 2008 02:34:07 UTC