ava-labs / avalanchego

Go implementation of an Avalanche node.
https://avax.network
BSD 3-Clause "New" or "Revised" License
2.11k stars 664 forks source link

Add a test to ensure fair subnet validator service limits #1562

Open hexfusion opened 1 year ago

hexfusion commented 1 year ago

The cost of entry for subnets is fairly high which could motivate validator owners to service many subnets. We should better understand the upper bounds of what a system will support and ensure our rules for benching are correct/fair. This issue covers ensuring these tests and proper metrics/alerting exist.

benching logic: https://github.com/ava-labs/avalanchego/blob/14b8c98ce479d1c6f9c0fdb32f3fa60e6e137eb9/snow/networking/router/chain_router.go#L540-L542

uptime loss: https://github.com/ava-labs/avalanchego/blob/61e7aa6989cd2b63352f6123f8136593ec912f82/vms/platformvm/vm.go#L434

github-actions[bot] commented 1 year ago

This issue has become stale because it has been open 60 days with no activity. Adding the lifecycle/frozen label will cause this issue to ignore lifecycle events.

koko1123 commented 9 months ago

hey @patrick-ogrady is this issue still open? I can pick this up, I want to learn about the codebase. is there a discord I can join?

github-actions[bot] commented 3 months ago

This issue has become stale because it has been open 60 days with no activity. Adding the lifecycle/frozen label will cause this issue to ignore lifecycle events.