[Web-SIG] WSGI thread affinity/interleaving

Robert Brewer fumanchu at amor.org
Mon Dec 19 23:23:46 CET 2005


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.

Large *files*, perhaps, but using HTTP for static files is so 2001 ;).
The "streaming/push" requirement is more important to me. Just this
morning, one of my users ran a large report (which I thought had been
set up to stream its output, but isn't doing that now). He specifically
asked that it not wait to be completely-formed before rendering:

    The GSR used to build immediately on the screen when choosing
    "Current Trips". Now the entire GSR builds "off screen"...then
    pops on the screen when it is completely built. This makes for
    a lot of waiting. Can we get the GSR to build immediately on
    the screen again?



Robert Brewer
System Architect
Amor Ministries
fumanchu at amor.org


More information about the Web-SIG mailing list