Sunday, March 15, 2020

musings about dht

Brent shambaugh:
scr-1584310817.png scr-1584310817.png
2 replies
Brent Shambaugh:
IPFS uses a DHT. A hash table is a key-value store.
DHT:::
https://en.m.wikipedia.org/wiki/Distributed_hash_table
IPFS::
https://en.m.wikipedia.org/wiki/InterPlanetary_File_System
FWIW. https://thegraph.com/ maps the blockchain to IPFS and exposes queries to a GRAPHQL endpoint. There are a ton of them, including one for Moloch. A ton of them seems bad. I am not married to making thegraph better, but I see a potential application of mmkv.
"A distributed hash table (DHT) is a distributed system that provides a lookup service similar to a hash table: (key, value) pairs are stored in a DHT, and any participating node can efficiently retrieve the value associated with a given key. The main advantage of a DHT is that nodes can be added/removed with minimum work around re-distributing keys. Keys are unique identifiers which map to particular values, which in turn can be anything from addresses, to documents, to arbitrary data. Responsibility for maintaining the mapping from keys to values is distributed among the nodes, in such a way that a change in the set of participants causes a minimal amount of disruption. This allows a DHT to…"

"The InterPlanetary File System (IPFS) is a protocol and peer-to-peer network for storing and sharing data in a distributed file system. IPFS uses content-addressing to uniquely identify each file in a global namespace connecting all computing devices.IPFS allows users to not only receive but host content, in a similar manner to BitTorrent. As opposed to a centrally located server, IPFS is built around a decentralized system of user-operators who hold a portion of the overall data, creating a resilient system of file storage and sharing. Any user in the network can serve a file by its content address, and other peers in the network can find and request that content from any node who has it us…"
thegraph.com
A query protocol for building decentralized applications quickly on Ethereum and IPFS using GraphQL(238 kB)


No comments:

Post a Comment