hiero-ledger / hiero-ledger/hiero-consensus-node
Add XTS BN coverage for delayed BNs
Open
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 407
- Forks
- 226
- Avg merge
- 3d 4h
- Merged PRs (30d)
- 210
Description
Test Setup
- Deploy
nBNs, wherenis equal to 1/3 the number of CNs. Configure BNs to be able to backfill from each other - Configure 1/3 of CNs to pointing to a primary BN, with other BNs listed as backup options.
- Kick off SDLT/MDLT at 200 TPS, let run for about 3 hours. TPS here should be configureable variable.
- Scale up to 2k TPS. TPS here should be configureable variable.
- After 6 hours of total run, scale down BNs for about 5 mins, then scale them back up. This will ensure the BNs fall hind some period then start up will force fall behind. Number of BNs to scale down should be configureable.
kubectl scale statefulsets <$NAMESPACE>-block-node-server -n $NAMESPACE --replicas=0kubectl scale statefulsets <$NAMESPACE>-block-node-server -n $NAMESPACE --replicas=1
- After 7 hours of total run, dynamically change
block-nodes.jsonon the CNs to be empty (essentially disable block streaming). TPS here should be configureable variable. - Collect logs
Configureable items
- Initial TPS
- Ramped up TPS
- Number of BNs to scale down and up
- Whether to clear block-node.json file
On first iteration we can hardcode configs but eventually we should allow variability as it will ensure we can continue to use the test for growing scenarios.
- Note this may require a new Solo version for multi CN <> BN support
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.
Assessment
This issue has not been assessed yet.