Data Indexing and Retrieval

Problems of Data Indexing and Retrieval

Data of the RADIAN infrastructure are stored on public blockchains such as Polygon and decentralized servers such as IPFS and Arweave. These storage facilities are composed of a network of nodes. Data can be fetched from these nodes directly using RPC APIs. This approach is usually slow and inefficient as the data are raw and unprocessed. Node access is not usually available and may be subject to rate limiting policy if using free RPC API.

RADIAN supplies both a centralized and decentralized solution for fetching data from nodes. The former provides more functions compared to the latter. The decentralized solution is here to provide the minimum functionality for the infrastructure in case the centralized service is no longer available.

Decentralized Solution

Subgraphs are set up for reading events from smart contracts and processed into GraphQL API. It is hosted on the Hosted Network provided by The Graph. It will migrate to the Graph Network in the future. During the creation of Posts, Profiles, or Identities, users can input an additional field of Tag. This field will be emitted in the event and will be parsed in the Subgraph for search and filtering of user content alongside the standard fields emitted in the events.

Graph URL: To be Added

Centralized Solution

Centralized Servers are set up for a more comprehensive use case. Data from the blockchain nodes and IPFS nodes are fetched and parsed in the server to provide a graphQL API. All content data are utilized to give the best possible search experience. Additional information such as NFT data is fetched with APIs.

Last updated