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

gateway: create example that proxies to requests to ?format=raw #142

Closed
lidel opened this issue Jan 31, 2023 · 1 comment · Fixed by #151
Closed

gateway: create example that proxies to requests to ?format=raw #142

lidel opened this issue Jan 31, 2023 · 1 comment · Fixed by #151
Assignees
Labels
need/triage Needs initial labeling and prioritization P1 High: Likely tackled by core team if no one steps up topic/gateway Issues related to HTTP Gateway

Comments

@lidel
Copy link
Member

lidel commented Jan 31, 2023

Make a binary that runs the libipfs gateway code using a virtual blockstore that sends application/vnd.ipld.raw (?format=raw) requests to some gateway.

This will be a good warmup before we get custom blockstore from Saturn,
will also allow us to quickly see if the performance is as bad as we expect.

  • for now in the same repo, examples/gateway/block-proxy-gateway (its late, needs better name)
  • CLI tool with two parameters: port to listen and URL of gateway that supports ?format=raw responses

This may depend on, or help with cleaning up API in #61

@lidel lidel added need/triage Needs initial labeling and prioritization P1 High: Likely tackled by core team if no one steps up topic/gateway Issues related to HTTP Gateway labels Jan 31, 2023
@Jorropo
Copy link
Contributor

Jorropo commented Jan 31, 2023

Related: #139 (tangently)

@BigLep BigLep moved this to 🥞 Todo in IPFS Shipyard Team Jan 31, 2023
@hacdias hacdias moved this from 🥞 Todo to 🏃‍♀️ In Progress in IPFS Shipyard Team Feb 2, 2023
@BigLep BigLep moved this from 🏃‍♀️ In Progress to 🔎 In Review in IPFS Shipyard Team Feb 2, 2023
@BigLep BigLep moved this from 🔎 In Review to 🏃‍♀️ In Progress in IPFS Shipyard Team Feb 2, 2023
@github-project-automation github-project-automation bot moved this from 🏃‍♀️ In Progress to 🎉 Done in IPFS Shipyard Team Feb 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
need/triage Needs initial labeling and prioritization P1 High: Likely tackled by core team if no one steps up topic/gateway Issues related to HTTP Gateway
Projects
No open projects
Archived in project
Development

Successfully merging a pull request may close this issue.

3 participants