bittorent approach
Hello,
i would like to implement somekind of parallell download with java.
I am thinking about algorithms about how to split any media files in pieces(maybe of fixed length) and uniquely identify each piece. Then a way for a computer to retrieve each piece.
( i am dealing in Peer To Peer).
i would be happy if we could start a brainstorming in this thread , this would help me a lot for my school project.
thanks a lot
sebastien
[472 byte] By [
sebvena] at [2007-10-3 10:05:50]

Hi
Thanks for your reply,
I am actually using the JXTA framework as the basis of my application. i was thinking to split my media in pieces of fixed size as bittorrent do, assign each of them some kind of hash values and retrieve them from the JXTA network by query flooding. This kind of thing could work ok for normal file download but since i am doing media streaming: play-while dowloading concept , It is a bit-clumsy, since not all data might be available at the needed time. i have to investigate this further, maybe by using larger chunck of data, this means more time to query the network for the next chunck of data.
regards
sebastien