On Nov 19, 7:36 am, Alessandro Ronchi <alessandro.ron...@soasi.com>
wrote:
> I'm running several django applications on different vhosts on a virtual
> server.
> In that virtual server  I have enough ram and cpu and I want to get the
> fastest configuration for mod_wsgi.
>
> I don't have much cuncurrent users on the same virtual host, but I have a
> lot of files for every page so I should try to optimize page loading
>
> Now I'm using
> processes=2 maximum-requests=500 threads=25
>
> with no particular apache optimization.
>
> Do you have any advice?

Yes, don't be so concerned in the first instance of trying to squeeze
the most out of mod_wsgi configuration. You will get much more
dramatic gains by improving your database queries/performance and page/
data caching techniques.

Placing a nginx front end proxy in front of Apache/mod_wsgi to handle
static files also has benefits beyond just static file sharing.

So, what have you done in those areas to improve performance?

In other words, you should perhaps be asking about how to improve your
Django application performance rather than worrying about the hosting
system, as the hosting system is nearly always not going to be the
bottle neck in all of this.

Graham

--

You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-us...@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.


Reply via email to