On Jun 28, 1:23 am, "Lukasz Szybalski" <[EMAIL PROTECTED]> wrote:
> On Fri, Jun 27, 2008 at 10:07 AM, Christopher Arndt <[EMAIL PROTECTED]> wrote:
>
> > Lukasz Szybalski schrieb:
> >> On Fri, Jun 27, 2008 at 1:17 AM, Sanjay <[EMAIL PROTECTED]> wrote:
> >> I don't think you want to reverse proxy in high traffic site. You use
> >>mod_wsgito run your TG app inside of apache. Apache thread takes care
> >> of the whole thing.
>
> >>http://code.google.com/p/modwsgi/wiki/PerformanceEstimates
>
> > Since the page you refer to does not include a reverse proxy setup in
> > the comparison, I wonder, how you come to this conclusion? Any evidence
> > thatmod_wsgiis faster than a reverse proxy setup?
>
> quote
> from:http://blog.dscpl.com.au/2007/07/web-hosting-landscape-and-modwsgi.html
>
> "Running applications in the Apache child processes would generally
> always result in the best performance possible when compared to other
> alternatives available for using Python with Apache such as
> mod_fastcgi and mod_scgi or even a second web server behind mod_proxy.
> This is because the Python application is running in the same process
> that is accepting and performing the initial parsing of the request
> from a client. In other words, overhead is as low as it can be as
> everything is done together in the one process."
>
> You could probobly get in touch with Graham, and ask him to add
> reverse proxy to the list.
Do also heed my comment:
"""Do note though that any gain in performance over mod_python will be
immediately swallowed up as soon as you load up one of the large
Python web frameworks such as Django or TurboGears. This will
especially be the case where a database backend is being used and is
because most of the overhead will then derive from the Python web
framework and any bottlenecks in accessing the database. Any overhead
from mod_wsgi will be a very small component of the total and so any
gain in that area will hardly be noticed."""
Graham
> Second reason I choosemod_Wsgi/apache over reverse proxy is the fact
> that apache starts and stops my app, my logs are unified in one apache
> log file(including log rotation). There is no need for other programs
> to supervise my tg app. You can use apache to serv your static content
> . Can't beat the 4 lines of configuration in apache config file.
>
> Why would you go the harder way?
> Lucas
>
> --
> Where was my car manufactured?http://cars.lucasmanual.com/vin
> TurboGears Manual-Howtohttp://lucasmanual.com/pdf/TurboGears-Manual-Howto.pdf
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"TurboGears" 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/turbogears?hl=en
-~----------~----~----~----~------~----~------~--~---