This repository has been archived by the owner on Nov 15, 2023. It is now read-only.
Lock-free state cache #9320
Labels
I9-optimisation
An enhancement to provide better overall performance in terms of time-to-completion for a task.
State cache is currently using
LinkedHashMap
which is not ideal for concurrent access. Eachget
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. ARCacheRelated: #9312
The text was updated successfully, but these errors were encountered: