You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Apr 18, 2024. It is now read-only.
After deploying bifrost-gateway 2023-02-24-c305b3b (with #36) to bifrost-stage1-ny traffic died very quick:
At the same time, Nginx that is in front of bifrost-gateway staryed returning 502 for nearly every request:
Checked nginx logs and this happen because caboose has no available strn backend:
> GET /ipfs/QmSr3uQLnXRTfhrpwcNTs14pfphf6yHDHXq4CD8MRBC7mf/17_036.jpg HTTP/1.1
< HTTP/1.1 502 Bad Gateway
failed to resolve /ipfs/QmSr3uQLnXRTfhrpwcNTs14pfphf6yHDHXq4CD8MRBC7mf/17_036.jpg: Bad Gateway: no available strn backend
Some ideas
I was not able to reproduce this locally, but i tested with ab -k -n 10000 -c 1000 -w "http://en.wikipedia-on-ipfs.org.ipns.localhost:8081/wiki/Archaeology" and BLOCK_CACHE_SIZE=2 ./bifrost-gateway, which is easy to find, and does not test diverse set of CIDs that would penalize entire pool
@aarshkshah1992 - I hacked around this to get traffic flowing over the weekend for metrics. the compromise is described in #49
We should figure out how to get the weighting algorithm tuned in.
maybe test using the ab (apache benchmark) client against actual saturn to understand actual failure rate and tune the weighting changes to work for those rates.
maybe think about up/down voting in relation to the observed 'average' failure rate caboose is currently seeing (dynamic up/down weighting #50)
@willscott@lidel Honestly, this is more a function of the orchestrator simply not having deployed the bifrost changes to enough L1s and Caboose not having a disaster recovery mechanism in place like the DHT. Let me raise a PR .
Problem
After deploying bifrost-gateway 2023-02-24-c305b3b (with #36) to bifrost-stage1-ny traffic died very quick:
At the same time, Nginx that is in front of bifrost-gateway staryed returning 502 for nearly every request:
Checked nginx logs and this happen because caboose has
no available strn backend
:Some ideas
ab -k -n 10000 -c 1000 -w "http://en.wikipedia-on-ipfs.org.ipns.localhost:8081/wiki/Archaeology"
andBLOCK_CACHE_SIZE=2 ./bifrost-gateway
, which is easy to find, and does not test diverse set of CIDs that would penalize entire pool@willscott @aarshkshah1992 as you are more familiar with #36
The text was updated successfully, but these errors were encountered: