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

Insert a rate limit between requests as soon as the backend is back UP recently #434

Open
hamadodene opened this issue May 8, 2023 · 0 comments · May be fixed by #512
Open

Insert a rate limit between requests as soon as the backend is back UP recently #434

hamadodene opened this issue May 8, 2023 · 0 comments · May be fixed by #512
Assignees
Labels
enhancement New feature or request java Pull requests that update Java code

Comments

@hamadodene
Copy link
Contributor

Let's assume the case that we have a backend that has just restarted.

Once the backend starts up, it will presumably not be able to handle the load of requests that can come from the Carapace.

It would be interesting to be able to handle the case where the backend just went back UP. That is, as soon as the backend returns UP, for the first X seconds you should start with a low request load and gradually increase the request load.

This will probably mean that some requests will initially be pending, but still generally fewer requests should fail.

@hamadodene hamadodene added the enhancement New feature or request label May 8, 2023
@NiccoMlt NiccoMlt changed the title Insert a rate Limit between requests as soon as the backend is back UP recently Insert a rate limit between requests as soon as the backend is back UP recently Apr 9, 2024
@NiccoMlt NiccoMlt self-assigned this Oct 25, 2024
@NiccoMlt NiccoMlt added the java Pull requests that update Java code label Oct 25, 2024
@NiccoMlt NiccoMlt linked a pull request Nov 7, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request java Pull requests that update Java code
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants