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

500 rate necessary? #1

Open
finnhodgkin opened this issue Feb 24, 2020 · 1 comment
Open

500 rate necessary? #1

finnhodgkin opened this issue Feb 24, 2020 · 1 comment

Comments

@finnhodgkin
Copy link
Contributor

The code looks good to me, except possibly 500s being included. I thought the app issues were caused by timeouts from dyno freezes, not normal server 500s. I would have thought that if a request gets to the point of a 500 it means the dyno is healthy enough to get to the error and probably doesn't need a restart.

Slightly worrying because dyno restarts could be triggered from completely intentional error handling. Also I reckon after this has been in production for a while we're quite likely to forget it exists so debugging could become a bit of a nightmare if normal errors are also included.

@roryc89
Copy link
Contributor

roryc89 commented Jun 23, 2020

Quite possible this could be an issue. I don't think we should intentionally be responding with 500s though as I don't think we should intentionally error. It should be a 400s client request issue if the request isn't valid.

So far this doesn't seem to be an issue and I think it's possible that at times a dyno restart could stop 500s.

Also we can see in the main app metrics when the dynos have been intentionally restarted.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants