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

Return 503 when web3signer gets overloaded #974

Open
siladu opened this issue Feb 26, 2024 · 0 comments
Open

Return 503 when web3signer gets overloaded #974

siladu opened this issue Feb 26, 2024 · 0 comments
Labels
enhancement New feature or request TeamCerberus Under active development by TeamCerberus @Consensys

Comments

@siladu
Copy link
Contributor

siladu commented Feb 26, 2024

Currently if web3signer is overloaded, it can bring down the whole service.

It might be a better approach to detect saturation of resources and start returning 503s so the CL can respond accordingly.

Idea came from https://www.brendangregg.com/blog/2020-07-15/systems-performance-2nd-edition.html

Linear scalability of response time could occur if the application begins to return errors when resources are unavailable, instead of queueing work. For example, a web server may return 503 “Service Unavailable” instead of adding requests to a queue, so that those requests that are served can be performed with a consistent response time.

@siladu siladu added enhancement New feature or request TeamCerberus Under active development by TeamCerberus @Consensys labels Feb 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request TeamCerberus Under active development by TeamCerberus @Consensys
Projects
None yet
Development

No branches or pull requests

1 participant