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

NFT.Storage gateway cache MVP #823

Closed
12 of 28 tasks
dchoi27 opened this issue Nov 19, 2021 · 2 comments
Closed
12 of 28 tasks

NFT.Storage gateway cache MVP #823

dchoi27 opened this issue Nov 19, 2021 · 2 comments
Assignees
Labels
Epic kind/enhancement A net-new feature or improvement to an existing feature P1 High: Likely tackled by core team if no one steps up

Comments

@dchoi27
Copy link
Contributor

dchoi27 commented Nov 19, 2021

We want to provide users with an HTTP endpoint that can fetch any data off the public IPFS network, but be super performant with NFT.Storage data in particular.

The current work plan consists on:

Further plans on the pipeline:

Other ideas:

  • Setup second Cache layer
    • Consider S3 with "complete" metadata flag
  • add S3 as gateway alternative
  • Analyze logs and optimize caching based on user patterns
  • CID blocklist (+ potentially integrate with abuse (at) ipfs.io)
  • Investigate sharding for partners
  • Expand async gateway read test from multiple locations
  • Advanced cache logic layer extensions
    • image resizing/compression
    • CBOR support for IPNFT
    • ...
  • Add more gateways (Infura, Cloudflare, etc.)
  • No-code API to resolve centralized URLs to CIDs Gateway works with any URL #1435

More notes: https://hackmd.io/@DzQs_KK1RBK4_lT36FeM0g/H11PUd7YY

@dchoi27 dchoi27 added kind/enhancement A net-new feature or improvement to an existing feature need/triage Needs initial labeling and prioritization Epic labels Nov 19, 2021
@dchoi27 dchoi27 added P1 High: Likely tackled by core team if no one steps up and removed need/triage Needs initial labeling and prioritization labels Nov 19, 2021
@dchoi27 dchoi27 changed the title NFT.Storage gateway cache NFT.Storage gateway cache MVP Dec 10, 2021
@dchoi27
Copy link
Contributor Author

dchoi27 commented Dec 10, 2021

@vasco-santos do we need to ticket making sure we're collecting the right logs (with request timestamp, CID, when we receive from each source, etc.) and hooking this up to Logtail? or is that already captured somewhere

@vasco-santos
Copy link
Contributor

vasco-santos commented Dec 16, 2021

@dchoi27 , good point! I will add a task do hooking this with Logtail. Hopefully it is fast and easy, but given I am lacking context I will add it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Epic kind/enhancement A net-new feature or improvement to an existing feature P1 High: Likely tackled by core team if no one steps up
Projects
None yet
Development

No branches or pull requests

3 participants