Re: [Zope] cache for python calls
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Before starting with any kind of performance optimization: figure out your bottlenecks first by profiling your code: ZopeProfiler is your friend. - -aj On 17.04.2009 15:10 Uhr, iarly selbir | ski0s wrote: I'm doing a hard task, trying to improve maximum of possible performance to Zope/Plone server, I already installed CacheFu that improved so much performance, I saw on a blog about cache for Python calls but wasn't explained about your configuration or installation. there are any related product for zope to do it or something like that? The main question is improve a better performance to this server. Any tip/solution is welcome. Thanks in advance. Regards, - - iarly selbir | ski0s :wq! ___ 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 ) - -- ZOPYX Ltd. Co. KG - Charlottenstr. 37/1 - 72070 Tübingen - Germany Web: www.zopyx.com - Email: i...@zopyx.com - Phone +49 - 7071 - 793376 Registergericht: Amtsgericht Stuttgart, Handelsregister A 381535 Geschäftsführer/Gesellschafter: ZOPYX Limited, Birmingham, UK - E-Publishing, Python, Zope Plone development, Consulting -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.9 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAknogKoACgkQCJIWIbr9KYxycgCg2WmTMZwhYQjx5Gc9ulAys8Lb ILYAnAgyB5Oyq5ed77blQY3rpHBa/tUC =1wfI -END PGP SIGNATURE- begin:vcard fn:Andreas Jung n:Jung;Andreas org:ZOPYX Ltd. Co. KG adr;quoted-printable:;;Charlottenstr. 37/1;T=C3=BCbingen;;72070;Germany email;internet:i...@zopyx.com title:CEO tel;work:+49-7071-793376 tel;fax:+49-7071-7936840 tel;home:+49-7071-793257 x-mozilla-html:FALSE url:www.zopyx.com version:2.1 end:vcard ___ 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] cache for python calls
This code isn't my, the server is hosting sites of many govern departments, so my task isn't develop the code but is keep all system working fine without down times. I'm not allowed to change the code, so I'm looking for all other reachable performance features. Regards, - - iarly selbir | ski0s :wq! On Fri, Apr 17, 2009 at 10:14 AM, Andreas Jung li...@zopyx.com wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Before starting with any kind of performance optimization: figure out your bottlenecks first by profiling your code: ZopeProfiler is your friend. - -aj On 17.04.2009 15:10 Uhr, iarly selbir | ski0s wrote: I'm doing a hard task, trying to improve maximum of possible performance to Zope/Plone server, I already installed CacheFu that improved so much performance, I saw on a blog about cache for Python calls but wasn't explained about your configuration or installation. there are any related product for zope to do it or something like that? The main question is improve a better performance to this server. Any tip/solution is welcome. Thanks in advance. Regards, - - iarly selbir | ski0s :wq! ___ 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 ) - -- ZOPYX Ltd. Co. KG - Charlottenstr. 37/1 - 72070 Tübingen - Germany Web: www.zopyx.com - Email: i...@zopyx.com - Phone +49 - 7071 - 793376 Registergericht: Amtsgericht Stuttgart, Handelsregister A 381535 Geschäftsführer/Gesellschafter: ZOPYX Limited, Birmingham, UK - E-Publishing, Python, Zope Plone development, Consulting -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.9 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAknogKoACgkQCJIWIbr9KYxycgCg2WmTMZwhYQjx5Gc9ulAys8Lb ILYAnAgyB5Oyq5ed77blQY3rpHBa/tUC =1wfI -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 )
Re: [Zope] cache for python calls
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Various knobs affect Zope performance...depending on each individual site and their programming and needs..serious further hints require a closer analysis. - -aj On 17.04.2009 15:27 Uhr, iarly selbir | ski0s wrote: This code isn't my, the server is hosting sites of many govern departments, so my task isn't develop the code but is keep all system working fine without down times. I'm not allowed to change the code, so I'm looking for all other reachable performance features. Regards, - - iarly selbir | ski0s :wq! On Fri, Apr 17, 2009 at 10:14 AM, Andreas Jung li...@zopyx.com mailto:li...@zopyx.com wrote: Before starting with any kind of performance optimization: figure out your bottlenecks first by profiling your code: ZopeProfiler is your friend. -aj On 17.04.2009 15:10 Uhr, iarly selbir | ski0s wrote: I'm doing a hard task, trying to improve maximum of possible performance to Zope/Plone server, I already installed CacheFu that improved so much performance, I saw on a blog about cache for Python calls but wasn't explained about your configuration or installation. there are any related product for zope to do it or something like that? The main question is improve a better performance to this server. Any tip/solution is welcome. Thanks in advance. Regards, - - iarly selbir | ski0s :wq! ___ Zope maillist - Zope@zope.org mailto: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 ) - -- ZOPYX Ltd. Co. KG - Charlottenstr. 37/1 - 72070 Tübingen - Germany Web: www.zopyx.com - Email: i...@zopyx.com - Phone +49 - 7071 - 793376 Registergericht: Amtsgericht Stuttgart, Handelsregister A 381535 Geschäftsführer/Gesellschafter: ZOPYX Limited, Birmingham, UK - E-Publishing, Python, Zope Plone development, Consulting -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.9 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAknohNQACgkQCJIWIbr9KYwQVACgsrIG4QXzt+f7Eg8LBBnz7zMO KyYAn2kQA+9OowFe7C6r08fJ8zk3xuqb =qVaQ -END PGP SIGNATURE- begin:vcard fn:Andreas Jung n:Jung;Andreas org:ZOPYX Ltd. Co. KG adr;quoted-printable:;;Charlottenstr. 37/1;T=C3=BCbingen;;72070;Germany email;internet:i...@zopyx.com title:CEO tel;work:+49-7071-793376 tel;fax:+49-7071-7936840 tel;home:+49-7071-793257 x-mozilla-html:FALSE url:www.zopyx.com version:2.1 end:vcard ___ 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] cache for python calls
No problem guy all test that I doing is on test environment xD, errors are acceptable, all problems solution are stored in my personal knowledge base heh Btw I'm reading about memoize installation I don't saw anything related to code changes Look: plone.memoize Installation === * Create a file called ``plone.memoize-configure.zcml`` in the ``/path/to/instance/etc/package-includes`` directory. The file should only contain this:: include package=plone.memoize / Regards, - - iarly selbir | ski0s :wq! On Fri, Apr 17, 2009 at 10:50 AM, Andreas Jung li...@zopyx.com wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Your questions and writings indicate that you have zero background in Zope. Consider getting a consultant. Performance optimizing requires some solid background. - -aj On 17.04.2009 15:49 Uhr, iarly selbir | ski0s wrote: I don't read yet, just read a topic that spoke about and saved your link, because it I asked if you did know Regards, - - iarly selbir | ski0s :wq! On Fri, Apr 17, 2009 at 10:40 AM, Andreas Jung li...@zopyx.com mailto:li...@zopyx.com wrote: Do you know what you are talking about? plone.memoize requires changes to the software and you said you can't change the code?! -aj On 17.04.2009 15:38 Uhr, iarly selbir | ski0s wrote: Do you know the memoize? http://pypi.python.org/pypi/plone.memoize Regards, - - iarly selbir | ski0s :wq! On Fri, Apr 17, 2009 at 10:32 AM, Andreas Jung li...@zopyx.com mailto:li...@zopyx.com mailto:li...@zopyx.com mailto:li...@zopyx.com wrote: Various knobs affect Zope performance...depending on each individual site and their programming and needs..serious further hints require a closer analysis. -aj On 17.04.2009 15:27 Uhr, iarly selbir | ski0s wrote: This code isn't my, the server is hosting sites of many govern departments, so my task isn't develop the code but is keep all system working fine without down times. I'm not allowed to change the code, so I'm looking for all other reachable performance features. Regards, - - iarly selbir | ski0s :wq! On Fri, Apr 17, 2009 at 10:14 AM, Andreas Jung li...@zopyx.com mailto:li...@zopyx.com mailto:li...@zopyx.com mailto:li...@zopyx.com mailto:li...@zopyx.com mailto:li...@zopyx.com mailto:li...@zopyx.com mailto:li...@zopyx.com wrote: Before starting with any kind of performance optimization: figure out your bottlenecks first by profiling your code: ZopeProfiler is your friend. -aj On 17.04.2009 15:10 Uhr, iarly selbir | ski0s wrote: I'm doing a hard task, trying to improve maximum of possible performance to Zope/Plone server, I already installed CacheFu that improved so much performance, I saw on a blog about cache for Python calls but wasn't explained about your configuration or installation. there are any related product for zope to do it or something like that? The main question is improve a better performance to this server. Any tip/solution is welcome. Thanks in advance. Regards, - - iarly selbir | ski0s :wq! ___ Zope maillist - Zope@zope.org mailto:Zope@zope.org mailto:Zope@zope.org mailto:Zope@zope.org mailto:Zope@zope.org mailto:Zope@zope.org mailto:Zope@zope.org mailto: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 mailto:Zope@zope.org mailto:Zope@zope.org mailto: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 ) - -- ZOPYX Ltd. Co. KG - Charlottenstr. 37/1 - 72070 Tübingen - Germany Web: www.zopyx.com - Email: i...@zopyx.com - Phone +49 - 7071 - 793376 Registergericht: Amtsgericht Stuttgart, Handelsregister A 381535 Geschäftsführer/Gesellschafter: ZOPYX Limited, Birmingham, UK - E-Publishing, Python, Zope Plone development, Consulting -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.9 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAknoiScACgkQCJIWIbr9KYwqngCgr/iEpjRRnBkRP9SaLR/IEjzZ 9hgAn1+21YBHYUNgYpW3RFPCUE3Oqr3j =JDL/ -END PGP SIGNATURE- ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope **
Re: [Zope] cache for python calls
iarly selbir | ski0s schrieb: I'm doing a hard task, trying to improve maximum of possible performance to Zope/Plone server, I already installed CacheFu that improved so much performance, I saw on a blog about cache for Python calls but wasn't explained about your configuration or installation. there are any related product for zope to do it or something like that? There are some packages that cache the results of python functions calls. In Plone, plone.memoize is used often. There are others like bda.cache and gocept.cache. For these caches to work you have to decorate the functions you want to call. The main question is improve a better performance to this server. Any tip/solution is welcome. Like Andreas said find out where your bottlenecks are before you change things. You can take a look at the Zope configuration. To small zodb connection caches decrease performance due to unnecessary unpickeling of objects, to big settings or to many threads can make the operating system swap. ..Carsten ___ 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 )