libp2p / specs

Technical specifications for the libp2p networking stack
https://libp2p.io
1.56k stars 273 forks source link

roadmap: rewrite the telemetry section #463

Closed marten-seemann closed 1 year ago

marten-seemann commented 2 years ago

Opt-in telemetry will only be of limited use, since there will be a very heavy selection bias (who turns on telemetry), as 99% of users never change the default settings.

Recent advances in cryptography, especially in multiparty computation, might allow us to develop a telemetry protocol that has privacy properties strong enough to justify turning on telemetry by default.

Providing a telemetry framework could be a major selling point of libp2p as library: Applications could use the same framework to gather application-level measurement results that come with the same strong privacy guarantees.

MarcoPolo commented 2 years ago

Very cool. I agree this seems like a worthy endeavor!

yiannisbot commented 1 year ago

Thanks for pinging - definitely of interest to us! In fact, we've done some initial work with our folks at NOVA University of Lisbon. See this telemetry protocol spec, which is already implemented: https://github.com/diogo464/ipfs_telemetry/blob/main/SCHEMA.adoc

No privacy preserving properties there (and would definitely be great to have), but even with this version and the right comms, I believe we can get a very good sample from those that will opt-in.

marten-seemann commented 1 year ago

Rebased PR to resolve merge conflict.