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

Add P-chain config for cache sizes #1522

Closed
3 tasks
StephenButtolph opened this issue May 18, 2023 · 1 comment
Closed
3 tasks

Add P-chain config for cache sizes #1522

StephenButtolph opened this issue May 18, 2023 · 1 comment
Labels
enhancement New feature or request good first issue Good for newcomers help wanted Looking for someone to address this vm This involves virtual machines
Milestone

Comments

@StephenButtolph
Copy link
Contributor

Context and scope
Currently the P-chain is solely configured by avalanchego level configurations. Until now this has made sense, because the configurations generally impacted the entire node. However, there has been some recent interest to introduce more granular P-chain configs for (ex) API optimizations. Specifically allowing the node operator to specify P-chain state cache sizes would be useful.

TODO

  • Allow configuration of cache sizes when creating an instance of the platformvm state
  • Define a platformvm json config with default values
  • Override default config values from the configBytes
@StephenButtolph StephenButtolph added enhancement New feature or request good first issue Good for newcomers help wanted Looking for someone to address this labels May 18, 2023
@StephenButtolph StephenButtolph added the vm This involves virtual machines label May 30, 2023
@najeal
Copy link
Contributor

najeal commented Jun 28, 2023

I am going to work on this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers help wanted Looking for someone to address this vm This involves virtual machines
Projects
No open projects
Archived in project
Development

No branches or pull requests

2 participants