From dd628c2dee346c37394eaf527e06a63de540e597 Mon Sep 17 00:00:00 2001 From: Jamie Hewitt Date: Thu, 4 Jul 2024 11:22:43 +0000 Subject: [PATCH] GITBOOK-13: No subject --- developers/ocean-node/README.md | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/developers/ocean-node/README.md b/developers/ocean-node/README.md index b8eb91f9..c521ddb0 100644 --- a/developers/ocean-node/README.md +++ b/developers/ocean-node/README.md @@ -13,3 +13,20 @@ The node is structured into three layers: the network layer for communication, t Flexibility and extensibility are key features of Ocean Node, allowing multiple compute engines, such as Docker and Kubernetes, to be managed within the same framework. The orchestration layer coordinates interactions between the core node and execution environments, ensuring the smooth operation of compute tasks. For details on how to run a node see the [readme](https://github.com/oceanprotocol/ocean-node/) in the GitHub repository. + +#### Ocean Node replaces the Provider: + +* The Node is the only component that can access your data +* It performs checks on-chain for buyer permissions and payments +* Encrypts the URL and metadata during publish +* Decrypts the URL when the dataset is downloaded or a compute job is started +* Provides access to data assets by streaming data (and never the URL) +* Provides compute services (connects to C2D environment) +* Typically run by the Data owner + +#### Ocean Node replaces Aquarius: + +1. Acts as a cache for on-chain data. It stores the metadata from the smart contract events off-chain in a Typesense database. +2. Monitors events: It continually checks for MetadataCreated and MetadataUpdated events, processing these events and updating them in the database. +3. Serves as an API: It provides a REST API that fetches data from the off-chain datastore. +4. Offers easy query access: The API provides a convenient method to access metadata without needing to scan the blockchain.