hiero-ledger / hiero-ledger/hiero-consensus-node

Make RuntimeObjectRegistry more scalable

Open
#5,245 3 comments 0 reactions 2 assignees Claimed by @artemananiev View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.