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

Document feature UTxO-HD v0.1 #126

Open
6 tasks done
Tracked by #214
dnadales opened this issue Jan 19, 2023 · 1 comment
Open
6 tasks done
Tracked by #214

Document feature UTxO-HD v0.1 #126

dnadales opened this issue Jan 19, 2023 · 1 comment
Labels
documentation Improvements or additions to documentation quarterly-objectives UTxO-HD

Comments

@dnadales
Copy link
Member

dnadales commented Jan 19, 2023

Blog post

UTxO-HD will have an impact on the Cardano node performance for no apparent immediate benefit. We need to:

  • Explain why UTxO-HD is important for the long-term sustainability of the Cardano node.
  • Warn about the expected performance loss.
  • Explain the problem and solution
  • Implications of not solving the problem, in particular, what would the mem requirements be.
  • Explain what this means for sustainability and decentralization.

We need performance metrics so that the community can make an informed decision.

We will relay this information in the form of a draft blogpost to the Cardano Steering Committee.

Checklist

Important information to include

  • Why do we have a changelog diff anchor? Differences between volatile anchors
    and diff anchors.

Structure

Currently, the docs folder is structured as follow:

|-docs
  |-report
  |-website
    |-contents
      |-about-ouroboros
      |-for-developers

As mentioned above, we need some documentation for the general public and some technical documentation aimed at developers.

  • Documentation for the general public (in about-ouroboros): A utxo-hd.md file describing the motivation for UTxO-HD, what users can expect from using either in-memory or LMDB, configuration options, installation requirements
  • Documentation for developers/technical documentation (in for-developers):
    • utxo-hd.md: high-level description of the feature and files structure. Maybe a section on how downstream packages are affected? (I think that's mostly having to use ledger tables and mapkinds in some places)
    • utxo-hd/ : markdown files for important concepts/components.
      • Design concepts (re-iterating parts of the utxo-db-api document, like the partitioned in-memory/on-disk representation)
      • Ledger states with holes
        • Ledger tables
        • Hard fork combinator
      • The new LedgerDB
        • BackingStore
        • Changelog
      • Ledger-HD: more on-disk tables
        ...
@dnadales dnadales changed the title UTxO-HD documentation Document feature UTxO-HD v0.1 Jan 19, 2023
@jasagredo jasagredo added the documentation Improvements or additions to documentation label Apr 13, 2023
@jorisdral jorisdral assigned jorisdral and jasagredo and unassigned jasagredo and jorisdral May 29, 2023
@jorisdral jorisdral transferred this issue from IntersectMBO/ouroboros-network Jun 1, 2023
@jorisdral jorisdral self-assigned this Jun 15, 2023
@dnadales dnadales mentioned this issue Jul 12, 2023
2 tasks
@jorisdral jorisdral removed their assignment Jul 12, 2023
jasagredo added a commit that referenced this issue Aug 8, 2023
@dnadales
Copy link
Member Author

Documentation must wait until version 2 of the LedgerDB API is finished.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation quarterly-objectives UTxO-HD
Projects
Status: 🔖 Ready
Development

No branches or pull requests

3 participants