Comments (12)
@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
from public-gateway-checker.
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?
from public-gateway-checker.
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 :)
from public-gateway-checker.
@fooock that is amazing. It is weird that it is not considering siderus.io as writable. How do you perform the check?
from public-gateway-checker.
@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?
from public-gateway-checker.
@koalalorenzo it is fixed now, can you check it and write some feedback in the referenced issue if needed?
from public-gateway-checker.
@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!
from public-gateway-checker.
@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)
from public-gateway-checker.
@jamiew Thanks, I didn't know that!
from public-gateway-checker.
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
from public-gateway-checker.
Following up on some stale issues -- @fooock, are you interested in adding your writeable status feature into this repo's codebase?
from public-gateway-checker.
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
from public-gateway-checker.
Related Issues (20)
- Test Block and CAR response types HOT 1
- Thank you for submitting this PR! HOT 1
- feature enhancement: Automate removal of invalid gateways
- suggest to remove https://via0.com/ipfs from list HOT 2
- Discussion (security notes): update the Protocol Labs operated gateways statement. HOT 4
- Add pageview metrics to countly HOT 3
- Refactor GatewayNode Checks HOT 2
- UI: Introduce a better tabular structure HOT 1
- geoip (country flags) column is broken HOT 5
- ipfs about activation? HOT 3
- public-gateway-checker specific metrics
- feat: finalize metrics modal and icon HOT 19
- Move cookie prompt to the bottom HOT 4
- Increase contrast of links
- switch to officially hosted domain name (subdomain of ipfs.tech)
- feat: Handle special resolvers in CI HOT 2
- feat: finalize metrics implementation
- Warning about ipfs.joaoleitao.org in gateway checker. HOT 3
- feat: automate removal of domains called out as dangerous HOT 4
- *.ipfs2.eth.limo public gateway HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from public-gateway-checker.