[Zope] how much resource?

Michel Pelletier michel@digicool.com
Wed, 01 Mar 2000 21:18:50 -0800


- wrote:
> 
> hi all,
> i'm happy to say that our site (www.emedia.com.my) has been running steadily
> since feb.  and we got our first 1M hits per day yesterday, and zope didn't
> screeched to a halt.
> 
> now i'm wondering how much resource <dtml-if> ..<dtml-call>, <dtml-in> affect
> the sending out of data to users.  will a lot of if and ins bog down the
> server? 

Bog?  No.

> i wanted to do two different page for the same contents i.e. pages
> with tables, and without tables.  i intend to do as what zope.org does for
> printable page where we set a variable in the url or maybe set a cookie.  to do
> that, i need to have an if statement in all files looking for that particular
> variable and render the apropriate header file.   will this affect response
> time?

Yes.  Measureable in milliseconds.  It's really not that much to worry
about just doing one conditional evaluation.  What you really want to
avoid are long loops.

-Michel