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

v0 Spade CIDs - Retrieval Bot Integration #24

Closed
jcace opened this issue Aug 25, 2023 · 4 comments · Fixed by #28
Closed

v0 Spade CIDs - Retrieval Bot Integration #24

jcace opened this issue Aug 25, 2023 · 4 comments · Fixed by #28
Assignees

Comments

@jcace
Copy link
Contributor

jcace commented Aug 25, 2023

Add an integration for the Retrieval Bot to receive CIDs from Spade and add them to the task queue.

Initially, this will pull from the Spade deal broker but eventually may go through the Tenant Services.

@jcace jcace changed the title Add Spade Integration v0 Spade CIDs - integration with Retrieval Bot Aug 31, 2023
@jcace jcace self-assigned this Aug 31, 2023
@jcace
Copy link
Contributor Author

jcace commented Aug 31, 2023

Constantly updating source of CIDs https://cargo.dag.haus/active_replicas.json.zst

@jcace
Copy link
Contributor Author

jcace commented Aug 31, 2023

Notes from chat with riba

  • JSON is regenerated every hour.
  • Piece CID, corresponding Payload CID
  • Just asking for the top CID is kinda pointless, doesnt contain any data. Need to traverse down 3 levels
    • Pull the first CID, open it up, choose a random sub CID
    • repeat 3 times
    • Then, you will have a client CID
  • Keep track to make sure we test every SP. Bigger SPs might have tons of content and we won't hit all of them if we never bias for the smaller ones
    • make sure all SPs are tested, even if 99% of CIDs are concentrated in one top SP for instance

@jcace jcace changed the title v0 Spade CIDs - integration with Retrieval Bot v0 Spade CIDs - Integration with Retrieval Bot Aug 31, 2023
@jcace jcace changed the title v0 Spade CIDs - Integration with Retrieval Bot v0 Spade CIDs - Retrieval Bot Integration Aug 31, 2023
@jcace
Copy link
Contributor Author

jcace commented Sep 4, 2023

WIP at #28

@jcace
Copy link
Contributor Author

jcace commented Sep 7, 2023

#28 ready for review - this is the Integration to get the Spade CIDs into the task queue.

Additionally, it will need another task to modify the retrieval workers to handle the Spade - type retrieval test.

@jcace jcace closed this as completed in #28 Sep 11, 2023
jcace added a commit that referenced this issue Sep 11, 2023
Closes #24 

Adds an integration to the Retrieval bot codebase to enable pulling CIDs
from Spade and adding them to the task queue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: 🚢 Done
Development

Successfully merging a pull request may close this issue.

1 participant