Hi,

We are running a ecommerce site with Django. We are using uwsgi behind Nginx.

I was planning to use Gevent for our platform for scalability but I am a bit confused with documentation provided regarding the same. We are using a ini file for uWsgi configuration. Is there a standard configuration that could be used with gevent?

I found couple of options:

 * gevent - number of async cores
 * gevent-monkey-patch

Can the above two options be used together?

Is there a standard formula for the number of gevents for optimal performance?

If I configure gevent-monkey-patch, do I need to call monkey.patch_all() in my django application? We are using MySQL as DB.

uWsgi documentation mentions with gevent set, django threads could still be used - does it mean I can have "enable-threads" set?

I am sorry for the plethora of queries as I am new to uwsgi.

Would appreciate if I could get clarifications on the above.

Thanks,
Pinakee Biswas


_______________________________________________
uWSGI mailing list
[email protected]
http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi

Reply via email to