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

Efficient way to sync work #6

Open
jrhea opened this issue May 16, 2018 · 0 comments
Open

Efficient way to sync work #6

jrhea opened this issue May 16, 2018 · 0 comments
Assignees

Comments

@jrhea
Copy link
Member

jrhea commented May 16, 2018

Currently work is synced like this:

  1. at the end of each epoch, all peers upload the entire list of work completed to IPFS
  2. broadcast the content address to all peers
  3. all peers download and merge it into their list of work

This could be made more efficient. The best solution would be to create a linked list of content that could be traversed. Once IPNS is available in js-ipfs then a well- known static root could be the starting point. in the meantime, we can design around that.

Another option that would buy some time would be for each peer to only send their latest completedWork to 1 other peer. That peer then merges that list with their completed work list and sends it to another peer. this would greatly reduce the number of lookups to IPFS

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

No branches or pull requests

2 participants