10 Dec
2002
10 Dec
'02
7:05 p.m.
Toby Dickenson writes:
...
but serving such big files blocks one of only 4 (per-default) of zopes worker threads. This means that 4 concurrent downloads make it impossible for someone else to get to your server,
No. Worker threads run as fast as they can, and are not constrained by client connection speed. Wirker threads transfer the response to the medusa thread, which spools the reponse back to the client. It can handle thousands of connections. The worker thread needlessly copies the file and stores its content in a temporary file.
Something that can be avoided when the file is directly served from the file system. Dieter