Dieter Maurer wrote:
Arve Knudsen wrote at 2006-4-23 22:44 +0300:
I already use ZODB as a local persistency service for my Python
application, now I'm considering ZEO as a distributed data source. The
thing is I don't want to keep my local object cache synchronized at all
times with the remote database, my application should only synchronize in
a controlled operation and then work with the disconnected representation.
I fear the ZODB is not made for this use case.
No need for fear. It doesn't peel carrots either. :)
Arve, you want to do this at a much higher level than
ZEO.
Synchronization is in the form of invalidation messages
deeply embedded into the ZODB.
You may simply delay the invalidation messages and
thereby delay synchronization. However, you will problably
suffer from the lack of prefetching support and the need
to synchronize any modification immediately with the ZODB.
IOW, no disconnected writes.
Jim
--
Jim Fulton mailto:[EMAIL PROTECTED] Python Powered!
CTO (540) 361-1714 http://www.python.org
Zope Corporation http://www.zope.com http://www.zope.org
_______________________________________________
For more information about ZODB, see the ZODB Wiki:
http://www.zope.org/Wikis/ZODB/
ZODB-Dev mailing list - ZODB-Dev@zope.org
http://mail.zope.org/mailman/listinfo/zodb-dev