Skip to content

Do not keep the entire genesis file in memory during node operation #1290

@andynog

Description

@andynog

Context

Based on the findings in #1286, it might be possible to remove the logic that keeps the entire genesis file in memory during node operation. Or at least, load the genesis information on demand only when needed and free it up from memory when not needed. We need to ensure this is not a breaking change and that the current logic that needs to validate/use the genesis information doesn't change any behavior or normal operation. This should be a seamless change that would not require any operational changes. If implemented, it would also be beneficial to provide benchmark reports on the a few metrics before and after this change to demonstrate that are advantages such as less memory footprint during node operation.

Proposal

See discussion below.

ToDo

Metadata

Metadata

Assignees

Labels

P:storage-optimizationPriority: Give operators greater control over storage and storage optimizationP:tech-debtPriority: Technical debt that needs to be paid off to enable us to move faster, reliablybacklogA prioritized task in the team's backlog

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions