[Zope] Zope and large files strategies?

R. David Murray bitz@bitdance.com
Mon, 31 Jul 2000 12:47:56 -0400 (EDT)


On Mon, 31 Jul 2000, Marcin Kasperski wrote:
> Are there any limitations for placing large (say 15 MB) files inside
> zope databases? What people running zope services and having to serve
> such a files usually do - place them in zope or serve them with apache
> (placing links inside zope web)?

No limits other than those imposed by the OS file system (ie: Linux
is currently limited to 2GB Data.fs files).  If your large objects
are static, placing them in the ZODB is reasonable.  If they are dynamic,
then your Data.fs is going to grown *fast* (a new 15MB chuck for
every change to the object).  You might want to look at the LocalFS
product, which allows you to serve files out of the local file
system through Zope.  Depending on your specific application, that
is probably the better way to go.

--RDM