-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Distributed file storage #2
Comments
Hi there, Possibly for the peer discovery. My limited understanding of how blockchains for crypto currencies work are that they get replicated out via a gossip protocol so that all peers end up with eventual consistency. So you would still need some mechanism to do this. I should probably point out that the peerz project is currently incomplete. I have rewritten a significant portion to fix my misunderstanding of using zermoq (discovery protocol is now UDP based) before I got sidetracked on other projects. I'll endeavour to polish and push these changes up in the next few weeks. If you are just looking for peer discovery in python you may want to check out https://github.com/zeromq/pyre though I'm not sure whether they implemented the gossip portion yet (i.e. just be local broadcast discovery). |
Hi Steve, Thanks for the reply, I really appreciate it! I'm still in I looked at pyre - looks like they are doing local broadcast discovery, a) peer discovery, UDP, with something to solve NAT traversal. thinking peerz could be useful for a). c) is pretty straightforward to -Jamie
|
All good. Yep, (if the implementation catches up to the vision) peerz would fit into a) and b) above. One of the differences in peerz to kadmelia is that the node identifiers used aren't random but are public keys. This will allow signing and encryption of messages to prevent spoofing of peers. Exactly how this will affect the DHT yet I'm not sure but could contribute to c). I like your idea of having the DHT be the block storage and some kind of shared blockchain being the metadata/journal of the filesystem. Who knows, if you integrated into a crypto currency's blockchain you may even have a way to do paid node resource usage (storage, bandwidth?) in p2p. Guess I'll have to put some more effort into getting this project back up and running. :) |
Hi, I'm interested in building a demonstrator for distributed persistent data storage - something like refuge.io - where nodes can publish content, replicate other nodes' data. I plan to use trusted timestamping or the blockchain to provide verification of data publishing time, and integrity. The goal is to be able for peers to build a trusted distributed database for arbitrary data that is blockchain backed, without bloating the blockchain itself, or having to work around the limitations in bitcoin's transaction format. Do you think, in principle, peerz might be a good choice for the P2P layer?
The text was updated successfully, but these errors were encountered: