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

Idea: IPDB - Database #150

Closed
Closed
@mkg20001

Description

@mkg20001

(moved from ipfs/ipfs#192)
IPDB Idea:

  • local: a database on the client
  • public: a database in the network
  • Peer: a database shared with a specific Peer
    Blocks:
  • public-database
    Contains links to databases and signed change/add requests from Nodes
  • database
    Contains links to tables
  • table
    Contains Blobs (links to others hashes/files) or Strings/Integers/...

Any App could use /ipdb/APP/local or public to load entrys and execute querys

/ipdb/APP/public/PEER <-- public database of PEER
/ipdb/APP/PEER <-- shared with PEER
/ipdb/APP/local <-- local database

After a table is changed a new table Block is created (or something like "changelogs") by the node and a change request for the public database is created.

An alternative would be a mongoDB like structure instead of tables, which would be easier.
both tables and (whatever they are called in mongoDB) in parralel would be also an idea.

Feel free to comment suggestions, it's just a idea.
Sorry for my bad english.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions