ecosistema-social-decentral.../topics/data.md

28 lines
1.6 KiB
Markdown
Raw Normal View History

2020-06-23 18:54:48 +02:00
# Data
2020-06-17 02:58:11 +02:00
2020-07-01 02:00:26 +02:00
### Data Structures
2020-06-17 02:58:11 +02:00
2020-07-01 02:00:26 +02:00
Shared data structures enable interoperability.
2020-07-01 02:00:26 +02:00
Solid - Solid's data structure is RDF. [RDF](https://www.w3.org/RDF/) uses URIs to name the relationship between things, allowing structured data to be shared across different applications. RDF could potentially [be a barrier to adoption](https://hal.inria.fr/hal-01966561/document), due to its complexity.
2020-06-23 18:54:48 +02:00
Matrix - Matrix transports messages using JSON, and tracks conversation history through DAGs.
2020-06-23 18:54:48 +02:00
Mastodon - ActivityPub uses streams of JSON-LD. Mastodon was formerly compatible with OStatus, which used RSS.
2020-07-01 02:00:26 +02:00
IPFS - IPFS uses a custom data structure, [IPLD](https://ipld.io/), designed to treat hash-linked data structures as subsets of a unified information space.
2020-06-23 18:54:48 +02:00
Ssb - Ssb uses append-only logs of signed JSON.
2020-06-23 18:54:48 +02:00
### Mutability
2020-06-23 18:54:48 +02:00
Federated applications allow users to edit and delete content, handled at the server level. Content may not be guaranteed to be deleted across the entire network in some cases - protocols should require applications to honor delete messages.
2020-06-23 18:54:48 +02:00
P2p applications have more variance around mutability.
2020-07-01 02:00:26 +02:00
Ssb & Hypercore - Messages added to the append-only logs used by ssb and hypercore are immutable. Applications can choose not to display messages indicated as deleted, but the data cannot be overwritten.
2020-06-23 18:54:48 +02:00
IPFS - Once added to a network, content is discoverable by its hash. If a copy remains stored on the network, it is re-discoverable by this reference.
2020-06-30 02:20:44 +02:00
Aether - "Stale" threads that have not been referenced for 6 months get dropped by the network. This design attempts to make posts more ephemeral in a p2p setting.