[Csci551-talk] Re: [Cs551] Questions about the project

Xi Wang xiw at usc.edu
Thu Mar 17 14:38:18 PST 2005



S. Houtris wrote:
> Hi,
>  
> I have two questions about the project.
>  
> 1) How can a node that has only some segments of the file, find out the 
> total number of segments of that file? Can I make a node that has the 
> whole file pass that information to the other node that has only part of it?
>  
One straightforward way is to always keep the total size with segments. 
Even if a node has only one segment it has the total size with the 
segment, and this information will be exchanged during client-client 
interactions.


> 2)  Do nodes that have the whole file also need to have a copy of the 
> file starting with their id? I mean if it is node 2 does it have to have 
> 2-foo.dat or they can all have foo.dat?
>  

Yes, it should expect 2-foo.dat



> Thanks.
>  
> Solon
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> Cs551 mailing list
> Cs551 at catarina.usc.edu
> http://catarina.usc.edu/mailman/listinfo/cs551


More information about the Csci551-talk mailing list