[Zope] ZoDB and BIG FILES

Peter Sabaini peter at sabaini.at
Tue Jan 13 05:47:38 EST 2004


Paul Winkler wrote:

> On Tue, Jan 13, 2004 at 12:01:09AM +0100, Sebastien Pastor wrote:
> 
>>Hi there,
>>
>>
>>I am about to finalize a Zope 2 site. It will mainly play the role of 
>>groupware app and storage server.
>>My question is : i know i ll get quicly a big amount of PSD files 
>>(photoshop) they are usually quite heavy. Do you rekon i should store 
>>them on my server file system rather than the ZODB ? Do you see any 
>>trouble putting them all into the DB in a longer term  ? (i know my 
>>python is large-file compiled). 

[snip]

>>Storing on both FS and ZODB is it an 
>>easy thing to do ?
> 
> 
> If you want the files on the filesystem, there are various solutions
> depending on your needs: LocalFS, FilesystemDirectoryView, and APE. 
> I have not evaluated these for performance with large files, except
> LocalFS which I know is at least as slow as normal zope File objects.
> I tend to assume they are all slow.

ExtFile should be quite a bit faster than LocalFS (it streams directly 
from the FS in most cases instead of first loading everything into Zope 
like LocalFS).

Be sure to get the rewritten version Stefan Holek did:

http://zope.org/Members/shh/ExtFile





-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3461 bytes
Desc: S/MIME Cryptographic Signature
Url : http://mail.zope.org/pipermail/zope/attachments/20040113/5dce3d38/smime.bin


More information about the Zope mailing list