Distributed systems, better structure?

I create a program that follows the script:

I have many computers and add each of them to the cluster. Each computer in the cluster can add a file to a distributed table (the dictionary, hashmap, should be fast enough).

So now I have a place where everyone can see what files the group / cluster contains. Now the computer from the group / cluster requests the file. He can access all the information about the file from a distributed table (on which computer he can find the file, etc.).

Through some mechanism, he should get the file from point B (the computer with the file) to point A (the computer that requested the file).

Basically, it should do data replication. (but for very large files)

So, you are probably now wondering what kind of quy is asking, here it is:

Data replication should be as fast as possible. What would be a better approach? I was thinking of something like flux networks.

What would be the best framework that can be used for scripted software?

I HELP FROM JAVA :). (I NEED TO PASS THE CROSS PLATFORM)

Thanks!

+5
source share
4 answers

As I am sure, you have found that there are many libraries for java that allow you to implement such a messy map.

( ), - Hazelcast, . , ( ), ( ), , , .

, , , , node, particalar, node, , HTTP.

+4

JXTA - Sun Java .

Jini , /. Jini, ( ?) , , Javaspaces (I ' m , )

+1

.

For actually copying the file, if at all possible, I would rather not copy anything and just have some kind of general storage solution. If you must use separate drives for each computer, then something simple should work, for example, setting up an FTP server on each computer. This should not be Java based, but if you want the Java solution to work something like Apache MINA ,

0
source

All Articles