attic-labs / noms

The versioned, forkable, syncable database
Apache License 2.0
7.45k stars 267 forks source link

Is it possible to implement a database backed by, e.g., Google Drive? #3735

Open aboodman opened 6 years ago

aboodman commented 6 years ago

If such were possible, it seems like it would enable multiuser Blockstack apps, using same strategy as decentdb currently does.

aboodman commented 6 years ago

Blockstack is a decentralized app platform. Think Netscape, but it browses the decentralized web, not the traditional web.

Blockstack apps are typically normal web apps, written in JS, that access special APIs exposed by the blockstack browser. Among these APIs are single-user blockstorage. The blockstorage can be backed by Google Drive, Dropbox, etc., at user's option.

If it were possible to put a Noms database in Google Drive, then each user could have their own replica that they synchronize using -- same strategy as decentdb.

That still leaves the problem of how Noms actually runs, since we've deleted the js impl of Noms. But I suppose we could either cross-compile to JS/webasm, or maybe this could be only a solution for command-line apps that talk to blockstack blockchain directly.