Thanx Peter, i ll have a look @ ExtFile

Cheers

Seb

Peter Sabaini wrote:
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






_______________________________________________ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )