> On 17 Jan 2019, at 12:53 pm, Himmat Rana <[email protected]> wrote:
> 
> Hi Graham,
> 
> Is there any performance defference 
> 1. Installation into apache
> 2. Installation into python
> 
> I want to upgrade mod_wsgi in my live server

If when you use 'pip install mod_wsgi' method to build mod_wsgi, but then 
manually integrate it into your system Apache and configure the system Apache 
for mod_wsgi, then there is no difference to using mod_wsgi system package. The 
only difference is what mechanism was used to compile mod_wsgi. You are still 
manually configuring Apache in both cases, so performance is dictated by how 
well you configure Apache and mod_wsgi.

If you use mod_wsgi-express start-server to run Apache/mod_wsgi instead, and 
have it handle port 80 instead of the system Apache you get a automatically 
generated Apache configuration which is then used. That generated configuration 
is setup with lots of best practices in mind. Since system Apache is often 
poorly configured for mod_wsgi and Python, using mod_wsgi-express start-server 
can provide a more robust solution that handles various situations better.

In either case, ultimately the bottlenecks are going to be in your code though, 
so unless you have a particularly poor manual Apache/mod_wsgi configuration, 
overheads in your own application are going to be the deciding factor.

Graham

-- 
You received this message because you are subscribed to the Google Groups 
"modwsgi" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/modwsgi.
For more options, visit https://groups.google.com/d/optout.

Reply via email to