Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

peer to peer storage library in java

Tags:

java

p2p

I am developing a java application that will work peer-to-peer. At any given time, there will be over 5000 clients around the world online. Each of these clients will create small files over time. I would like these files to be distributed amongst all the clients and stored, so that anyone can connect and download the filesdump.

Is there any library that would help with that?

like image 475
Anon21 Avatar asked Jan 11 '12 23:01

Anon21


1 Answers

(I'm rephrasing this to make it a little more serious since it's still the only answer)

Try finding a Java bit-torrent library, I just googled and there were a bunch of them--I don't want to list them here because I don't have any personal experience with any of them.

I can tell you that the way it normally operates, bit torrents still require some centralized coordination (The tracker). I'm quite sure that Vues works in a "Trackerless" purely p2p mode so I would look for that specifically when evaluating the libraries.

If this isn't some huge widely-distributed and heavily financed app you are creating I highly recommend looking into some other kind of shared file system like dropbox or even svn, they are not p2p but they are known to work reliably and at least dropbox can work completely in the background, unattended and ignored on any platforms for years without trouble.

like image 110
Bill K Avatar answered Oct 18 '22 05:10

Bill K