[Zope3-dev] Proposal for optimized Blob handling
Christian Theune
ct at gocept.com
Wed Mar 7 16:03:20 EST 2007
Hi,
Am Mittwoch, den 07.03.2007, 21:37 +0100 schrieb Dieter Maurer:
> Christian Theune wrote at 2007-3-7 21:17 +0100:
> > ...
> >Nope. It won't disappear if you link it again. And the link(src, dst)
> >does move it to a 'save' location ;)
>
> You do not tell us, which "link" you mean.
Sorry. I mean os.link(). Again, check the ZODB list for the actual
proposal.
> Python's "os.link" creates a hard link which will only work
> if source and destination are on the same file system.
Thats a known restriction. You can only do any O(1) operation to moving
data of a file within a single file system.
> It is not uncommon that temporary files are on their own
> filesystem.
In the situation that you want to handle blobs this will not be
possible. This is a restriction that I'm willing to deal with.
Having a temporary file system that handles blobs in addition to a large
filesystem that handles blobs might be required in certain situations,
however, than the O(1) operation won't work and we do have a fallback
implementation already anyway.
Christian
--
gocept gmbh & co. kg - forsterstraße 29 - 06112 halle/saale - germany
www.gocept.com - ct at gocept.com - phone +49 345 122 9889 7 -
fax +49 345 122 9889 1 - zope and plone consulting and development
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Dies ist ein digital signierter Nachrichtenteil
Url : http://mail.zope.org/pipermail/zope3-dev/attachments/20070307/a8041984/attachment.bin
More information about the Zope3-dev
mailing list