[Zope] Thousands of Objects - how do they manifest? (newbie)
Crosbie Fitch
crosbie@cyberspaceengineers.org
Mon, 6 Jan 2003 15:04:39 -0000
This is a multi-part message in MIME format.
------=_NextPart_000_001D_01C2B594.F0176ED0
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
I'm thinking of developing an auction system using Zope and I'm going to be
dealing with a lot of objects (if these things are represented that way
rather than as records in a database).
But, I'm wondering about a few things:
1) Are all objects in Zope persistent? ZClass instances? Python objects?
2) Are all object instances visible as entries in a Zope UI folder? Is it
possible to have persistent objects without them being visible? Or does it
not matter that the UI will attempt to list them all (millions or more)?
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?
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? Or is
ZEO the thing to use?
Thanks for answers. :)
------=_NextPart_000_001D_01C2B594.F0176ED0
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 6.00.2800.1106" name=3DGENERATOR></HEAD>
<BODY>
<DIV><FONT face=3DArial size=3D2><SPAN class=3D000323814-06012003>I'm =
thinking of=20
developing an auction system using Zope and I'm going to be dealing with =
a lot=20
of objects (if these things are represented that way rather than as =
records in a=20
database). </SPAN></FONT></DIV>
<DIV><FONT face=3DArial size=3D2><SPAN=20
class=3D000323814-06012003></SPAN></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2><SPAN class=3D000323814-06012003>But, =
I'm wondering=20
about a few things:</SPAN></FONT></DIV>
<DIV><FONT face=3DArial size=3D2><SPAN=20
class=3D000323814-06012003></SPAN></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2><SPAN class=3D000323814-06012003>1) Are =
all objects=20
in Zope persistent? ZClass instances? Python =
objects?</SPAN></FONT></DIV>
<DIV><FONT face=3DArial size=3D2><SPAN=20
class=3D000323814-06012003></SPAN></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2><SPAN =
class=3D000323814-06012003>2) Are all=20
object instances visible as entries in a Zope UI folder? Is it possible =
to have=20
persistent objects without them being visible? Or does it not matter =
that the UI=20
will attempt to list them all (millions or more)?</SPAN></FONT></DIV>
<DIV><FONT face=3DArial size=3D2><SPAN=20
class=3D000323814-06012003></SPAN></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2><SPAN class=3D000323814-06012003>3) If =
I am expecting=20
a very large number of objects would I always be better off using an =
external=20
database? or are there circumstances where ZODB is quite able to look =
after=20
them?</SPAN></FONT></DIV>
<DIV><FONT face=3DArial size=3D2><SPAN=20
class=3D000323814-06012003></SPAN></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2><SPAN class=3D000323814-06012003>4) If =
I need to be=20
assured of being able to backup/restore the database and/or rebuild the =
site in=20
the event of catastrophe does an external database provide any greater=20
facility/reliability for achieving this? Or is ZEO the thing to=20
use?</SPAN></FONT></DIV>
<DIV><FONT face=3DArial size=3D2><SPAN=20
class=3D000323814-06012003></SPAN></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2><SPAN class=3D000323814-06012003>Thanks =
for answers.=20
:)</SPAN></FONT></DIV>
<DIV><FONT face=3DArial size=3D2><SPAN=20
class=3D000323814-06012003></SPAN></FONT> </DIV></BODY></HTML>
------=_NextPart_000_001D_01C2B594.F0176ED0--