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

Automatically add the author of an IPNS record to the set of peers to query #145

Open
Stebalien opened this issue May 5, 2018 · 5 comments
Labels
effort/hours Estimated to take one or several hours exp/intermediate Prior experience is likely helpful help wanted Seeking public contribution on this issue kind/enhancement A net-new feature or improvement to an existing feature topic/perf Performance

Comments

@Stebalien
Copy link
Member

One potential hack to speed up IPNS is to simply add the IPNS key to the list of peers to query. We'll still need to find the peer but this may speedup some queries.

@vyzo
Copy link
Contributor

vyzo commented May 5, 2018

Wouldn't this end up connecting all querying peers to the originating peer? That's probably undesirable.

@Stebalien
Copy link
Member Author

@vyzo yes however, that kind of thing can already happen. That is, if you're a long-lived peer close to a a popular key, you'll get a lot of connections and requests for that key. The primary difference in this case is that the key in question is your peer ID (which you presumably care about).

@Stebalien
Copy link
Member Author

(however, this could be problematic if that peer isn't a DHT node)

@whyrusleeping
Copy link
Contributor

@Stebalien this is related to the question of under what circumstances should we trust a peer as the ultimate source of truth for their ipns record.

@Stebalien
Copy link
Member Author

Yes, somewhat. While this would technically centralize a bit, it would massively speed up IPNS resolution in many cases.

@Stebalien Stebalien added effort/hours Estimated to take one or several hours exp/intermediate Prior experience is likely helpful help wanted Seeking public contribution on this issue kind/enhancement A net-new feature or improvement to an existing feature topic/perf Performance labels Jul 21, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
effort/hours Estimated to take one or several hours exp/intermediate Prior experience is likely helpful help wanted Seeking public contribution on this issue kind/enhancement A net-new feature or improvement to an existing feature topic/perf Performance
Projects
None yet
Development

No branches or pull requests

3 participants