[Zope] Tracking upload of files to Zope

Dieter Maurer dieter at handshake.de
Mon Sep 29 14:03:46 EDT 2003


Gitte Wange wrote at 2003-9-29 13:11 +0200:
 > ..
 > I have one huge problem with Zope: It's impossible to track how far an
 > upload of a file to Zope is :-((
 > 
 > It seems like Zope "blocks" untill a file is uploaded to Zope making it
 > impossible to tell how many bytes has been transfered or similar.

I have uploaded a 80 MB file into Zope and I can assure you
that Zope did not block (although the server was heavily loaded
and had more than 60 % IO-wait).

In the first stage, ZServer will read your HTTP request (including
the file to upload) and store the file content in a temporary file.
After the complete request is read, ZServer hands the request to Zope
with stores the file in ZODB. Neither of these steps block.

Only the transaction commit blocks the storage (which may be ZEO Server)
for the time of the transaction.


Dieter



More information about the Zope mailing list