You didn't say what you're using uwsgi with...  For Python, the default is
to have threads off so i think specifying a number for Python has no effect
unless you also do '--enable-threads=True".  Besides that though, I think a
full explanation of using a process vs a thread is a little beyond this
mailing list.

As for your second question, I use nginx has my http server and it
communicates with uwsgi with wsgi.  I also do it that way because I have
content being served that is just plain static content that doesn't require
uwsgi.

On Wed, Nov 19, 2014 at 4:38 AM, daedae11 <[email protected]> wrote:

> Hi, I'm a new comer for uwsgi.
>
> I'm confused about the two question a whole day:
> 1. I wonder about the difference between argument "--processes 4" and
> argument "--processes 2 --threads 2".
> 2. Why should we use nginx + uwsgi , since uwsgi support http and cluster?
>
> help, please
>
>
>
> _______________________________________________
> uWSGI mailing list
> [email protected]
> http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi
>
>
_______________________________________________
uWSGI mailing list
[email protected]
http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi

Reply via email to