Skip to content

initial proposal of extending gateway to support an external index#76

Open
willscott wants to merge 1 commit into
mainfrom
proposal/gateway-api
Open

initial proposal of extending gateway to support an external index#76
willscott wants to merge 1 commit into
mainfrom
proposal/gateway-api

Conversation

@willscott

Copy link
Copy Markdown
Contributor

@github-actions github-actions Bot requested a review from jacobheun March 12, 2021 03:07
@mikeal mikeal added confidence:low Confidence rating is 5 or below. ease:high Ease rating is 6 or above. impact:high Impact rating is 6 or above. labels Mar 25, 2021
@mikeal

mikeal commented Mar 25, 2021

Copy link
Copy Markdown
Contributor

i’d like to see a review approval from someone with more experience working on the gateway, i’m just sure who that would be?

@olizilla

olizilla commented Mar 25, 2021

Copy link
Copy Markdown
Contributor

When I worked on IPFS infra last year we tried to manually ensure that all the gateways and cluster nodes were always connected as peers, so they would send out their wantlist to them when a request came in for a CID they didnt already have. The assumption was that a gateway node in another region might have already fetched a popular block, or that we would likely get requests for content that was stored on one of our large storage clusters.

I just found out that go-ipfs config now supports explicit definition of a set of peers https://github.com/ipfs/go-ipfs/blob/master/docs/config.md#peering so that should be much more reliable now.

Could this proposal be achieved by adding these additional indexes as peers?

We could improve all gateways perf by introducing a LRU aware blockstore; right now gateways are dumping popular content during GC every few hours. It would benefit desktop and server deployments and content discovery in general if all nodes automatically held on to regularly accessed blocks.

We could radically improve the ipfs.io gateway perf by creating a gloabally shared blockstore on some thing like cloudflare kv.

@mikeal mikeal added the Nitro NFT Free for All label Mar 30, 2021
@BigLep

BigLep commented May 26, 2021

Copy link
Copy Markdown
Contributor

@mikeal and @olizilla are going to talk verbally about next steps here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

confidence:low Confidence rating is 5 or below. ease:high Ease rating is 6 or above. impact:high Impact rating is 6 or above. Nitro NFT Free for All

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants