From: Zoran V. <zv...@ar...> - 2006-01-06 16:59:38
|
Am 06.01.2006 um 17:46 schrieb Vlad Seryakov: > There are a lot of options here actually like: > - confg option to enable/disable spooling I do not think this is needed. I'd enable it all the time. Or perhaps, if we make it configurable (see below) a 0 count of spooler threads disables the functionality and >0 count enables it. > - number of spooling threads for multi-CPU boxes and heavy upload > sites True. There is one queue for socket structs operated by the SockSpoolPush and SockSpoolPull, so you can start number of spooling threads. Driver thread will fill in the queue (one producer) while the spooler thread(s) will pull from the queue (many consumers). Cool. > - making spooler thread doing additional checks like quota, > permissions etc. Hmmm... plus the location of the temp area where the files are spooled? Well, we can improve this as we go. Important is to have some kind of solution to the basics (controlable upload + statistics), and we have this now. I'm still studying the code. You say you broke something with recent changes? What do you have in mind? Zoran |