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

Test and report public writeable status #3

Open
cbluth opened this issue Sep 29, 2017 · 12 comments
Open

Test and report public writeable status #3

cbluth opened this issue Sep 29, 2017 · 12 comments
Labels
effort/days Estimated to take multiple days, but less than a week exp/novice Someone with a little familiarity can pick up help wanted Seeking public contribution on this issue kind/enhancement A net-new feature or improvement to an existing feature P2 Medium: Good to have, but can wait until someone steps up status/inactive No significant work in the previous month topic/design-ux UX strategy, research, not solely visual design

Comments

@cbluth
Copy link
Contributor

cbluth commented Sep 29, 2017

No description provided.

@victorb
Copy link
Member

victorb commented Oct 3, 2017

Would be a nice attribute to add! So if a gateway is actually online, try writing some content as well to see if it's writable and report back status. Would love to see a PR for adding this :)

@jamiew jamiew added the kind/enhancement A net-new feature or improvement to an existing feature label Mar 21, 2019
@fooock
Copy link
Contributor

fooock commented Mar 28, 2019

@victorb I created a similar tool that makes this, measure gateway latency, status code, etc, you can check it out here https://gateway.ipfs.io/ipfs/QmXHzertynCrRi9A99JH1fbxLATtGCaU4L3gkLo6ov9JEW

@koalalorenzo
Copy link
Member

@fooock that is amazing. It is weird that it is not considering siderus.io as writable. How do you perform the check?

@fooock
Copy link
Contributor

fooock commented Mar 28, 2019

@koalalorenzo I make a post request to the gateway domain plus :5001/api/v0/add. For example, in siderus.io, the final post request will be https://siderus.io:5001/api/v0/add, if this request return success, then the node is writable, otherwise isn't. Do you see it correct?

@koalalorenzo
Copy link
Member

koalalorenzo commented Mar 29, 2019

No it is not correct since :5001 is exposing API. By definition in the settings a writable gateway basically allows POST methods. You should be able to check just that, right?

@fooock
Copy link
Contributor

fooock commented Apr 1, 2019

@koalalorenzo it is fixed now, can you check it and write some feedback in the referenced issue if needed?

@andrasfuchs
Copy link

andrasfuchs commented Aug 7, 2019

@fooock Looks pretty good!

I've found that based on my VPN current exit point I have significantly different latency values. Could you guys perhaps add separate latency columns for US, Europe and Asia for example? Or a dropdown at the top of the page to select the testing location?

I often timeout with the default ipfs.io gateway and it would be great to know what gateways are working fast from where I'm trying to access IPFS from.

Edit:
Latency depending on the exit point while using ipfs.io to open an IPFS vs IPNS link:
US Florida: 511 ms vs 1.02 mins
Switzerland: 368 ms vs 1.01 mins
Japan: 775 ms vs 1.02 mins

So my presumption was wrong, because it was not the VPN's exit point, but the IPNS lookup that timed out my queries. Sorry about that!

@jamiew
Copy link
Contributor

jamiew commented Aug 7, 2019

@andrasfuchs yeah IPNS is crazy slow

FWIW the gateway checker here: https://ipfs.github.io/public-gateway-checker/ -- runs the checks on your local computer. So those latencies are from your current location and setup (e.g. w/ VPN vs without)

@andrasfuchs
Copy link

@jamiew Thanks, I didn't know that!

@jamiew
Copy link
Contributor

jamiew commented Dec 18, 2019

This would be a nice add inside this repository too -- wonder if we could bundle requests more intelligently, so we're not just making 3 requests per server? That's not end of the world

@jessicaschilling jessicaschilling added exp/novice Someone with a little familiarity can pick up effort/days Estimated to take multiple days, but less than a week help wanted Seeking public contribution on this issue P2 Medium: Good to have, but can wait until someone steps up status/inactive No significant work in the previous month topic/design-ux UX strategy, research, not solely visual design labels Apr 7, 2020
@jessicaschilling
Copy link
Contributor

Following up on some stale issues -- @fooock, are you interested in adding your writeable status feature into this repo's codebase?

@SgtPooki
Copy link
Member

Looks like the code for fooock's implementation is in Java: https://github.com/fooock/ipfs-gateway-checker/search?q=writable

we should implement this feature but in js

@SgtPooki SgtPooki moved this from Needs Grooming to Planned / Backlog in IPFS-GUI (PL EngRes) Nov 29, 2022
@whizzzkid whizzzkid removed their assignment Dec 3, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
effort/days Estimated to take multiple days, but less than a week exp/novice Someone with a little familiarity can pick up help wanted Seeking public contribution on this issue kind/enhancement A net-new feature or improvement to an existing feature P2 Medium: Good to have, but can wait until someone steps up status/inactive No significant work in the previous month topic/design-ux UX strategy, research, not solely visual design
Projects
No open projects
Status: Planned / Backlog
Development

No branches or pull requests

9 participants