Module kitsune_p2p::metrics
source · [−]Expand description
metrics tracked by kitsune_p2p spaces
Structs
Metrics tracking for remote nodes to help choose which remote node to initiate the next round with.
Synchronization primitive around the Metrics struct.
Running average that prioritizes memory and cpu efficiency over strict accuracy. For metrics where we can’t afford the memory of tracking samples for every remote we might talk to, this running average is accurate enough and uses only 5 bytes of memory.
Enums
Accept differing key types
Outcome of a gossip round.