plonewars.com

August 3rd, 2007

Ian Bicking: Fast CGI that isn’t FastCGI

There’s a bunch of techniques for doing deployments of long-running processes (Zope, Python server, Rails, etc). A pretty good technique is to do HTTP proxying. There’s some details and conventions I’d like to see for HTTP, but that’s not my concern here.

HTTP proxying isn’t great for commodity hosting. Mostly you need to set up a new long-running process, and commodity hosts don’t make that easy or reliable. FastCGI offers one solution to that, essentially putting the process management into Apache or whatever web server you are using.

The problem with FastCGI is that it is finicky. There’s lots of configuration parameters, lots of parts don’t work right, and there seems to be a golden path where things actually work but it’s hard to know exactly what that is.

Another technique that has been used in the past instead of FastCGI is a very small CGI script. One example in SCGI is called cgi2scgi. This small script is fast to run (it compiles to 12kb), and all it does is take the CGI request and turn it into a SCGI request to a long-running server.

This is a nice start, and easy to deploy, except it doesn’t handle long-running processes. A great feature to add to something like this would be simple process management. I imagine something where if the socket (named or a port) that the cgi2scgi script connects to isn’t up or working, it runs a script that will start the server. If another request comes in while the server is starting up, it shouldn’t try to start the server twice. If the server is randomly killed (as is common on commodity hosters) then the next request will try to bring the server up.

Unlike FastCGI, this won’t try to handle different process models or anything fancy. It’s up to the startup script to set everything up properly, start multiple worker processes if necessary, etc. There’s probably some tricky details I haven’t thought of, and it’s slightly annoying to write all this in C (but necessary, since it’s part of the CGI script, which must be small). But I think it can be done better than existing in-the-wild FastCGI implementations.

And when we’re done, I think we could have something that would be a really good basis for commodity hosting of a whole bunch of non-PHP frameworks. You can distribute the Linux binaries, as all the Commodity Hosts That Matter can run those (even the BSD ones should be fine). Easy application installation practically falls right out of that.

Ian Bicking: Fast CGI that isn’t FastCGI

Originally from Planet Plone by Ian Bicking


from Yoda http://plonewars.com/2007/08/03/ian-bicking-fast-cgi-that-isn%e2%80%99t-fastcgi/







August 3rd, 2007

CustomNav (Plone Product)

CustomNav helps you create custom navigation portlets. Starting point, content type filtering, and other, arbitrary catalog query constraints can all be straightforwardly customized. Also, since CustomNav uses the same underlying machinery as the standard

CustomNav (Plone Product)

Originally from del.icio.us/tag/plone by jbaldivieso


from Yoda http://plonewars.com/2007/08/03/customnav-plone-product/







August 3rd, 2007

Rob Porter: Greasemonkey to the rescue!

Making the ZMI a little less irritating.

Rob Porter: Greasemonkey to the rescue!

Originally from Planet Plone by ems174


from Yoda http://plonewars.com/2007/08/03/rob-porter-greasemonkey-to-the-rescue/







August 3rd, 2007

Products — Plone CMS: Open Source Content Management

Products — Plone CMS: Open Source Content Management

Originally from del.icio.us/tag/plone by sarmomemt


from Yoda http://plonewars.com/2007/08/03/products-%e2%80%94-plone-cms-open-source-content-management-5/







August 3rd, 2007

Zea Partners: PloneGov: vote for the “most innovative good practice” EU award

PloneGov has been selected amongst 53 finalists for the Third European e-Governement Awards. PloneGov’s goal is to develop a set of generic tools matching the needs of local government and other public administrations. The initiative is open and aims to reach many more organizations. Each of you can vote for PloneGov in the “most innovative good practice” category and thus help, in concrete terms, this new e-Government open source initiative.

Zea Partners: PloneGov: vote for the “most innovative good practice” EU award

Originally from Planet Plone by nbossut


from Yoda http://plonewars.com/2007/08/03/zea-partners-plonegov-vote-for-the-%e2%80%9cmost-innovative-good-practice%e2%80%9d-eu-award/







August 3rd, 2007

meu site plone yamachine

yamachine

meu site plone yamachine

Originally from del.icio.us/tag/plone by yamandu.costa


from Yoda http://plonewars.com/2007/08/03/meu-site-plone-yamachine/







August 3rd, 2007

New Book – Writing For the Web

New Book – Writing For the Web 03-Aug-07 A tip of the hat to Christian Watson for mentioning … and her new book, Letting Go of Words. Filed in Website, Plone | Comments (0) »

New Book – Writing For the Web

Originally from [Technorati] Tag results for plone


from Yoda http://plonewars.com/2007/08/03/new-book-writing-for-the-web/







August 3rd, 2007

Plone drone

Hey it’s been awhile again and I find myself needing to catch up on things personal. Well…I have spent the last week learning plone and hanging out with some serious nerds … of nerdness…I love Plone. It is the kind of product I need to move beyond the little guy cms stuff

Plone drone

Originally from [Technorati] Tag results for plone


from Yoda http://plonewars.com/2007/08/03/plone-drone/







August 3rd, 2007

Conector python para Oracle

Conector python para Oracle

Originally from del.icio.us/tag/plone by alvaroisp


from Yoda http://plonewars.com/2007/08/03/conector-python-para-oracle/







August 3rd, 2007

Conveyor Blog

nothing there at the time of this post – just looks like a default Plone site

Conveyor Blog

Originally from del.icio.us/tag/plone by danny.hope


from Yoda http://plonewars.com/2007/08/03/conveyor-blog/