[Zope3-Users] Will zope server crash when uploading huge files inthe same time?

Stephan Richter srichter at cosmos.phy.tufts.edu
Tue Feb 6 13:11:00 EST 2007


On Tuesday 06 February 2007 12:32, Jonathan wrote:
> Just curious: did you implement the size quota via an apache directive (eg.
> LimitRequestBody) or is there some way to implement a size limitation
> within Zope without having the entire file object uploaded first and then
> having an 'after the fact' size check (python script/external method etc)
> which refuses to process the file object if it exceeds the size limit (as
> this would not stop users from consuming server resources while the file is
> initially uploaded and forwarded to zope)?

It is very simple. It checks just before the file is added to the ZODB. The 
chance of spamming is pretty slim in our application, sicne there is a 
registration process involved. We simply want to ensure that users do not 
blow up our database.

Regards,
Stephan
-- 
Stephan Richter
CBU Physics & Chemistry (B.S.) / Tufts Physics (Ph.D. student)
Web2k - Web Software Design, Development and Training


More information about the Zope3-users mailing list