Re: What is the ideal web server to use with Django?

2015-05-15 Thread Marc Aymerich
On Fri, May 15, 2015 at 10:33 AM, Tom Evans wrote: > On Thu, May 14, 2015 at 4:18 PM, Marc Aymerich wrote: >> On Thu, May 14, 2015 at 11:26 AM, Tom Evans wrote: >>> On our app servers we typically use Apache with worker MPM and >>> mod_wsgi, although we have a few nginx+uwsgi sites, and I would

Re: What is the ideal web server to use with Django?

2015-05-15 Thread Ilya Kazakevich
Hi. I believe the best installation is Apache + wsgi and nginx for static. In some scenarios Apache performance may be your bottleneck, but: 1) there are a lot of ways to tune it. Read about "Multi-Processing Modules" for example. 2) 99% of web applications do have different bottlenecks, not th

Re: What is the ideal web server to use with Django?

2015-05-15 Thread Avraham Serour
>chausette allows you to run over a unix socket, and this allows circusd to easily spin up a new backend (with different code) and transfer requests to that unix socket, whilst leaving the old backend still running. This was the killer feature that I started using uwsgi, you can reload your new dj

Re: What is the ideal web server to use with Django?

2015-05-15 Thread Tom Evans
On Thu, May 14, 2015 at 4:18 PM, Marc Aymerich wrote: > On Thu, May 14, 2015 at 11:26 AM, Tom Evans wrote: >> On our app servers we typically use Apache with worker MPM and >> mod_wsgi, although we have a few nginx+uwsgi sites, and I would dearly >> love some time to play around with a circusd +

Fwd: What is the ideal web server to use with Django?

2015-05-14 Thread Andrew Farrell
: Avraham Serour Date: Thu, May 14, 2015 at 4:40 AM Subject: Re: What is the ideal web server to use with Django? To: django-users@googlegroups.com My main reason for recommending nginx is the config file, they are simpler than apache, when developing an application you shouldn't spend much

Re: What is the ideal web server to use with Django?

2015-05-14 Thread Marc Aymerich
On Thu, May 14, 2015 at 11:26 AM, Tom Evans wrote: > > On Thu, May 14, 2015 at 4:36 AM, reduxionist > wrote: > > The question you asked Tom was "Doesn't Apache create new process for each > > request [thus eating memory when serving large amounts of static files > > during traffic peaks]?", and

Re: What is the ideal web server to use with Django?

2015-05-14 Thread Jonathan Barratt
> On 14 พ.ค. 2558, at 05:26, Tom Evans wrote: > >> On Thu, May 14, 2015 at 4:36 AM, reduxionist >> wrote: >> The reason for those search results is that mpm-prefork does, however, spawn >> a process per request, > > No, really, it does not. It only spawns a new process when there are > no ava

Re: What is the ideal web server to use with Django?

2015-05-14 Thread Avraham Serour
My main reason for recommending nginx is the config file, they are simpler than apache, when developing an application you shouldn't spend much time configuring the web server, only after you reached so much traffic that it would make sense to spend time with it On May 14, 2015 12:26 PM, "Tom Evans

Re: What is the ideal web server to use with Django?

2015-05-14 Thread Tom Evans
On Thu, May 14, 2015 at 4:36 AM, reduxionist wrote: > The question you asked Tom was "Doesn't Apache create new process for each > request [thus eating memory when serving large amounts of static files > during traffic peaks]?", and the reason that Tom correctly answers "No" is > that as far as "s

Re: What is the ideal web server to use with Django?

2015-05-13 Thread reduxionist
On Wednesday, May 13, 2015 at 5:06:47 AM UTC-4, termopro wrote: > > > No. >> >> Cheers >> >> Tom >> > > OK > > > :) > That's only evidence that a lot of people don't know how to "performa

Re: What is the ideal web server to use with Django?

2015-05-13 Thread James Schneider
If you get enough traffic to trounce a (web server of choice) installation, you probably are making enough money to hire an expert with that system to tune it properly or recommend adding additional resources. Don't get bogged down in Apache vs. Nginx vs. uWSGI, etc. You're nowhere near that point

Re: What is the ideal web server to use with Django?

2015-05-13 Thread termopro
> No. > > Cheers > > Tom > OK :) -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving e

Re: What is the ideal web server to use with Django?

2015-05-13 Thread Tom Evans
On Wed, May 13, 2015 at 9:55 AM, termopro wrote: > >> >I have read that >> > Apache's performance degrades on high load. >> >> That is absolute nonsense. >> >> Cheers >> >> Tom > > > Doesn't Apache create new process for each request thus eating memory when > serving large amounts of static files

Re: What is the ideal web server to use with Django?

2015-05-13 Thread termopro
> >I have read that > > Apache's performance degrades on high load. > > That is absolute nonsense. > > Cheers > > Tom > Doesn't Apache create new process for each request thus eating memory when serving large amounts of static files during traffic peaks ? -- You received this message bec

Re: What is the ideal web server to use with Django?

2015-05-13 Thread Tom Evans
On Wed, May 13, 2015 at 2:12 AM, akshat wrote: > I am new to Django. I am building a app which will have to handle several > concurrent requests. Which web server is suitable for this? Any and all. >I have read that > Apache's performance degrades on high load. That is absolute nonsense. Cheer

Re: What is the ideal web server to use with Django?

2015-05-12 Thread kk
I would suggest using Nginx. happy hacking. Krishnakant. On Wednesday 13 May 2015 06:42 AM, akshat wrote: I am new to Django. I am building a app which will have to handle several concurrent requests. Which web server is suitable for this? I have read that Apache's performance degrades on high

Re: What is the ideal web server to use with Django?

2015-05-12 Thread Mario Gudelj
The most common setups I came across are Nginx + Gunicorn and Nginx + uWSGI. Nginx + Gunicorn is really easy to setup and it will probably be sufficient. You just need to have enough Gunicorn workers running for your amount of traffic. I really like this setup http://michal.karzynski.pl/blog/2013/0

What is the ideal web server to use with Django?

2015-05-12 Thread akshat
I am new to Django. I am building a app which will have to handle several concurrent requests. Which web server is suitable for this? I have read that Apache's performance degrades on high load. -- You received this message because you are subscribed to the Google Groups "Django users" group.