hiero-ledger / hiero-ledger/hiero-consensus-node
Make RuntimeObjectRegistry more scalable
Open
Platform
Tech Debt Reduced
- Dominant language
- Java
- Stars
- 406
- Forks
- 226
- Avg merge
- 3d 4h
- Merged PRs (30d)
- 210
Description
The `RuntimeObjectRegistry` currently has `O(n)` maintenance time with respect to the number of objects it is tracking. This is due to removing a `RuntimeObjectRecord` from a list of records.
We could reduce this to `O(1)` if we used a thread safe linked list. This would allow us to use this utility to track high volume objects such as `Event`s.
Contributor guide
Assessment
This issue has not been assessed yet.