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

Revamp EstuaryV1 to use Delta/EV2 #966

Open
alvin-reyes opened this issue Apr 4, 2023 · 0 comments
Open

Revamp EstuaryV1 to use Delta/EV2 #966

alvin-reyes opened this issue Apr 4, 2023 · 0 comments
Assignees
Labels
New Feature Issues that we will work on with people or ourselves

Comments

@alvin-reyes
Copy link
Contributor

alvin-reyes commented Apr 4, 2023

Proposal

I wanted to propose that we completely revamp EstuaryV1 to use Delta as the deal making platform. There are a few things that needs to be considered but for the most part, it should work.

Considerations

  • use whypfs-core as the node implementation.
  • remove the splitting and introduce an estuary chunker as a separate component. This component will consume 32GB and above files. The component will car the files and upload them straight to delta.
  • any files below 32GB but more than 250B will be dealt with using the miners from data.storage.market. Delta will take care of the deal making, retries and replication.
  • estuary-www will have to strip / modify the staging area. The staging area will be for files that are larger than 32GB. Instead of zoning, it'll be IPLD root node with the links (from generating the CAR for the file).
  • estuary-www will need to be connected to several new endpoints -
      1. estuary-auth,
      1. delta api nodes (node.delta.store/cake.delta.store)
      1. delta-chunker endpoint
      1. API node (we will be using this until we have all the functions done).
  • estuary-www will have a new option to connect to delta node.
  • estuary-www will need to use the stats endpoint to get the status of each deal made.

New components

  • Estuary chunker (based on my delta-chunker that uses delta car).
  • whypfs-core, estuary-auth, delta node.

How is this different from the current EstuaryV1?

  • Delta doesn't do aggregation or consolidation. The amount of resource we are saving from removing those processes are huge.
  • Estuary node will be a gateway instead - serving hot retrievals from its node.
  • Delta node(s) will be dedicated and all deal-making processes are done on a separate compute resource.
@alvin-reyes alvin-reyes added the New Feature Issues that we will work on with people or ourselves label Apr 4, 2023
@alvin-reyes alvin-reyes self-assigned this Apr 4, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
New Feature Issues that we will work on with people or ourselves
Projects
None yet
Development

No branches or pull requests

1 participant