-
Notifications
You must be signed in to change notification settings - Fork 14
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
Revisit Image Worker #132
Comments
Hi there. I would love to improve it. But could you please provide a list of the errors? How can I improve it if I don't know the errors? 😅 |
Unless I do not open it in https://canary.kodadot.xyz/stmn/collection/67
tell the worker to fetch from |
I thought it should be fixed with this kodadot/nft-gallery#6448 (comment)
Yes, because we use different gateways between uploading and serving the content. Even if we hit a dedicated gateway directly (without image-workers) we face the same problem. lets say we upload to How to improve that
fyi, I already give the same response in here #53 (comment)
noted, looks feasible |
oh, I also already give the response here #39 (comment) now we have 3 same issues |
Having issues with the image not showing up on a new collection for ~12h https://kodadot.xyz/stmn/collection/70 I am first creating the collection via and then
|
@niklasp which gateway do you use to publish the ipfs cid? |
Pinata via their sdk |
oohh, I think we have 2 cases here
|
So fast draft We should split this service into two separated workers 1.GatewayUser will access it via KodaDot and should return response as fast as possible.
2. Storagetwo ways to access it:
|
https://kodadot.xyz/stmn/collection/91 |
Hi, thanks for reporting That page return
we already handle big size image |
Sorry, my bad, updated the link, should be https://kodadot.xyz/stmn/collection/91 |
yes, correct that one for collection pages 🙏 |
anyway @vikiival for this section is what we already have on image worker. see my comments here #53 (comment)
for this one, what is the difference between hitting image worker first instead hit directly to ipfs gateway?
|
Because squid can for example make hints which gw to use. |
|
hhmm, I still need to understand. Can you elaborate more on what you expect with the endpoint and the problem with the public gateway? We already can do that with a public gateway, is it?
oohh. the context of what I mean with public URLs is from our UI side. so, our UI can hit between on our image-worker side, we already return r2 content for non-CFI content. you can see one of the example sections here Lines 106 to 117 in ba891cc
|
@vikiival any ideas on how they detect this? |
Yes, We have a indexer, that is indexing nfts,
Why gw? because with dummy approach we know who minted majority of nfts and which gw they use so |
did you mean like this? something like hitting multiple endpoints from the indexer side?
I still don't understand the difference in the "after" column. can you explain what the problem is in the "before" column? because we can still face rate limits problem even if we wrap |
Currently the worker is not in the best condition and throws a lot of errors.
I would revisit it's architecture, pros, cons what can we do better
cc @preschian
The text was updated successfully, but these errors were encountered: