ipfs / ipfs/boxo

[ipfs/go-bitswap] Latency tracking can run away

Open
#129 0 comments 0 reactions 0 assignees View on GitHub
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.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.