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

Configurable limit needed for number of nodes returned in a view #6

Open
mzabaluev opened this issue Oct 18, 2019 · 0 comments
Open

Comments

@mzabaluev
Copy link
Contributor

When the application has a limit on the number of simultaneous P2P connections it wants to run, it does not make sense to return more nodes from the topology view. Conversely, if the application can afford more connections, the topology modules might be able to provide more nodes.

mzabaluev pushed a commit to input-output-hk/jormungandr that referenced this issue Feb 6, 2020
The vector obtained from Topology::view is sorted by node ID,
so truncations make the network biased toward nodes with low IDs.
Let the client connections rotate "naturally", allowing some churn.
A limit on the view size should be implemented in Poldercast:
primetype/poldercast#6
mzabaluev pushed a commit to input-output-hk/jormungandr that referenced this issue Feb 6, 2020
The vector obtained from Topology::view is sorted by node ID,
so truncations make the network biased toward nodes with low IDs.
Let the client connections rotate "naturally", allowing some churn.
A limit on the view size should be implemented in Poldercast:
primetype/poldercast#6
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

No branches or pull requests

1 participant