Skip to main content
Join the official Python Developers Survey 2018 and win valuable prizes: Start the survey!

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.

Filename, size & hash SHA256 hash help File type Python version Upload date
experimental.opaquespeedup-1.0.zip (13.5 kB) Copy SHA256 hash SHA256 Source None May 22, 2009

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page