[Zope] Thousands of Objects - how do they manifest? (newbie)
Toby Dickenson
tdickenson@geminidataloggers.com
Mon, 6 Jan 2003 18:41:31 +0000
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 thousa=
nds=20
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=20
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?=20
There are homebrew options for FileStorage. BerkelyStorages and=20
DirectoryStorage have standard tools.
> Or is
> ZEO the thing to use?
Yes, but it doesnt help with backup.
--=20
Toby Dickenson
http://www.geminidataloggers.com/people/tdickenson