Re: Help Needed: Django Server For High Frequent Requests

2016-12-10 Thread Xiao Bo
Thanks! 在 2016年12月10日星期六 UTC-5下午4:43:47,Avraham Serour写道: > > don't use runserver for production ever. > > read the django documentation: > https://docs.djangoproject.com/en/1.10/howto/deployment/ > > after that I suggest using nginx with uwsgi > > it is also worth reading uwsgi documentation, th

Re: Help Needed: Django Server For High Frequent Requests

2016-12-10 Thread Avraham Serour
don't use runserver for production ever. read the django documentation: https://docs.djangoproject.com/en/1.10/howto/deployment/ after that I suggest using nginx with uwsgi it is also worth reading uwsgi documentation, there are a lot of options you can tweak nginx also has some options you can

Re: Help Needed: Django Server For High Frequent Requests

2016-12-10 Thread Xiao Bo
Yes, I did. 在 2016年12月10日星期六 UTC-5下午3:37:17,Avraham Serour写道: > > are you using manage.py runserver? > > > On Fri, Dec 9, 2016 at 10:13 PM, Xiao Bo > > wrote: > >> I'm building a Django server for data collection. However, the program >> seems not capable when the sensing network expands. As tim

Re: Help Needed: Django Server For High Frequent Requests

2016-12-10 Thread Avraham Serour
are you using manage.py runserver? On Fri, Dec 9, 2016 at 10:13 PM, Xiao Bo wrote: > I'm building a Django server for data collection. However, the program > seems not capable when the sensing network expands. As time goes on, the > program doesn't even enter the code piece and report broken pi

Help Needed: Django Server For High Frequent Requests

2016-12-09 Thread Xiao Bo
I'm building a Django server for data collection. However, the program seems not capable when the sensing network expands. As time goes on, the program doesn't even enter the code piece and report broken pipe/connection reset by peer/too many open files errors: Exception happened during proce