hiero-ledger / hiero-ledger/hiero-consensus-node
To optimize com.hedera.node.app.fees.congestion.ThrottleMultiplier. maxMultiplierOfActiveConfig()
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 407
- Forks
- 226
- Avg merge
- 3d 4h
- Merged PRs (30d)
- 210
Description
### Description
By performance triage, it was identified that function com.hedera.node.app.fees.congestion.ThrottleMultipliermaxMultiplierOfActiveConfig()
has costly double-nested loop.
https://perf.analytics.eng.hashgraph.io/permanent/engnet2-20240906_175600/reports/com.hedera.node.app.fees.congestion.ThrottleMultiplier.html#202
### Steps to reproduce
Tom's or Oleg's 20 mins tests
### Additional context
_No response_
### Hedera network
_No response_
### Version
v0.54
### Operating system
Linux
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with com.hedera.node.app.fees.congestion.ThrottleMultiplier.maxMultiplierOfActiveConfig() and review the linked performance report for the costly double-nested loop. Reproduce the behavior with Tom's or Oleg's 20-minute tests. Done means the function's performance is improved and the relevant tests still pass.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- distributed-systems
- Issue type
- Refactor
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100