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

Pause indexes during initial / heavy sync #42

Open
hackergrrl opened this issue May 28, 2019 · 0 comments
Open

Pause indexes during initial / heavy sync #42

hackergrrl opened this issue May 28, 2019 · 0 comments

Comments

@hackergrrl
Copy link
Member

Without this, as new data comes in, the main node process has to share time between indexing those new messages and adding new messages to local hypercores. kappa-core has a pause/resume API now, so it's just a matter of either

  1. detecting "initial sync" (whatever that means in a p2p environment), or
  2. detecting "lots" of messages arriving and pause indexes at some threshold until the rate drops back down
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

1 participant