32 messages in com.googlegroups.pylons-discussRE: really slow mod_python pylons pag...
FromSent OnAttachments
Ian Bicking16 Feb 2007 15:15 
Robert Leftwich16 Feb 2007 15:49 
Ian Bicking16 Feb 2007 15:56 
Ben Bangert16 Feb 2007 16:01 
Robert Leftwich16 Feb 2007 17:19 
James Gardner18 Feb 2007 09:49 
Cliff Wells18 Feb 2007 11:36 
Bob Ippolito18 Feb 2007 12:19 
Cliff Wells18 Feb 2007 12:47 
James Gardner18 Feb 2007 13:21 
Ian Bicking18 Feb 2007 13:36 
James Gardner18 Feb 2007 14:00 
Bob Ippolito18 Feb 2007 14:20 
James Gardner18 Feb 2007 14:51 
Robert Leftwich18 Feb 2007 15:09 
James Gardner18 Feb 2007 15:41 
Robert Leftwich18 Feb 2007 15:59 
Cliff Wells18 Feb 2007 16:03 
Matt Good18 Feb 2007 23:26 
Robert Leftwich18 Feb 2007 23:54 
Max Ischenko19 Feb 2007 04:19 
Jose Galvez19 Feb 2007 09:56 
John_Nowlan19 Feb 2007 13:09 
wyatt-bC19 Feb 2007 19:00 
Shannon -jj Behrens20 Feb 2007 16:48 
Sean Davis20 Feb 2007 17:37 
Graham Dumpleton20 Feb 2007 19:54 
Sean Davis21 Feb 2007 04:41 
John_Nowlan21 Feb 2007 09:19 
Robert Leftwich21 Feb 2007 16:23 
Cliff Wells22 Feb 2007 14:46 
Robert Leftwich03 Mar 2007 22:03 
Subject:RE: really slow mod_python pylons pages? (the endless 'production' configuration quest)
From:John_Nowlan (john@public.gmane.org)
Date:02/21/2007 09:19:44 AM
List:com.googlegroups.pylons-discuss

Thankyou for all suggestions. It really is appreciated. I can't emphasize that
enough. And my apologies for hijacking the 'Fast Python webserver' thread. I didn't
realize responding in outlook would change the google discussion topic like
that.

The pointers and posts to using a reverse proxy setup led me down that road
(something I had never really explored before), as noted by Max Ischenko - 'May be due to lack of appropriate knowledge? ' -
loved that. It's a learning game, as I'm the first to admit, and the expertise
on this list is invaluable. I hope my questions/problems aren't too annoying.

J.G's <http://pylonshq.com/project/pylonshq/wiki/DaemonTools>
http://pylonshq.com/project/pylonshq/wiki/DaemonTools needs further exploration
re: keeping paste alive as a service but the basic example at <http://httpd.apache.org/docs/2.2/mod/mod_proxy.html>
http://httpd.apache.org/docs/2.2/mod/mod_proxy.html makes the actual proxying
part a snap. Just note that you must enable more than just mod_proxy (the page
does not list the dependencies). Still exploring, no performance numbers yet,
but it seems snappy.

Don't know why there are so many proxy solutions, or why proxy_ajp over
mod_proxyl, but again I know nothing about it.

So proxying actually accomplishes a couple of things for me for now. My initial
pylons foray was to look at replacing a legacy web app with something that
allows templating. Now I can have my prototype live with the production app and
just replace pieces as they are developed. A real bonus.

As for mod_python, still no explanation and need to explore but I have learned
that some of the python components I'm using are going across nfs which is
making me suspicious. As usual, sure to be something at this end. Will try
mod_wsgi when avail.

This 'migrating a legacy web app using pylons' has been a great, if at times
exasperating, experience. This is turning into a blog post, so I should stop but
would like to write about it if I felt it would contribute in some way, as well
as hear what others have done in similar situations.

Cheers, John