Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Percentage of Provider Records returned including a multiaddress #22

Open
yiannisbot opened this issue Aug 10, 2022 · 0 comments
Open

Comments

@yiannisbot
Copy link

Goal: I’d like to know what percentage of requests served through the gateway and resolved through the DHT are served within the first 10mins of the CID/Provider Record being published.

Context: Routing tables are refreshed every 10 mins and after the first 10mins of the CID/Provider Record being published the multiaddress of the original publisher is not included in the record anymore - that's in order to cover the case where a peer has gone offline and back online and it's multiaddress is not the same anymore. So one way to figure out what I need is to count the number of provider records returned to the gateway and include a multiaddress (as compared to those that don’t include a multiaddress). In that second case, clients have to walk the DHT again to map the PeerID to the peer's latest multiaddress.

A small modification on a gateway's kubo node should be able to do the trick. It would be great to have that in the next 3 weeks or so (if possible), as it will influence some other design decisions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant