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.
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 acomputing
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)