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

To optimize com.hedera.node.app.fees.congestion.ThrottleMultiplier. maxMultiplierOfActiveConfig()

Open
#15,482 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Scalability
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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.