hashgraph / guardian

The Guardian is an innovative open-source platform that streamlines the creation, management, and verification of digital environmental assets. It leverages a customizable Policy Workflow Engine and Web3 technology to ensure transparent and fraud-proof operations, making it a key tool for transforming sustainability practices and carbon markets.
Apache License 2.0
100 stars 129 forks source link

Non-blocking asynchronous model for the HCS/IPFS calls #1430

Open anvabr opened 1 year ago

anvabr commented 1 year ago

Problem description

Writing files to IPFS can take a particularly long time (more than 30s), and therefore in Guardian profile update for a given user on the Guardian is exceptionally slow on mainnet. This includes generation of the DID for a newly registered user.

Requirements

Implement non-blockin async interactions with IPFS to avoid this issue. TBD: design.

Definition of done

Guardian operations are performed at 'user speed'.

Acceptance criteria

Small delays up to 5s are acceptable.

prernaadev01 commented 10 months ago

Related to #2959