Plone-specific optimization of looking up CMF's "opaque items"
Project description
Introduction
experimental.opaquespeedup is an approach to speed up event handling in Plone 3. Currently all events on content objects are getting dispatched to so called “opaque” objects, which are sub-objects not handled by OFS’s ObjectManager class. Apart from the commenting framework such objects are mostly unused nowadays. However, for dispatching every single fired events CMFCatalogAware’s rather expensive method opaqueItems is used in order to collect all “opaque” objects for a given folderish object. The method call wakes up all objects in the folder and is completely uncached. So the more objects reside in a folder and the more event subscribers are being used by the system, the slower things get. And all events count.
This package tries to optimize things by replacing opaqueItems with a version that’ll query the catalog for contained “opaque” objects and cache the results. Initial tests indicate a significant performance improvement.
Changelog
1.0a1 - Released September 2, 2008
Initial release [tesdal, witsch]
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for experimental.opaquespeedup-1.0a1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 823f7df47485ff0e72b03366804b86f68a5fe8b1e97fa3c15c5b41b7e4be0a13 |
|
MD5 | a3908e10caeface53e52ff8be4d8812c |
|
BLAKE2b-256 | d2a484aed14e427a0ab99d181cff6fb0cec55a42abb73e9d2c9d91fed4f44691 |
Hashes for experimental.opaquespeedup-1.0a1-py2.4.egg
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3d5f5d88a73ff63045c5ca80d80e95b93fb745753c4180fbb9f2e6334bafed00 |
|
MD5 | e1a261a3542c340cc1a84b36959dc261 |
|
BLAKE2b-256 | 83889ba94bd835fcdd3577447f5079338ab858f23dde184943b534a1faddc79c |