Skip to content
This repository has been archived by the owner on Jul 11, 2019. It is now read-only.

Swap out hyperlog for hypercore: selective replication #8

Open
hackergrrl opened this issue Feb 4, 2017 · 1 comment
Open

Swap out hyperlog for hypercore: selective replication #8

hackergrrl opened this issue Feb 4, 2017 · 1 comment

Comments

@hackergrrl
Copy link

hackergrrl commented Feb 4, 2017

This is a non-trivial change, but eventually it'd be great to see Friends using hypercore.

It offers one particular "killer feature" that'd be of great use to Friends, which is selective replication. Hyperlog forces complete replication of a data set, which, for chat, is almost never desirable: you don't want to download 100% of a channel's chat history when you join; you want just the last N messages. Hypercore provides this while still keeping the crypto guarantees on data integrity.

The big caveat is that hypercore doesn't handle many cross-referencing append-only logs like hyperlog does. A great module for someone to build out would be hyperlog-hypercore or hyperlog2: a module that provides hyperlog's API, but is powered by hypercore underneath.

@Flet
Copy link
Member

Flet commented Mar 15, 2017

This is a great idea!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants