From: Vlad S. <vl...@cr...> - 2006-01-06 16:44:33
|
> I examined the patch in the RFE and it seems to me (not sure though) > that you have more/less duplicated the driver thread processing. > So, we'd have just ONE spool thread collecting data from sockets and > not a spool-thread PER socket? Yes, it is smaller replica of the driver thread because it does exactly the same thing, it reads the data the way driver does it, but uses spooling and upload stats and completely independent from the driver itself. > If this is true, then I believe we have a good interim solution to > the upload blues. At least we can accept number of uploads at the > same time and be able to query statistics. We can even invent kind > of "stop-upload" bit which can be flipped by the inspector to stop > the upload if needed. This can also satisfy requirements about > quota enforcement etc... There will be no thread-pollution as we'll > have just ONE new background thread and we'll be able to support > number of uploads at the same time w/o wasting resources on the server. > Cool. There are a lot of options here actually like: - confg option to enable/disable spooling - number of spooling threads for multi-CPU boxes and heavy upload sites - making spooler thread doing additional checks like quota, permissions etc. -- Vlad Seryakov 571 262-8608 office vl...@cr... http://www.crystalballinc.com/vlad/ |