On Fri, Jun 8, 2012 at 6:38 PM, Leonid Borisenko <[email protected]> wrote: > Citing [1]: "Look at the uwsgi.sendfile() function. This is the fastest way > to send file data to you clients." Citing [2]: "The sendfile()'s uWSGI > (where available) implementation is async-friendly, so if you need to serve > a lot of static files wrapped by python, async mode is a good choice. Look > at the tests/fileserve_async.py file for an example use."
but if you can't use async mode this might not be so good, since no matter how efficient it is, it could tie the whole python interpreter while sending. -- Javier _______________________________________________ uWSGI mailing list [email protected] http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi
