-
Notifications
You must be signed in to change notification settings - Fork 4
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
Support a DHT-only proxy mode exposed over HTTP #13
Comments
If we want DHT-only proxy mode that allows us shutting down DHT client on gateways, and delegating it to |
We're part way through the direct cascade for The IPNS part would be, i think, on the top level ipfs.tech gateways, rather than something needed in the L1s in my current understanding of architecture. does that match with your understanding? |
@lidel would it make sense to move the three issues above to |
@willscott depends on how Block/CAR requests are handled. current diagram assumes client will make direct request to L1s (immediatelly, or after getting HTTP 302 from
@masih will |
Yes. That code already implements ndjosn response. I'll add HTTP delegated routing APIs next. |
Hm.. we need a binary that has only one API, the IPIP-337 one. Would that be acceptable? |
Can we use logs to get rough sense of how many queries involve IPNS vs |
Do you mean as what we run on cid.contact? I'm confused about this requirement - indexers have compatibility back to reframe and previous delegated routing APIs, and will retire those as we see usage drop off. |
Agree, it is relatively small %. We can do it, just flagging that adding DHT server to new ipfs.io adds to the scope on our end,
No, this is for IPFS Ecosystem. What people can run themselves. Reusable DHT proxy that speaks IPIP-337 + ndjson. Whatever IPFS Stewards build, users are able to self-host, and remove their dependency on infrastructure run by a third-party such as Protocol Labs. In this case, DHT proxy compatible with IPIP-337 is a very useful component which we want to provide for download at https://dist.ipfs.tech (just like we do with libp2p-relay-daemon). |
this is probably best served by something like someguy rather than caskadht. I'm happy to defer to @masih - but if the expectation of an ecosystem delegation is that it can't include non-ipip behavior, that will likely create tensions with service deployment goals. |
I am easy. I am happy to make |
Ack, I think you focusing on Long term, for |
I would hope long term we can use ambient discover as the way to not depend on well-being of a specific IPNI. |
In thinking about what a joint deployment of indexer & dht might look like, we likely want to run instances of accelerated DHT clients that can fill in DHT records in delegated routing responses.
We probably want those responses to take advantage of the same caching as current indexing responses.
The potential difference in latency means that for uncached responses we'll likely want to make sure we split the response into multiple response packets as results return, and parse incrementally on the client side.
The text was updated successfully, but these errors were encountered: