Skip to content
This repository was archived by the owner on Nov 15, 2023. It is now read-only.
This repository was archived by the owner on Nov 15, 2023. It is now read-only.

Lock-free state cache #9320

@arkpar

Description

@arkpar

State cache is currently using LinkedHashMap which is not ideal for concurrent access. Each get requires taking a write lock for the cache refresh. This makes parallel requests for a recent state data inefficient.

LinkedHashMap should be replaced with a data structure that is either lock-free or implements copy-on-write semantics. E.g. ARCache

Related: #9312

Metadata

Metadata

Assignees

No one assigned

    Labels

    I9-optimisationAn enhancement to provide better overall performance in terms of time-to-completion for a task.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions