We could also buffer everything to offload thread memory buffer by default and if buffer hits maximum size we could switch to temporary file (?) Just the idea of pushing every response immediately to offload thread so that once it's done worker can process another request, while the offload thread handles delivering our response to the client, seems nice for me.
2013/5/29 Łukasz Mierzwa <[email protected]> > > https://github.com/unbit/uwsgi-docs/blob/master/Changelog-1.9.12.rst#offloading-big-responses > > Why can't we simply offload everything? > > Doesn't it also helps in cases where client is slow? If so we can't detect > until it's too late, so treating all clients as possibly slow seems > reasonable. > > -- > Łukasz Mierzwa > -- Łukasz Mierzwa
_______________________________________________ uWSGI mailing list [email protected] http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi
