Closed marten-seemann closed 1 year ago
Very cool. I agree this seems like a worthy endeavor!
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.
Rebased PR to resolve merge conflict.
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.