[ipfs/go-bitswap] Latency tracking can run away
Open
kind/bug
- Dominant language
- Go
- Stars
- 316
- Forks
- 163
- Avg merge
- 4d 12h
- Merged PRs (30d)
- 8
Description
We need to track an EWMA, possibly with clamping. Currently, we're just tracking the absolute average which can get horribly distorted by long delays.
https://github.com/ipfs/go-bitswap/blob/bced0f312ebe1c9ab70e6fca41ae03437568cef3/internal/session/session.go#L465-L481
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.