-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Manuel Vázquez Acosta wrote: > Hi all, > > I've been asked to deploy a Plone App which must satisfy a load of at least > 1200 > users over 8 min. > > I have tested a fresh Plone 2.5.3 with Zope 2.9.7, plus Squid + CacheFu and > everything went just fine. The laptop didn't even notice such a load. > > But, when I installed the Plone App, even much smaller load didn't pass the > test. > > Thus, I have to dig into the source code of the app to find the source of the > problems. I have found that the app uses Z3 concepts, specially Views. This > question poped into my mind: > > 1. Does Zope2+Five creates Views everytime they are used, and discard them > afterwards? > > If this is the case, then maybe I should code a ViewFactory which caches > frequently used views. This may help.
Nope, that won't help, because views are bindings between context objects and requests. The time required to create views / adapters is completely negligible compared to the time required to *render* the Plone main template. You need to focus on stripping out features you don't need in that template, and / or caching fragments of it. Tres. - -- =================================================================== Tres Seaver +1 540-429-0999 [EMAIL PROTECTED] Palladion Software "Excellence by Design" http://palladion.com -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFGe92C+gerLs4ltQ4RAmVvAJ9+BXTwKTe9HqIq12XMYfu8CYtJkQCgpuce rRbBU2hqJKAQWXi3zFmS4V4= =zhVX -----END PGP SIGNATURE----- _______________________________________________ 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 )