This repository was archived by the owner on Dec 12, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 15
RFM Proposal: Data on usage of libp2p circuit relay v1 #20
Copy link
Copy link
Open
Description
In https://github.com/ipfs/interop, we still have tests running libp2p circuit relay v1, which makes sense because it has functionality that relay v2 does not; however, It has caused some issues. See
- [WIP] chore: update to ipfsd-ctl@12.0.2 ipfs/interop#493
- [WIP] fix: circuit-go-rv1-go ipfs/interop#496
and the discussions within those PRs.
I'm wondering if we can get metrics on which relay versions are being used and how much traffic exists for each. I understand that we should be able to query the DHT for multiaddr that indicate which relay version(s) are available.
As far as which metrics would be useful, I think the following is a good start:
- p99/90/50 of relay enablement:
- is relay enabled for a node?
- Which versions are they supporting?
- relay usage:
- For relay traffic on the network (X), how much is v1(Y), how much is v2(Z), how much is vN? (X/Y vs X/Z vs X/N...)
Questions I want to answer with this data:
- Do we need to support relayv1 in interop tests?
- Can we remove tests for relayV1 in ipfs/interop? If it's not in use anywhere, yes. If its use is under some percentage when compared to relayV2, then probably..
Please let me know if this request/issue is better suited elsewhere! Thanks.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels