RE: File sharing system 11-14-2014, 11:31 PM
#11
I currently have a 1tb exsternal drive if thats to any help?
just got it from family member
just got it from family member
| Poll: How do you like it? You do not have permission to vote in this poll. |
|||
| Good idea | 88.89% |
8 | 88.89% |
| Not so awesome | 11.11% |
1 | 11.11% |
| Total | 9 vote(s) | 100% | |
| * You voted for this item. | [Show Results] |
| File sharing system filter_list | |
just got it from family member
(11-14-2014, 09:43 PM)3SidedSquare Wrote: Am I missing something, or is this just Bittorrent Sync?
http://www.getsync.com/
Inori Wrote: got clickbaited by roger
(11-14-2014, 06:13 PM)phyrrus9 Wrote: Okay, this sparked an idea to me. We don't really have a way to send large files to each other. So, why dont we all chip in and write a system (somewhat like torrents) in which a user uploads a file to the master node. The master node then breaks up the file into pieces (a maximum size like 2mb will be used per chunk), and then distributes each piece to 3 nodes. When a user wants to download the file, it queries the master node for a list of pieces, and the master node gives out the s/list/count of pieces. After that, the client can query the master node for an individual piece, where the master will then send back (chosen by random) one of the slave nodes containing that piece. Then, the client can query the slave node to download the piece. This way, we can keep speed, save drive space, and even have secure file transfers all with a REALLY simple program.
Anybody else like the idea?
If you guys want to make it a thing, we will need about 50 nodes, and I can host the master.
(11-23-2014, 12:37 AM)Aristotle Wrote: It actually sounds like a good idea... however, I'd definitely question the integrity of said file after it has been uploaded... sounds like a very easy way to spread some malicious software. In a system like this, the master node (who we will assume is reliable) should probably keep note of the slaves who possess the pieces of the file (as you said) and in addition to that, some sort of checksum value generated by a function. The master will then use this checksum value to verify the integrity of the data being transferred.
Also, will the downloads be simultaneous? Or will the client download from one node, then another, then another, etc.? I say this because you also need to ensure that the files don't become corrupted. The files have to be joined back together in the correct order, even if they're not downloaded in said order. So I'm guessing the slaves will need to keep track of which piece they have as well...
Another idea, would be to make sure that all of the nodes are online before initiating a transfer... just so that the client doesn't end up getting half of a file to then realize that a node is offline.