[Owncloud] OwnClouds Future

Cosmin Gorgovan cosmin at linux-geek.org
Sun Mar 21 23:46:30 UTC 2010


On 03/21/2010 11:13 PM, Evgeniy Ivanov wrote:
> On Mon, Mar 22, 2010 at 2:10 AM, Evgeniy Ivanov<lolkaantimat at gmail.com>  wrote:
>    
>>>    * from what I've read, it doesn't do read-ahead
>>>        
>> Well, I'm not sure if it can be done via http. AFAIK you can only
>> request some file and that's all since server can do path-->file
>> (data) only. Of course there is a way to get only parts of file using
>> special convention (but here you fell into trouble with limitations to
>> directory structure and some other things) and it's done in python
>> very quickly (but here again you will have server side application).
>>
>>      
> Btw, since AFAIK http can provide only full files (not random blocks)
>    
HTTP supports getting limited ranges of a file. The server's reponse 
code is 206 Partial content in case you want to look into that. Just to 
make sure, I'm talking about getting the files from the network share to 
the local disk cache, not about the "readahead" technology from the 
Linux kernel.
> read-ahead can's be done for http-based filesystem, since all you can
> is either get full file or get nothing. You don't know what to read
> ahead.
>
>    
What I'd do would be to get all the files as long as there is disk space 
and there isn't any file activity. The order could be determined by a 
simple probabilistic model (that might be a little over the top), file 
size, or any other criteria.



More information about the Owncloud mailing list