libp2p / go-libp2p-pubsub

The PubSub implementation for go-libp2p
https://github.com/libp2p/specs/tree/master/pubsub
Other
319 stars 185 forks source link

Random Early Drop for overloaded validation queue #384

Closed vyzo closed 4 years ago

vyzo commented 4 years ago

Introduces a new peer gater for gossipsub, which allows us to do random early drops when we are experiencing elevated validation throttling, because of elevated load or a spam attack targetting the validation queue.