On Monday 06 January 2003 3:04 pm, Crosbie Fitch wrote:
But, I'm wondering about a few things:
1) Are all objects in Zope persistent? ZClass instances? Python objects?
No. For example a ZCatalog has one UI 'presence' but is made up of thousands of persistent objects.
3) If I am expecting a very large number of objects would I always be better off using an external database? or are there circumstances where ZODB is quite able to look after them?
If your stuff looks like a table then use a relational db. If your stuff looks like objects then ZODB will be ok up to several gigabytes.
4) If I need to be assured of being able to backup/restore the database and/or rebuild the site in the event of catastrophe does an external database provide any greater facility/reliability for achieving this?
There are homebrew options for FileStorage. BerkelyStorages and DirectoryStorage have standard tools.
Or is ZEO the thing to use?
Yes, but it doesnt help with backup. -- Toby Dickenson http://www.geminidataloggers.com/people/tdickenson