ConsumerDataStandardsAustralia / register

ACCC CDR Register GitHub issue register for external collaboration
https://cdr-register.github.io/register/
38 stars 4 forks source link

Consideration of granular metadata management. #33

Open kaveenr opened 5 years ago

kaveenr commented 5 years ago

Crosspost of https://github.com/ConsumerDataStandardsAustralia/standards-maintenance/issues/37

Description

Currently, the Data Holder Metadata Management takes place using periodic polling and Metadata AdminAPI call from the CDR registry for immediate updates.

The concern is scalability, Hypothetically with a large number of ADRs on-boarded with the CDR registry, the DH will have to query the complete ADR statuses through the Registry API.

The proposal is to make the APIs more granular allowing query of individual ADRs for metadata updating.

Area Affected

Change Proposed

This proposal will allow DHs to do JIT(Just In Time) provisioning of metadata instead of periodically having to completely retrieve the whole metadata list from the CDR registry.

CDR-Register-Stream commented 4 years ago

Thank you for your proposal.

For now the expectation is that the status APIs growth will not be insurmountable and given the repetitive nature of the content, will gzip nicely. ETags is also being considered to reduce the volume of data transferred.

Granularity of the remaining APIs may be considered in future iterations but will not be considered for the beginning of the regime

kaveenr commented 4 years ago

Thanks,

Just making sure the emphasis is on, as said on the original posting.

This proposal will allow DHs to do JIT(Just In Time) provisioning of metadata instead of periodically having to completely retrieve the whole metadata list from the CDR registry.

That will allow getting ADR statuses on a need to know basis, instead of keeping all ADR data by the DH.

cheers, Kaveen Rodrigo

CDR-Register-Stream commented 4 years ago

@kaveenr your emphasis is definitely noted. We will keep this ticket in place for future considerations of optimisation