This commit is contained in:
Jay Graber 2020-05-24 16:22:00 -07:00
parent 7924d602a8
commit 5a56ef3fe9

43
protocols/dat.md Normal file
View File

@ -0,0 +1,43 @@
# DAT
DAT is a peer-to-peer protocol for distributed file sharing.
## Overview
Dat uses public-key addressing to create a filesystem compatible with peer-to-peer networking.
Content is stored as file drives under a public key. The public key could belong to a person or a site - it serves as the address of the content.
Example of a dat key:
`87ed2e3b160f261a032af03921a3bd09227d0a4cde73466c17114816cae43336`
Organizing content under keys creates a focus on mutable data. Files stored under a requested key can easily change at any time. To track changes, Dat keeps a version log of the dataset over time.
The Beaker browser is a decentralized web browser that uses Dat to allow users to easily publish to the web.
### Data structure
Dat is build on an append-only log called hypercore, which supports novel data structures built on top of it. The primary data structure used is a tried-based tree structure, Hyperdrive, that behaves like a folder of files.
### Network architecture & Connectivity
Dat, like IPFS, uses a DHT to discover peers.
### Identity
Dat optionally uses DNS to give short-names to keys, so that users can have a "foo.com" address.
### Monetization & Business models
Dat is fully open source and free to use. Each individual in the network is responsible for persisting the data they care about by either adding their own resources (running a node) or incentivizing another group to persist their data (paying a pinning service). Therefore, the network grows in capacity as new users join. Services that rely on Dat are incentivized to participate in the public DHT as servers to improve performance and availability of their data - and all participating nodes help with peer-to-peer data transfer and routing.
### Curation/Discovery
### Scalability
Study on scalability of Dat vs HTTP for video streaming: http://www.diva-portal.org/smash/get/diva2:1318896/FULLTEXT01.pdf
### Governance
The Dat protocol's development is coordinated through the Dat Foundation nonprofit, and led by two companies, Blue Link Labs (which develops Beaker browser), and Hyperdivision consulting.