[Zope] Zope performance documentation

Paul Winkler pw_lists@slinkp.com
Mon, 31 Mar 2003 09:09:22 -0800


On Mon, Mar 31, 2003 at 05:09:53PM +0200, Fabio Rolando wrote:
> ...forgive me if I bother you.
> what would Apache do better if I have no files served outside of Zope? I 
> thought that I'd need apache only if I have files to serve that are not 
> "passing" through Zope.Am I wrong?

apache or squid in front of zope gives you some additional protection against
DOS attacks and the like. Zserver alone might not be robust enough for
the level of traffic you anticipate.

another thing to note when specc'ing hardware: SMP does not help you with
zope (or with python in general). Don't waste your money on multiple CPUs
- *unless* your OS gives you the ability to bind a process to a particular
CPU. In that case, you can run ZEO (on the same machine or another)
and run one zope process per CPU.

I'd also consider using DirectoryStorage. You're looking at starting with
1 GB of data at least, and it gets a bit awkward to do backups of a single
GB-sized file.

--PW


> Fabio
> 
> For
> At 17:12 31-03-03 Monday, you wrote:
> >I would use ExtFile for the PDFs, Apache in front and ZEO for failure.
> >
> >1 GHz + Pentiums, 1 GB of RAM (Zope/Python love RAM,) SCSI drives in RAID.
> >
> >BZ
> >
> >> First of all thank you a lot for you attention.
> >> I'm quite new to Zope so it is still difficoult to understand how it will
> >> work when the system will be deployed.
> >> We need to size the system for (all values are the absolute maximumwe
> >> expect) 10.000 authenticated users, 10.000 documents (5000 pdf with 200 
> >Kb
> >> average size, and 500 html), 1000 hits/minute. Do you think we can use
> >> Zope
> >> alone (no ZEO, no Apache)?
> >> Does the server's hardware need to carry anything special?
> >> Thank you.
> >>
> >>
> >>
> >>> >> Hardware is up to you and what you need. You can run it on almost
> >>> >> anything, but if you are going to run http://www.cbsnewyork.com you
> >>> >> will
> >>> >> need more (I think I read that all the sites combined in that Zope
> >>> >> installation run on 48 dual proc linux boxes).
> >>> >
> >>> > that's way off (it's less). maybe i'll ask the boss-man today to see
> >>> if
> >>> > i am allowed to publish some real figures in a document somewhere.
> >>> >
> >>> > jens
> >>> >
> >>> >
> >>> > _______________________________________________
> >>> > Zope maillist  -  Zope@zope.org
> >>> > http://mail.zope.org/mailman/listinfo/zope
> >>> > **   No cross posts or HTML encoding!  **
> >>> > (Related lists -
> >>> >  http://mail.zope.org/mailman/listinfo/zope-announce
> >>> >  http://mail.zope.org/mailman/listinfo/zope-dev )
> >>> >
> >>>
> >>>
> >>>_______________________________________________
> >>>Zope maillist  -  Zope@zope.org
> >>>http://mail.zope.org/mailman/listinfo/zope
> >>>**   No cross posts or HTML encoding!  **
> >>>(Related lists -
> >>>  http://mail.zope.org/mailman/listinfo/zope-announce
> >>>  http://mail.zope.org/mailman/listinfo/zope-dev )
> >>
> >>
> >> _______________________________________________
> >> Zope maillist  -  Zope@zope.org
> >> http://mail.zope.org/mailman/listinfo/zope
> >> **   No cross posts or HTML encoding!  **
> >> (Related lists -
> >>  http://mail.zope.org/mailman/listinfo/zope-announce
> >>  http://mail.zope.org/mailman/listinfo/zope-dev )
> >>
> >
> >
> >_______________________________________________
> >Zope maillist  -  Zope@zope.org
> >http://mail.zope.org/mailman/listinfo/zope
> >**   No cross posts or HTML encoding!  **
> >(Related lists -
> > http://mail.zope.org/mailman/listinfo/zope-announce
> > http://mail.zope.org/mailman/listinfo/zope-dev )
> 
> 
> _______________________________________________
> Zope maillist  -  Zope@zope.org
> http://mail.zope.org/mailman/listinfo/zope
> **   No cross posts or HTML encoding!  **
> (Related lists - 
> http://mail.zope.org/mailman/listinfo/zope-announce
> http://mail.zope.org/mailman/listinfo/zope-dev )

-- 

Paul Winkler
http://www.slinkp.com
Look! Up in the sky! It's SEDUCTIVE PICKLE PIMP!
(random hero from isometric.spaceninja.com)