Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make subscription valency dependent on number of peers #218

Merged
1 commit merged into from
Feb 16, 2022

Conversation

ghost
Copy link

@ghost ghost commented Feb 14, 2022

We had a hardcoded value for the valency of Ouroboros subscriptions, which meant the network engine would stop connecting to peers once it reached the target valency, thus preventing us from scaling to more than 7 peers.

Note the benchmark is still failing with 10 nodes because the CollectCom cannot be posted on-chain because the limit is 9: https://github.com/input-output-hk/hydra-poc/blob/abailly-iohk/fix-ouroboros-scaling/hydra-node/test/Hydra/Chain/Direct/TxSpec.hs#L198

We had a hardcoded value for the valency of Ouroboros subscriptions,
which meant the network engine would stop connecting to peers once it
reached the target valency, thus preventing us from scaling to more
than 7 peers.
@ghost ghost requested review from ch1bo and KtorZ February 14, 2022 15:41
@github-actions
Copy link

Unit Test Results

    6 files  ±0    71 suites  ±0   5m 2s ⏱️ +40s
203 tests ±0  201 ✔️ ±0  2 💤 ±0  0 ±0 

Results for commit 09c7316. ± Comparison against base commit 0a591e1.

@ghost ghost merged commit a088346 into master Feb 16, 2022
@ghost ghost deleted the abailly-iohk/fix-ouroboros-scaling branch February 16, 2022 15:29
This pull request was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants