Commit 758067be2d34e305867da767019f80f75361733a
gossip
Michael Williams committed on 11/7/2016, 2:36:40 AMParent: 124c98736ae59de178ad1f5b8343d766fdfbb84b
Files changed
concepts/gossip.md | changed |
concepts/gossip.md | |||
---|---|---|---|
@@ -1,16 +1,24 @@ | |||
1 | 1 … | # Gossip | |
2 | 2 … | ||
3 … | +In Scuttlebutt, 3rd parties can relay (gossip) information for you, which improves availability. | ||
4 … | + | ||
5 … | +Every message is signed, so gossipers cannot interfer with the message - note this is significantly different than real world gossip! _secure_ gossip if you will. | ||
6 … | + | ||
7 … | +[![GOSSIP PHONE](../assets/gossip-phone.jpg)](https://twitter.com/BatLabels/status/700324774833217536) | ||
8 … | + | ||
3 | 9 … | ## Following | |
4 | 10 … | ||
5 | -Users choose which feeds to synchronize by following them. Presently, Scuttlebot's replicate plugin, which is enabled by default, looks on the master user's feed for `type: contact` messages to know which users are currently followed. | ||
11 … | +Users choose which [feeds](./feed.html) to synchronize by following them. | ||
6 | 12 … | ||
13 … | +Presently, Scuttlebot's replicate plugin, which is enabled by default, looks on the master user's feed for `type: contact` messages to know which users are currently followed. | ||
14 … | + | ||
7 | 15 … | ## Replication | |
8 | 16 … | ||
9 | -Since feeds are append-only, replication is simple: request all messages in the feed that are newer than the latest message you know about. Scuttlebot maintains a table of known peers, which it cycles through, asking for updates for all followed feeds. | ||
10 | - | ||
11 | 17 … | Since feeds are append-only, gossip is simple: request all messages in the feed that are newer than the latest message you know about. Scuttlebot maintains a table of known peers, which it cycles through, asking for updates for all followed feeds. | |
12 | 18 … | ||
19 … | +Since the messages are always signed, information can be distributed in any way, such as through a [sneakernet](https://en.wikipedia.org/wiki/Sneakernet). For example, you could put the latest gossip on an SD card and send it to your friend via [pigeon post](https://en.wikipedia.org/wiki/Pigeon_post). | ||
20 … | + | ||
13 | 21 … | ## Network | |
14 | 22 … | ||
15 | 23 … | The protocol creates a [global gossip network](https://en.wikipedia.org/wiki/Gossip_protocol). This means that information is able to distribute across multiple machines, without requiring direct connections between them. | |
16 | 24 … |
Built with git-ssb-web