Skip to main content

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.0 - 2009-05-22

  • Package metadata cleanup. [hannosch]

1.0a1 - 2008-09-02

  • Initial release [tesdal, witsch]

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

experimental.opaquespeedup-1.0.zip (13.5 kB view details)

Uploaded Source

File details

Details for the file experimental.opaquespeedup-1.0.zip.

File metadata

File hashes

Hashes for experimental.opaquespeedup-1.0.zip
Algorithm Hash digest
SHA256 0eb8106b2ed28d5fa244428a26bd9a6a747d732ab817a4ec9dc8411b06fb0321
MD5 61fafbd2beb3003ab1a35d0ce8af6142
BLAKE2b-256 71c3dc4758bb187b87183fb8b1883c54491d022f4c591c1d751f1a5106d33683

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page