Skip to content

Proposal: Swarm DB - Indexing and computing queries, jobs and work orders #86

@molekilla

Description

@molekilla

Swarm DB - Indexing and Computing

Swarm DB Indexing and Computing

Summary

A node handles data work orders assing by a router. A database to be useful, besides basic simple queries, requires data indexing, data ETL and batch or recurring jobs.

Given that a node might be a web browser, a mobile phone or a server, not any node can handle any kind of job. In this proposal we define two basic kind of nodes: an indexing and a computing node.

Guide-level explanation

Indexing

Similar to existing protocols like The Graph, where a GraphQL schema is used to index smart contracts, indexing uses a Beeson schema and Beeson Query Language, to index Beeson objects.

Computing

WASM Executables linked to Work Orders are used for data computing use cases. See Swarm DB - Compute Node for more information.

Copyright

Copyright and related rights waived via CC0.

Author

@molekilla (Rogelio Morrell)

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationImprovements or additions to documentation

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions