Skip to content

Avoid forcing the Ledger pulsers when serializing the Ledger State #4191

@dnadales

Description

@dnadales

Storing the ledger state on disk requires forcing the pulser, which consumes a significant amount of CPU time and memory, and raises garbage collection activity significantly. As a consequence, slot leadership checks are missed.

Possible ways to mitigate this are:

  • Store a representation of the thunks involved in the pulser.
  • Drop the information used by the pulser, and restore it when we load the ledger state from disk.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions