Skip to main content

Home/ Plone distributed documentation/ Group items tagged 4

Rss Feed Group items tagged

Graham Perrin

Jon Stahl's Journal » Blog Archive » Plone 4: three times faster than Drupal,... - 0 views

  • Plone 4 is faster out of the box than some of the most common PHP platforms
  • three times faster than Drupal, Joomla and Wordpress
  • Plone 4
  • ...26 more annotations...
  • Jan 19th, 2010
  • Jon Stahl
  • Plone 4 is about to
  • enter beta testing prior to a final release
  • performance
  • out of the box
  • over three times faster
  • what does all this mean?  Well, honestly, not much
  • realistic sample content
  • very, very proud of Plone’s raw speed
  • suspect MAMP not to be very efficient
  • For read-only operations, once the objects have made it into ZODB’s object cache no database queries need be made
  • the difference is down to Plone’s use of the ZODB
  • Contrast this to the PHP/MySQL systems which must perform several selects in order to render the page
  • to fetch new objects it’s slower
  • ZODB fetches are serial
  • Archetypes persistent object design is far from optimal (page data is split over several persistent objects, slowing down load time)
  • addressed as part of Dexterity
  • fundamental architectural difference
  • CMSes that use the RDBMS and some kind of ORM or manual SQL (like Drupal, Joomla)
  • those that use an OODBMS such as Plone
  • ‘out of the box’ speed, since that is something a lot of people historically have not liked about Plone
  • less tuning needed to start with
  • even when caching is not applicable we still get the performance boost
  • our installer sets up ZEO with clients for you, so this is “out-of-the-box”
  • counter the (incorrect) perception out there that “Plone is slow”
Graham Perrin

Improvement Proposals (PLIPs) for Plone 4 - 0 views

  •  
    plips drafts
  •  
    It's great to see Trac being used in this way!
  •  
    I experimented with http://dev.plone.org/plone/query?milestone=3.2&type=PLIP http://dev.plone.org/plone/query?milestone=3.3&type=PLIP not expecting to find anything, and found nothing. I assume that the novel use of Trac is related to the work of the (new) Framework Team for Plone 4.
Graham Perrin

Plone 3.1.4 - Plone CMS: Open Source Content Management - 0 views

  • Plone 3.1.4
  • no longer supported
    • Graham Perrin
       
      contentious
Graham Perrin

Zope 3 Known Good Sets - 1 views

  • Zope 3.4.0 Released
  • January 29, 2009
  • integrates very well with the rest of the Python community
  • ...7 more annotations...
  • Zope 3 is now fully converted to an egg-based system
  • The Known Good Set (KGS)
  • a configuration of packages and their versions that are known to work well together
  • verified by running over twelve thousand tests on a daily basis
  • against Python 2.4 and 2.5 on the 32- and 64-bit platforms
  • "nail" the versions
    • Graham Perrin
       
      Is nailing analogous to pinning? In Plone community, I'm more familiar with the word 'pinning'.
  • KGS can be used in several ways
Graham Perrin

Plone 4 architecture - 38 views

  •  
    PDF
  •  
    One of the PNGs at http://www.wuala.com/Zope%20&%20Plone/Plone/2010/01/08/a is based on Martin Aspeli's PDF.
Graham Perrin

Saving the day: recovering lost objects - Jarn · Plone Solutions - 1 views

  • recovering lost objects
  • entire section of his site was missing
  • someone had deleted the object
  • ...26 more annotations...
  • 9 days earlier
  • Undo was no longer an option
  • Truncating the Data.fs (removing all transactions since, including the offending one)
  • undesirable
  • through RelStorage
  • time traveling: zc.beforestorage
  • small additional buildout configuration file
  • beforestorage.cfg
  • [buildout]extends = buildout.cfgeggs += zc.beforestorage ZODB3 zope.proxy[versions]ZODB3 = 3.8.1zope.proxy = 3.4.2[relstorage-patch]recipe = plone.recipe.commandcommand = cd ${buildout:eggs-directory}/ZODB3-3.8.1-py2.4-linux-i686.egg/ZODB curl -s http://svn.zope.de/zope.org/relstorage/tags/1.1c1/poll-invalidation-1-zodb-3-8-0.patch | patch -N -p0 cd ${buildout:directory}update-command = ${relstorage-patch:command}[instance]zope-conf-additional += enable-product-installation False
  • enable-product-installation
  • tells Zope not to try and write product information to the ZODB
  • because zc.beforestorage puts your ZODB in read-only mode
  • edit the zope.conf
  • <zodb_db main>    # Main database    cache-size 650000%import zc.beforestorage%import relstorage <before> before 2008-12-08T10:29:03    <relstorage>        <oracle>            dsn RELSTORAGE_DSN            password xxxxxxxxx            user xxxxxxxx        </oracle>    </relstorage> </before>    mount-point /</zodb_db>
  • impossible as the site stores
  • <before> before 2008-12-08T10:29:03    <relstorage>        <oracle>            dsn RELSTORAGE_DSN            password xxxxxxxxx            user xxxxxxxx        </oracle>    </relstorage> </before>
  • when you start the instance, you are in the past
  • found the lost object
  • Export/Import
  • save the export on the server
  • buildout with your regular buildout file
  • restart
  • import the .zexp
  • reindex the imported content
  • related data that lives outside of the object itself is gone
  • Martijn Pieters
Graham Perrin

New über-buildout with Repoze and Deliverance - Martin Aspeli - 0 views

  • Martin Aspeli
  • Aug 09, 2009
  • all-in-one
  • ...7 more annotations...
  • devleopment-and-production
  • using Repoze, WSGI and Deliverance
  • don't want to be dependent on a live internet connection for production deployment
  • based on the good-py
  • don't extend any remote services in the uber-buildouts
  • the goodness of: ZEO server4 ZEO clients running PasterSoftware load balancing using haproxyA Varnish cachenginx serving static content
  • über-buildout with Repoze and Deliverance
Graham Perrin

Bug #415270 in collective.buildout: "Less memory hungry settings for plone.recipe.zope2... - 0 views

  • Less memory hungry
  • plone.recipe.zope2instance
  • Less memory hungry settings for plone.recipe.zope2instance
  • ...5 more annotations...
  • zodb cache site of 5000 objects
  • too much for servers of 512 MB - 768 MB memory (Plone 3.x)
  • suggest smaller cache
  • cache megabyte limiter
  • release notes
  •  
    Interesting. I'll experiment with my Plone 3.3.4 ZEO cluster on a G4 PowerPC Xserve, where physical RAM is limited to 2 GB …
Graham Perrin

When the Plone installer isn't enough - Immersive Training Experience - 0 views

  • ZopeSkel to get everything started
  • buildout that is based on the latest best practices
  • products and add-ons
  • ...9 more annotations...
  • 10 minute getting started
  • In this case, we want a Plone 3 buildout that grabs the latest stable version of Plone.
  • repeatable deployments
  • paster create -t plone3_buildout mysite
  • python bootstrap.py
  • buildout profiles that extend one another
  • cd mysite
  • predictable results
  • sure to get the same deployment every time you run bin\buildout
Graham Perrin

Accomplishments of Sprint / Improvements to ZopeSkel - 0 views

  • Accomplishments of Sprint / Improvements to ZopeSkel
  • To play with this
  • You can try out the new zopeskel command
  • ...9 more annotations...
  • zopeskel
  • cd /tmp
  • virtualenv --no-site-packages -p /usr/bin/python2.4 test-new-zopeskel
  • cd test-new-zopeskel/
  • . bin/activate
  • svn co http://svn.plone.org/svn/collective/ZopeSkel/branches/bbq-sprint-cewing
  • cd bbq-sprint-cewing/
  • python setup.py develop
  • python setup.py test
  •  
    "now includes, at bottom, instructions for testing out/playing with, for anyone who wants to play with the new, improved zopeskel"
1 - 12 of 12
Showing 20 items per page