[Web-SIG] WSGI thread affinity/interleaving

Phillip J. Eby pje at telecommunity.com
Mon Dec 19 23:25:05 CET 2005


At 08:45 AM 12/20/2005 +1100, Rene Dudfield wrote:
>Large files should just return a file.  So that the file descriptor is
>available for the most efficient sending.
>
>So you could use sendfile(2), or another helper process send the file.

This isn't an option for e.g. files stored in a database (including ZODB), 
or generated on the fly, although I suppose you could use a temporary 
file.  Even with a temporary file, however, it doesn't address streaming/push.




More information about the Web-SIG mailing list