sonar icon indicating copy to clipboard operation
sonar copied to clipboard

Close unused hypercores

Open Frando opened this issue 5 years ago • 0 comments

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).

Frando avatar Jan 22 '20 10:01 Frando