You are here: Home Articles New über-buildout with Repoze and Deliverance
Navigation
OpenID Log in

 

New über-buildout with Repoze and Deliverance

by Martin Aspeli last modified Aug 09, 2009 08:56 AM

A new devleopment-and-production all-in-one buildout using Repoze, WSGI and Deliverance 0.3

I've just created a new version of the über-buildout that uses:

  • repoze.zope2
  • Deliverance 0.3 (trunk)

and still all the goodness of:

  • ZEO server
  • 4 ZEO clients running Paster
  • Software load balancing using haproxy
  • A Varnish cache
  • nginx serving static content

You can find it in svn here.

This build was based largely on the work of Feneric and Lichota.

Document Actions

Don't forget aclark :-p

Posted by http://aclark.myopenid.com/ at Aug 09, 2009 02:39 PM
It appears also to be based on the good-py I created, though I wonder why you are not extending it directly:
http://good-py.appspot.com/release/repoze.zope2/1.0.

I wonder what you think of making plone.recipe.zope2instance and plone.recipe.zope2zeoserver support repoze? I fiddled with this here: http://svn.plone.org/[…]/ and here: http://svn.plone.org/[…]/
and plan to keep working on it.

The idea would be that we try make it easier for people to just "swap out" Zope2 w/Repoze.

Don't forget aclark :-p

Posted by Martin Aspeli at Aug 10, 2009 03:07 AM
Heh, sorry :)

I don't extend any remote services in the uber-buildouts, because I don't want to be dependent on a live internet connection for production deployment (this presumes you have a warm egg cache, of course).

plone.recipe.zope2zeoserver and plone.recipe.zope2instance do support repoze, in a sense. They're used in this setup. There's no magic repoze script or command runner in the build.

There's also a plone.recipe.repoze2instance, I think, that Hanno made.

The ZEO server side is identical anyway. The client side just needs a valid zope.conf, so really we could just generate that with collective.recipe.template.

Martin

undo in zope on wsgi

Posted by http://sargo.openid.pl/ at Aug 09, 2009 04:55 PM
Very useful piece of code. Thanks!
I'm glad that my work was also helpful :)

But zope on wsgi still have some problems. One of it you found some time ago: http://thread.gmane.org/[…]/focus=714

Is it fixed now? Or you just work without this functionality?

monitoring?

Posted by http://witsch.zitc.de/ at Aug 10, 2009 08:00 AM
cool stuff, martin!

would you care to add munin to the mix? i could send you recipes to set it up, add zope-specific plugins and lighttpd to serve the graphs...

Deliverance

Posted by http://asigottech.myopenid.com/ at Mar 15, 2010 12:55 PM
Nice Buildout : ) I already use(d) HAProxy / Varnish its nice to have a comprehensive buildout to play with.
On a side note it may be an idea to put in lxml deps (python-libxml2 / libxslt-dev ) which it cant be built without which caught me out for a few mins..

Looking forward to Uber Plone 4 Buildout.. : )

Plone Book
Professional Plone 4 Development

I am the author of a book called Professional Plone Development. You can read more about it here.

About this site

This Plone site is kindly hosted by: 

Six Feet Up