Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[RFE, Discussion, Question]: Exploring possibility of using Identifiers from application side for performance improvement of CORD #449

Open
vatsa287 opened this issue May 9, 2024 · 0 comments
Labels
enhancement New feature or request question Further information is requested

Comments

@vatsa287
Copy link
Member

vatsa287 commented May 9, 2024

Exploring a possibility of creating and using Identifiers from Application side ex. Mark Studio using CORD.js.
Can start with this flow for Asset, Statement, Schema.

Possible Way to do

  • Instead of generating identifiers from primitives/identifiers module, use the already existing functionalities in CORD.js as identifier generation and pass to places in pallets where identifiers are generated using create_identifiers methods.

  • If the apps pass identifiers value and is within bound range, pass as is to the chain,
    else create a identifier just as the present way and pass it to the chain.

  • Chain would have new chain_spec with new mandatory identifier argument in all places where currently creation is taking place, but would be optional in CORD.js

Consequences:

  • Have to explore if there are collision possibilities arising from this method.

Impact:

  • More TPS would be possible as one less computation would take place on the chain.

^^ @amarts @smohan-dw @NiranjanAP

@vatsa287 vatsa287 added enhancement New feature or request question Further information is requested labels May 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request question Further information is requested
Projects
None yet
Development

No branches or pull requests

1 participant