[Zope] Why does upload times differ when using FTP or the management interface?

Ausum augusto@artlover.com
Thu, 24 Jan 2002 06:17:30 -0500


These are times of single file uploads, from the local file system:

A tiff file of 4.7 MB:
Using the management interface: 2'10"
Using FTP:   25 seconds

A jpeg of 478Kb:
MI: 14 seconds
FTP: 3 1/2 seconds

An mp3 of 3.6MB:
MI:     1'40"
FTP:   17 seconds

Why is this happening? Times were measured from pushing the required button
until the
page response (in the case of the MI), and until the "transfer complete"
message in FTP. The test box was a Pentium 200 running Windows 2000, Zope
2.5b4, IE 5.5, and WS_FTP95.

Moreover, when using Netscape 4.75 the times were even longer, unless
playing around with the browser window (meaning resizing it several times
during the upload) wich "fasten" the upload by apparently forcing the page
to respond. (It looks more like a Netscape's bug this sort of response
laziness) . Nonetheless FTP was still faster, and doing
the same trick in IE didn't change the times above.

Is it known that FTP is faster even for single uploads? If so, why does it
have to be that way?

Thanks in advance,


Ausum


p.s. As a funny coincidence, the mp3 file had this filename: "Marvin Gaye -
What's Going On.mp3"  :)