Skip to content
This repository has been archived by the owner on Feb 8, 2023. It is now read-only.

ipfs levelDOWN module #72

Closed
daviddias opened this issue Nov 23, 2015 · 6 comments
Closed

ipfs levelDOWN module #72

daviddias opened this issue Nov 23, 2015 · 6 comments

Comments

@daviddias
Copy link
Member

Node.js leveldb module was built in a way to support several storage drivers, from levelDB C++ bindings to level.js so that it can be used in the browser.

image

http://leveldb.org/
https://github.com/Level/levelup/blob/master/README.md#leveldown

leveldown interface https://github.com/Level/abstract-leveldown

I'm thinking that it should be interesting to have a IPFS module that implements the same levelDOWN interface, so that all of the ecosystem that lives on top of levelUP (like even SQL datastores), can leverage IPFS as the data storage layer.

This will be also very interesting for all sorts of benchmarks

@seidtgeist
Copy link

@diasdavid Pinging @grncdr. He did all kinds of silly things with ipfs and level abstractions I believe.

@jbenet
Copy link
Member

jbenet commented Nov 24, 2015

+9001
On Mon, Nov 23, 2015 at 18:27 Stephan Seidt notifications@github.com
wrote:

@diasdavid https://github.com/diasdavid Pinging @grncdr
https://github.com/grncdr. He did all kinds of silly things with ipfs
and level abstractions I believe.


Reply to this email directly or view it on GitHub
#72 (comment).

@pgte
Copy link

pgte commented May 21, 2017

Related: #244

@daviddias
Copy link
Member Author

@pgte this can be built without any notion of db sync'ing, in fact it would be interesting to create these primitives so that then the upper layer abstractions to levelDOWN would operate over this IPFS store and replace over time what exists on those layers to do distributed syncing, with IPFS primitives :)

@pgte
Copy link

pgte commented May 22, 2017

@diasdavid yes, that's true, I hadn't thought of that. The data may only have local relevancy, but still be backed by IPFS. That's a good starting point, as we can start figuring out the IPLD structures before we become too concerned with syncing..

@pgte
Copy link

pgte commented May 23, 2017

First take here: a database that only has local key-value structure, backed by IPFS:
https://github.com/pgte/ipfs-level

Next: sync, partly being discussed here: #244

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

No branches or pull requests

4 participants