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

leveldown for storing data #486

Closed
calvinmetcalf opened this issue Nov 22, 2015 · 4 comments
Closed

leveldown for storing data #486

calvinmetcalf opened this issue Nov 22, 2015 · 4 comments

Comments

@calvinmetcalf
Copy link

@calvinmetcalf calvinmetcalf commented Nov 22, 2015

it should be possible to seed and download to a levelup db if the file was broken up and the chunks stored separately. This could prevent some of the out of memory issues that are being seen. You could still stream out of it without putting it all in memory.

@calvinmetcalf

This comment has been minimized.

Copy link
Author

@calvinmetcalf calvinmetcalf commented Nov 22, 2015

looks like it could also be done by subing out an indexeddb based chunk store for the memory one by default

@DiegoRBaquero

This comment has been minimized.

Copy link
Member

@DiegoRBaquero DiegoRBaquero commented Dec 11, 2015

Some stores have been created. At the moment I'm working on https://github.com/DiegoRBaquero/lf-chunk-store, it wraps IndexedDB, WebSQL and localStorage, it shows promise

@feross

This comment has been minimized.

Copy link
Member

@feross feross commented Feb 15, 2016

@calvinmetcalf Yeah, the approach we want to take is the indexeddb chunk store.

@feross feross closed this Feb 15, 2016
@lock

This comment has been minimized.

Copy link

@lock lock bot commented May 4, 2018

This thread has been automatically locked because it has not had recent activity. To discuss futher, please open a new issue.

@lock lock bot locked as resolved and limited conversation to collaborators May 4, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
3 participants
You can’t perform that action at this time.