On 2/19/07, John_Nowlan <[EMAIL PROTECTED]> wrote:
>
>
> Anyone run into the problem of really, really slow mod_python pylons
> pages?
> I.e. paster serve is < 1s, but under mod_pyton is >10s?
>
> I had to create a virtual python installation and create various symbolic
> links across file systems to get things working, but they do work, just
> really, really slow. Could this be causing slowness?
>
> It seems like each request is 'interpreting/compiling' things from
> scratch.
>
> I do see *.pyc and *.pyo files, i.e.:
>
>
> lrwxrwxrwx   1 jnowlan  ccs        35 Jan 20 05:20 httplib.py ->
> /usr/local/lib/python2.5/httplib.py
> -rw-------   1 jnowlan  ccs     39449 Nov 24 14:46 httplib.pyc
> lrwxrwxrwx   1 jnowlan  ccs        36 Jan 20 05:20 httplib.pyo ->
> /usr/local/lib/python2.5/httplib.pyo
>
> This is on a unix box, and I'm sorry for not providing more details but
> I've become a windows ignoramus and don't know what might be happening under
> unix. As well as being relatively new to python.



The author of mod_python just released (and I haven't tried it, so this is
empty advertising) mod_wsgi.  You might want to look into it.  It could
potentially quite significantly reduce the headaches--whatever they may
be--associated with putting a pylons app behind apache.

Sean

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"pylons-discuss" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/pylons-discuss?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to