How about config option which will be on by default, whoever wants 
flexibility will need to turn it off?

Vasiljevic Zoran wrote:
> On 25.10.2007, at 18:53, Vlad Seryakov wrote:
> 
>> The other reason i did not want to make it ransparent, it takes a  
>> while
>> to parse >1GB file in Tcl routine, split files and copy them into temp
>> files. In our case we do not want to do it immediately after the  
>> upload,
>> i just keep them in staging area and later or other server will  
>> process
>> them. Making ns_getform transparent will trigger parsing those files
>> immediately and will kill server performance, it will consume conn
>> thread parsing files just to get rid of them on conn thread exit.
> 
> Understand. I still do not like that "conceptually" but I
> understand your point.
> 
> So for multipart uploads exceeding some value you would
> basically need to do one additional step. And this you
> can decide by looking in ns_conn and checking if there
> is a file left for you.
> 
>> When dealing with such big files may be it is better to have more
>> flexibility?
> 
> True. But it is very "awkward" and hidden. And by being
> such, it is prone to misunderstanding.
> 
> Honestly, I do not have an idea how one would make that
> more clear. OTOH, this is not written in stone so perhaps
> when we start deployment, we can figure out if this is
> sufficient or not.
> 
> I will try to explain this behaviour to our web programmers
> and wee what they think about it.
> 
> 
> 
> 
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Splunk Inc.
> Still grepping through log files to find problems?  Stop.
> Now Search log events and configuration files using AJAX and a browser.
> Download your FREE copy of Splunk now >> http://get.splunk.com/
> _______________________________________________
> naviserver-devel mailing list
> naviserver-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/naviserver-devel
> 


-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
naviserver-devel mailing list
naviserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/naviserver-devel

Reply via email to