Re: advice with configuration/scaling a live Pylons app.

2008-05-31 Thread askel
Hi Sam, On May 28, 6:12 pm, SamDonaldson [EMAIL PROTECTED] wrote: Yes, lighttpd serving static and all dynamic requests forwarded to the paster process talking SCGI. Should I make the switch to nginx as it seems like everybody has something good to say about nginx, and it's a good load

Re: parameterized controllers

2008-05-31 Thread askel
Hi Wichert, What I use to avoid such repetitions is: # in BaseController # sequence of (param, attr, getter) _fetch = [] def __before__(self): for param, attr, getter in self._fetch: setattr(c, attr, getter(getattr(c, param))) # in CustomerController _getters = ( ('id',

lighttpd use

2008-05-31 Thread Jose Galvez
Just started playing around with lighttpd and I'm trying to figure out how to get it to serve my static content while letting pylons do the fun stuff. Here is a copy of my config. This works but I wanted to see how others are using lighttpd. | # set up folders and files to serve with

Re: lighttpd use

2008-05-31 Thread Paul Bloch
Well, I don't use it but I made the logo. :) On Sat, May 31, 2008 at 11:07 PM, Jose Galvez [EMAIL PROTECTED] wrote: Just started playing around with lighttpd and I'm trying to figure out how to get it to serve my static content while letting pylons do the fun stuff. Here is a copy of my

Re: lighttpd use

2008-05-31 Thread Jose Galvez
so you don't use lighttp but you made their logo? how does that work, I would have assumed that the logo would have been made by either a user with graphics talent or a contracted graphics designer. Paul Bloch wrote: Well, I don't use it but I made the logo. :) On Sat, May 31, 2008 at 11:07

Re: advice with configuration/scaling a live Pylons app.

2008-05-31 Thread SamDonaldson
Hi all, So i'm doing a lot more ab testing. I isolated out the performance on paster and basically wrote an action that does nothing. I find the following: Running ab WITHOUT concurrency (with 4 paster processes OR with only 1 paster). I get a LOWER requests per second and higher average

Re: Pylons Doc as compiled windows help file (chm)

2008-05-31 Thread Noah Gift
On Sat, May 31, 2008 at 9:03 PM, Shannon -jj Behrens [EMAIL PROTECTED] wrote: On Wed, May 28, 2008 at 8:21 AM, Andrew Smart [EMAIL PROTECTED] wrote: -Ursprüngliche Nachricht- Von: pylons-discuss@googlegroups.com [mailto:[EMAIL PROTECTED] Im Auftrag von Andrew Smart Gesendet:

Re: Pylons Doc as compiled windows help file (chm)

2008-05-31 Thread Ben Bangert
On May 31, 2008, at 6:03 PM, Shannon -jj Behrens wrote: I recently learned about http://sphinx.pocoo.org/. It's a PyDoc replacement. It generates static HTML, but it has a built in index with a JavaScript search feature. In my mind, that's the best of both worlds. Also, the new Pylons docs