network/kad: Increase memory store capacity for providers#9315
Conversation
|
/cmd prdoc --audience node_dev --bump patch |
…e_dev --bump patch'
bkchr
left a comment
There was a problem hiding this comment.
Generally I don't like that we add these things here as random constants. IMO it would be better if this could be communicated better to the discovery subsystem.
I am going to move the constants to Or do you mean it should be communicated at runtime from the runtime? This would be an ideal solution, but neither litep2p nor libp2p doesn't support updating these parameters at runtime. |
|
All GitHub workflows were cancelled due to failure one of the required jobs. |
|
/cmd fmt |
They could be exposed to the configuration to change them. |
Pull Request is not mergeable
Do you think we need to expose this as CLI options, or just for custom node impls to put their own values? |
…#9315) Increase Kademlia memory store capacity for DHT content providers (used by parachain DHT-based bootnodes) and reduce provider republish interval & TTL. This is needed to support testnets with 1-minute fast runtime and up to 13 parachains. Parameters set: - 10000 provider keys per node - 10h provider record TTL - 3.5h provider republish interval Closes paritytech/litep2p#405. --------- Co-authored-by: cmd[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Increase Kademlia memory store capacity for DHT content providers (used by parachain DHT-based bootnodes) and reduce provider republish interval & TTL. This is needed to support testnets with 1-minute fast runtime and up to 13 parachains. Parameters set: - 10000 provider keys per node - 10h provider record TTL - 3.5h provider republish interval Closes paritytech/litep2p#405. --------- Co-authored-by: cmd[bot] <41898282+github-actions[bot]@users.noreply.github.com>
…#9315) Increase Kademlia memory store capacity for DHT content providers (used by parachain DHT-based bootnodes) and reduce provider republish interval & TTL. This is needed to support testnets with 1-minute fast runtime and up to 13 parachains. Parameters set: - 10000 provider keys per node - 10h provider record TTL - 3.5h provider republish interval Closes paritytech/litep2p#405. --------- Co-authored-by: cmd[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Increase Kademlia memory store capacity for DHT content providers (used by parachain DHT-based bootnodes) and reduce provider republish interval & TTL. This is needed to support testnets with 1-minute fast runtime and up to 13 parachains.
Parameters set:
Closes paritytech/litep2p#405.