commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mario Ivankovits <ima...@apache.org>
Subject Re: [VFS] FileSystem close
Date Sun, 04 Jul 2004 06:29:44 GMT
Rami Ojares wrote:

>>Hi,
>>
>>I asked about this a little while ago - when you resolve a file for a SFTP  
>>url, the SFTP file system maintains the session until the file manager is  
>>closed - the solution you propsed (see below) works well, but this will  
>>not work if I try to use this in a multi-threaded environment.
>>
>>What are the general thoughts about this?
>>    
>>
>
>One possible direction to take would be to develop the pooling
>mechanism (maybe use commons-pooling?) and give an option to the
>sftp provider pooling=true|false.
>  
>
Disabling pooling (even the one-sized) is IMHO not an option as this 
might make this FileSystem dog slow and the network bandwith might 
greatly increase - for every request we have to run through the 
authentication process and reattach the sftp channel.

--
Mario

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message