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

async gateway read tests on every write #755

Closed
mikeal opened this issue Nov 10, 2021 · 2 comments · May be fixed by nftstorage/gateway-read-test-lambda#1
Closed

async gateway read tests on every write #755

mikeal opened this issue Nov 10, 2021 · 2 comments · May be fixed by nftstorage/gateway-read-test-lambda#1
Assignees
Labels
kind/bug A bug in existing code (including security flaws) P2 Medium: Good to have, but can wait until someone steps up

Comments

@mikeal
Copy link

mikeal commented Nov 10, 2021

As part of #823 epic

We’ve received reports of intermittent gateway issues from some users. These are difficult to reproduce because many of them end up being delays in availability, so by the time we find out the issue appears to be resolved.

We also don’t have great metrics for read performance since those come out of different gateways and aren’t part of our core service.

We could kick of an async process (maybe in Lambda so that we can get a longer timeout) on every new write that reads data from multiple gateways and logs the performance of each. It could also trigger an alert when data is not available from our own gateways within a reasonable timeframe and we could use this to pro-actively investigate issues before we get a report from users.

@mikeal mikeal added kind/bug A bug in existing code (including security flaws) need/triage Needs initial labeling and prioritization labels Nov 10, 2021
@dchoi27 dchoi27 added P2 Medium: Good to have, but can wait until someone steps up and removed need/triage Needs initial labeling and prioritization labels Nov 22, 2021
@dchoi27
Copy link
Contributor

dchoi27 commented Dec 9, 2021

Are there any considerations here for file size (might cause unforseen issues if there happens to be 5 requests in a row for 10GB content)?

@vasco-santos
Copy link
Contributor

Closing in favour of work stream in nftstorage/nftstorage.link#19 + https://github.com/nftstorage/checkup

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug A bug in existing code (including security flaws) P2 Medium: Good to have, but can wait until someone steps up
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants