-
Notifications
You must be signed in to change notification settings - Fork 0
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
SPARK M2 Lassie Retrievals #19
Comments
@juliangruber I think we forgot to add one more task to this milestone - update SPARK to use the new Zinnia/Lassie API. In Lassie's HTTP spec, I can see that we can ask to retrieve from a specific provider(s) using a specific protocol(s). I think the SPARK request URL will become something like this: fetch(`ipfs://${cid}?protocols=bitswap&providers=/ip4/1.2.3.4/tcp/1234/tls/p2p/QmFoo`) Do you remember if SPARK API includes the protocol and provider multi address when creating a new job? Do we have that data in our CID list? |
Yes! We have protocol and provider multi address available. |
@juliangruber adding you as an assignee for the SPARK related work 🙇🏻♂️ |
Moved to CheckerNetwork/zinnia#268
Moved to CheckerNetwork/zinnia#269 Closing this milestone as done. |
@bajtos I've removed the newlines between the items, so that starmaps can properly parse the children. See https://filecoinproject.slack.com/archives/C0418TBQ9CH/p1687850671862689?thread_ts=1687165457.518709&cid=C0418TBQ9CH |
eta: 2023-06-30
Replace the code making HTTP requests to IPFS Gateway with a retrieval client like Lassie.
Important: Retrieval requests from this module should be indistinguishable from “legit” requests made by other actors in the network (e.g. Saturn). Otherwise SPs can prioritise checker requests over regular traffic.
Children:
→ feat: proof of concept rusty-lassie#1
zinnia
andzinniad
). (Start Lassie on start, stop it on exit.) [2 day]→ feat: IPFS retrieval client zinnia#243
fetch
wrapper that will translate URLs likeipfs://bafy...
into Lassie HTTP GET requests.fetch
response under the hood.→ feat: IPFS retrieval client zinnia#243
Lassie improvements [2 days]Implement authentication - only Zinnia requests should be handled by Lassie. Requests from other clients must be rejected.We want to configure Lassie HTTP mode to not cache blocks between retrieval requests.zinniad
start, delete all files in Lassie’s temp dir. These files may be created if Station exits Station while a CID retrieval request is in progress.→ Delete Lassie temp dir when
zinniad
starts zinnia#245The text was updated successfully, but these errors were encountered: