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

Estuary Gateway #273

Open
alvin-reyes opened this issue Jun 14, 2022 · 4 comments
Open

Estuary Gateway #273

alvin-reyes opened this issue Jun 14, 2022 · 4 comments
Assignees
Labels
Improvement Improve a feature or the codebase infra-devops A task related to infrastructure and/or devops New Feature Issues that we will work on with people or ourselves

Comments

@alvin-reyes
Copy link
Contributor

alvin-reyes commented Jun 14, 2022

There's currently an existing /gw on estuary to serve contents.

It would be great to map this to a domain name (https://estuary.link or https://gateway.estuary.tech) and use that on the frontend (estuary-www) for files uploaded via estuary shuttles.

Slack discussion(s) here: https://filecoinproject.slack.com/archives/C016APFREQK/p1655227850747479

Update / Proposal

We need a separate gateway for upload and retrieval that is separated from the main node. This gateway will act as a forwarder to the api or one of the shuttles.

  • we need to create a separate gateway. We can use the shuttle-proxy as the basis of this new standalone node
  • we need to extract the authentication and the forwarder (we can use alvin-reyes/estuary-auth)
  • we need to add a shuttle selection process (geo aware). This means we need to get the requesting client geo location and use that as the basis of where to forward the request.
  • we need to put it behind a estuary.tech gateway domain (shuttles.estuary.tech)
  • all shuttle endpoints should be available plus basic gateway endpoint for retrieval (/ipfs/)
@alvin-reyes alvin-reyes added New Feature Issues that we will work on with people or ourselves Discovery Learning that will end up in documentation Improvement Improve a feature or the codebase labels Jun 14, 2022
@alvin-reyes alvin-reyes self-assigned this Jun 15, 2022
@alvin-reyes
Copy link
Contributor Author

We need to figure out a way to "validate" or "stage" requests before handing them off to Estuary. (Cloudflare?)

@Jorropo
Copy link

Jorropo commented Jun 18, 2022

https://gateway.estuary.tech/

Don't make the same error as ipfs.io, putting a gateway on your main domain is bad since spam lists and search engines wont understand how to differentiate the spam and the not spam.

@anjor anjor added the infra-devops A task related to infrastructure and/or devops label Jun 20, 2022
@3456091
Copy link

3456091 commented Jun 22, 2022

In line with ipfs/in-web-browsers#128 , and its associated issues, the ability to get a CAR from the gateway would be useful.

@alvin-reyes
Copy link
Contributor Author

We can create a separate gateway for estuary (estuary-gateway) specifically just for retrieval. We can then map this gateway.estuary.tech

@alvin-reyes alvin-reyes removed the Discovery Learning that will end up in documentation label Sep 5, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Improvement Improve a feature or the codebase infra-devops A task related to infrastructure and/or devops New Feature Issues that we will work on with people or ourselves
Projects
Status: Backlog
Development

No branches or pull requests

4 participants