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

Close unused hypercores #22

Open
Frando opened this issue Jan 22, 2020 · 0 comments
Open

Close unused hypercores #22

Frando opened this issue Jan 22, 2020 · 0 comments

Comments

@Frando
Copy link
Member

Frando commented Jan 22, 2020

Currently all hypercores (both kappa-record-db feeds and hyperdrive feeds) are open all the time. We can reduce this to feeds that either have active peers or are active writers. Other feeds can be closed an re-opened on demand.

This first has to be supported by kappa-record-db and then likely exposed in sonar-dat. It should help a lot with memory issues (and reaching the max opened files limit).

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