[Nigel.Metheringham@theplanet.net: persistant ftp]

From: Oskar Pearson <oskar@dont-contact.us>
Date: Tue, 4 Nov 1997 18:10:26 +0200

--MimeMultipartBoundary
Content-Type: text/plain; charset=us-ascii

Since some people aren't on this list... and specifically requested
that someone cross-post...

Oskar

-----Forwarded message from Nigel Metheringham <Nigel.Metheringham@theplanet.net>-----

Return-Path: squid-users-request@nlanr.net
Received: from apollo.is.co.za (apollo.is.co.za [196.4.160.2]) by admin.is.co.za (8.8.6/8.7.3/ISsubsidiary#1) with ESMTP id PAA19095 for <oskar@admin.is.co.za>; Tue, 4 Nov 1997 15:25:14 +0200 (GMT)
Received: from nlanr.net (oceana.sdsc.edu [132.249.40.200]) by apollo.is.co.za (8.8.6/8.7.5/IShub#2) with ESMTP id PAA04742 for <oskar@is.co.za>; Tue, 4 Nov 1997 15:25:04 +0200 (GMT)
Received: (from list@localhost)
        by nlanr.net (8.8.6/8.8.6) id FAA19685;
        Tue, 4 Nov 1997 05:13:11 -0800 (PST)
Resent-Date: Tue, 4 Nov 1997 05:13:11 -0800 (PST)
X-Mailer: exmh version 2.0delta 6/3/97
To: squid-users@nlanr.net
From: Nigel Metheringham <Nigel.Metheringham@theplanet.net>
Subject: persistant ftp
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Date: Tue, 04 Nov 1997 13:12:54 +0000
Sender: nigel@theplanet.net
Message-Id: <E0xSimt-0005eL-00@dingo.theplanet.co.uk>
Resent-Message-ID: <"lbEPeOWmuBA.0.ZS7.cznNq"@oceana.nlanr.net>
Resent-From: squid-users@nlanr.net
X-Mailing-List: <squid-users@nlanr.net> archive/latest/42
X-Loop: squid-users@nlanr.net
Precedence: list
Resent-Sender: squid-users-request@nlanr.net

Has anyone examined the idea of making the ftp connections a little more
persistent?

ftpget could be modified to not shut down the control connection after
each ftp transaction, and to hold the connection open until either a
timeout period has expired, or a new request to a different host is given
to it by the parent squid. If a new request is received for the same
host, then the connection is reused - ie a cd command is sent to set the
right directory and then the ls or get is processed as per usual.

To take advantage of this squid would also need modifying so that when it
selected an ftpget to pass a request to it would have a record of the last
request processed by each ftpget, and then select the idle ftpget with the
same host (if available) or otherwise just the next ftpget in round robin
fashion.

I guess that for people browsing an ftp site this might well give a
significant speedup on the second and subsequent connections.

        Nigel.

-- 
[ Nigel.Metheringham@theplanet.net   -  Systems Software Engineer ]
[ Tel : +44 113 251 6012                   Fax : +44 113 224 0003 ]
[      Real life is but a pale imitation of a Dilbert strip       ]
-----End of forwarded message-----
-- 
"Haven't slept at all. I don't see why people insist on sleeping. You feel
so much better if you don't. And how can anyone want to lose a minute -
a single minute of being alive?"				-- Think Twice
--MimeMultipartBoundary--
Received on Tue Jul 29 2003 - 13:15:44 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:11:28 MST