Context
Originated from this comment by @bmuddha
on PR #931.
Description
The chainlink module currently uses Mutex<HashMap> in several places for managing subscriptions and related state.
These could be replaced with scc::HashMap to move toward a lock-free design, improving performance and reducing
contention in the system.
This is identified as a low-hanging fruit refactoring task that can be tracked separately and completed during
the upcoming refactoring phase.
Tasks
Context
Originated from this comment by @bmuddha
on PR #931.
Description
The chainlink module currently uses
Mutex<HashMap>in several places for managing subscriptions and related state.These could be replaced with
scc::HashMapto move toward a lock-free design, improving performance and reducingcontention in the system.
This is identified as a low-hanging fruit refactoring task that can be tracked separately and completed during
the upcoming refactoring phase.
Tasks
Mutex<HashMap>in the chainlink modulescc::HashMapas a replacementMutex<HashMap>withscc::HashMapwhere applicable