Plone优化——用于优化的产品包
Plone优化——用于优化的产品包
http://www.315ok.org/blogfolder/852
http://www.315ok.org/logo.png
Plone优化——用于优化的产品包
Plone优化——用于优化的产品包
Below is a list of addons that help workaround known performance potholes in plone, many of which have been fixed in the latest version. A lot of us are stuck on our good old plone installs so I'm keeping this page around for you. And me.
Be aware that these packages can be for experienced peeps only, since they require a good understanding of the problem in order to configure the fix.
Plone 2.5
Be aware that these packages can be for experienced peeps only, since they require a good understanding of the problem in order to configure the fix.
Plone 2.5
- experimental.catalogqueryplan helps plan better queries, rdbms style
- experimental.contentcreation helps eliminate unnecessary indexing
- experimental.daterangeindexoptimisations helps with the inefficiencies with date indexes
- PloneQueueCatalog (also Plone 3) lets you defer unnecessary indexing until a later time. Perfect for high write sites and helping with ConflictErrors (are you seeing a pattern yet? hint: it rhymes with INDEXING)
- experimental.portalfactoryfix (also Plone 3) if you are heavy based in archetypes, this should help with archetypes overhead in the creation of objects by caching heavily used components in archetypes
- MailDropHost is for those that are starting to see transactions retry multiple times. If you are trying to send an email and the transaction retries, chances are that you will get multiple emails sent. MailDropHost does this asynchronously, which as we already discussed is "yay!", so as to avoid multiple emails. AFAIK, this is not an issue for later version of Plone. Sending an email in python IS NOT CHEAP either way so even if you don't have multiple email issues, if you are sending lots of emails you may want to look into this product. It was a life saver for us old school ploners back in the day.
- experimental.opaquespeedup helps with unnecessary event overhead
- collective.indexing takes a lot of the tools that you see above for plone 2.5 and combines them for plone 3
- collective.solr - if you are not happy with the speed of indexes, you can install another index to take over your SearchableText indexes called solr (Apache/Lucene). While it won't take over the management of solr for you, it will integrate it filly into Plone.
- Products.BooleanIndex
- unimr.compositeindex - "CompositeIndex is a plugin index for the ZCatalog. Indexes containing more than one attribute to index an object are called "composite index". Such indexes should be created if you expect to run queries that will have multiple attributes in the search phrase and all attributes combined will give significantly less hits than the any of the attributes alone. The key of a composite index is called "composite key" and is composed of two or more attributes of an object."
- Chameleon is supposed to make page template rendering much faster by compiling ZPT down to bite code. I haven't used this so I'm not sure on version requirements/actual benefits.