Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

@peerbit/shared-log: Domain specific replication #306

Open
marcus-pousette opened this issue Aug 11, 2024 · 0 comments
Open

@peerbit/shared-log: Domain specific replication #306

marcus-pousette opened this issue Aug 11, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@marcus-pousette
Copy link
Member

The current solution allows you to replicate on a hash-based domain. I.e. you can replicate a range of hashes that correspond to some content. In reality users more commonly want to replicate content more by some specific criteria, like author or time range. While you can do this with the current solution (create a replication range for each piece of document you want to replicate), it will be inefficient:

For example, a video stream might have millions of chunks of data and you might only want to replicate 1 minute worth of video. This could in theory be represented only with 1 replication range in a time-based domain

A user only wants to replicate their own content, and/or their friends. This could be represented with a replication range for each person instead of a replication range for each document.

TODO

Implement a way of replicating on other domains than the hash based one

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant