[CPS-users] ZODB storage for large sites??

Lennart Regebro regebro at nuxeo.com
Wed Oct 18 11:41:16 CEST 2006


Joshua Kramer wrote:
>> but I hate the idea of storing my entire site in one data.fs.... 
>> How come?
> 
> Well... what about backup?  Do I have to shut my site down to do a
> nightly backup?

Nope.

> Postgres is more efficient than Zope / ZODB at using multiple
> processors.

Yes, there you have a goof point. If you have large volumes of writing,
a postgres backend my (at least in theory) be faster.

> Also, what if a software bug (or a hardware bug, or an OS bug)
> corrupts some data structure that is in the middle of Data.FS?

Then you have backups. ;) Data is never written to the middle of 
Data.fs, so this would be a very unusual problem.

> Admittedly, I don't know much about it - but no database that I know
> of uses a single file for everything.

Well, neither does FileStorage. The index of objects is in a separate 
file for example.

> Perhaps the ZEO is better suited for this task. 

It enables you to use multiple processors and multiple computers more 
efficiently, so it's always a good idea for big sites, no matter what 
storage you use.

> Does CPS work using the ZEO as a backing store instead of ZODB directly??

Absolutely.

-- 
Lennart Regebro, Nuxeo     http://www.nuxeo.com/
CPS Content Management     http://www.nuxeo.org/



This list archive provided by Nuxeo, the leaders of open source ECM. Check out the Nuxeo 5 open source, standards-based ECM project.