On 24 Jun 2012, at 07:28, piglei wrote:
> when a user upload an photo the server will get blocked and other light 
> requestes can not be processed

Are you using an http server in front of uWSGI?

I recommend nginx, which will only forward the request to the backend when the 
upload is complete, thus decoupling the backend processes or threads from slow 
uploads or downloads.

If you need to monitor the upload progress, there is an nginx module to do just 
that, without losing the decoupling feature.

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

Reply via email to