Re: [Zope] Several questions on Z3 Views backported thru Five
The Plone App is an Intranet for a customer of my employer that builds upon CMFPlone, but most of its interface is based on Five Views. So we need caching those. Thanks for the tip. I will try ZopeProfiler right away. Best regards, Manuel. Dieter Maurer wrote: Manuel Vázquez Acosta wrote at 2007-6-21 14:16 +: ... 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. What is the Plone App? Use a profiler (e.g. ZopeProfiler) to obtain a timing profile. It will tell you where time is spent for. -- Dieter ___ 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 ) -- View this message in context: http://www.nabble.com/Several-questions-on-Z3-Views-backported-thru-Five-tf3962154.html#a11308846 Sent from the Zope - General mailing list archive at Nabble.com. ___ 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 )
Re: [Zope] Several questions on Z3 Views backported thru Five
I'm heading that way... I have been reading CacheFu does not support yet Five Views, but there's a roadmap (http://plone.org/products/cachefu/roadmap/6). I'm willing to help with that, but I have talked yet to the rest of the participants. However, I have a deadline for this App, I have proposed several in-house caching mechanisms, just for now... Thanks and best regards, Manuel. J Cameron Cooper-8 wrote: 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. My first guess would be that the cache setup need to be configured to work with your application. CacheFu knows about the default setup, but not about a custom application. It may therefore not be caching, or be caching inappropriately. I think examining the response headers is the best way to determine this. --jcc -- Connexions http://cnx.org Building Websites with Plone http://plonebook.packtpub.com ___ 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 ) -- View this message in context: http://www.nabble.com/Several-questions-on-Z3-Views-backported-thru-Five-tf3962154.html#a11308959 Sent from the Zope - General mailing list archive at Nabble.com. ___ 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 )
Re: [Zope] Several questions on Z3 Views backported thru Five
Thanks for your response... I will try that. I have already started to clean up the views and creating a very simple custom caching mechanism to achieve better perfomance. We have made some success, but we're still working. Best regards, Manuel. Tres Seaver wrote: -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 Designhttp://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 ) -- View this message in context: http://www.nabble.com/Several-questions-on-Z3-Views-backported-thru-Five-tf3962154.html#a11309004 Sent from the Zope - General mailing list archive at Nabble.com. ___ 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 )
Re: [Zope] Several questions on Z3 Views backported thru Five
Manuel Vázquez Acosta wrote at 2007-6-21 14:16 +: ... 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. What is the Plone App? Use a profiler (e.g. ZopeProfiler) to obtain a timing profile. It will tell you where time is spent for. -- Dieter ___ 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 )