I built a website based on TG and followed the instructions at
http://docs.turbogears.org/1.0/mod_python to deploy it through apache2
on a virtual host (ubuntu dapper).
Everything works and I don't see any error messages, but the whole
thing runs awfully slow, and obviously it's not a connection problem.
Response time is about 1-2 secs per page (requested from the same
host). If I run the app standalone (no mod_python, but start-*.py),
it's behaving as expected.
I double checked all configuration files and have no clue where to
look for the cause.
Did anyone experience this before? What could I've done wrong?
-- Daniel
Normally I wouldn't have said anything but nobody else who knew
something replied, so I figured this was better than nothing :)
On Mar 3, 1:54 am, "Daniel Haus" <daniel.h...@gmail.com> wrote:
> Hello,
>
> I built a website based on TG and followed the instructions athttp://docs.turbogears.org/1.0/mod_pythonto deploy it through apache2
I am the author of this mod_python information page. I wrote this
because I was asked to do so by people on this list. I myself do not
use this deployment technique because of this performance issue you
have remarked.
So basically I now use apache's mod_proxy to forward queries to my
standalone tg app.
I don't have any idea about why this is behaving like this but I can
confirm that I had the exact same issues you encountered and thus
decided to switch to an mod_proxy deployment method.
Regards,
Florent AIDE.
On 4 Mrz., 14:23, "Florent Aide" <florent.a...@gmail.com> wrote:
> Hello Daniel,
>
> I am the author of this mod_python information page. I wrote this
> because I was asked to do so by people on this list. I myself do not
> use this deployment technique because of this performance issue you
> have remarked.
>
> So basically I now use apache's mod_proxy to forward queries to my
> standalone tg app.
>
> I don't have any idea about why this is behaving like this but I can
> confirm that I had the exact same issues you encountered and thus
> decided to switch to an mod_proxy deployment method.
>
> Regards,
>
> Florent AIDE.
>
> On 3/2/07, Daniel Haus <daniel.h...@gmail.com> wrote:
>
>
>
> > Hello,
>
> > I built a website based on TG and followed the instructions at
> >http://docs.turbogears.org/1.0/mod_pythonto deploy it through apache2
thanks.
-Tml
On Mar 4, 6:24 am, "Daniel Haus" <daniel.h...@gmail.com> wrote:
> Thank you, this is _really_ useful information.
> I stop searching and directly choose mod_proxy.
>
> On 4 Mrz., 14:23, "Florent Aide" <florent.a...@gmail.com> wrote:
>
> > Hello Daniel,
>
> > I am the author of this mod_python information page. I wrote this
> > because I was asked to do so by people on this list. I myself do not
> > use this deployment technique because of this performance issue you
> > have remarked.
>
> > So basically I now use apache's mod_proxy to forward queries to my
> > standalone tg app.
>
> > I don't have any idea about why this is behaving like this but I can
> > confirm that I had the exact same issues you encountered and thus
> > decided to switch to an mod_proxy deployment method.
>
> > Regards,
>
> > Florent AIDE.
>
> > On 3/2/07, Daniel Haus <daniel.h...@gmail.com> wrote:
>
> > > Hello,
>
> > > I built a website based on TG and followed the instructions at
> > >http://docs.turbogears.org/1.0/mod_pythontodeploy it through apache2