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

Implement throttle feature for the latte #26

Open
vponomaryov opened this issue Dec 9, 2024 · 1 comment
Open

Implement throttle feature for the latte #26

vponomaryov opened this issue Dec 9, 2024 · 1 comment
Assignees

Comments

@vponomaryov
Copy link
Collaborator

For the moment latte cannot limit maximum operations per second rate.
If a DB cluster, for any reason, temporary cannot serve the request rate generated by latte
then latte applies burst approach to compensate non-served requests.
It will make op/s be bigger than the configured rate.

So, need to implement the throttle mechanism to be able to limit the op/s for all the cases.
It is needed in the performance measuring scenarios.

@vponomaryov vponomaryov changed the title Implement throttling feature for the latte Implement throttle feature for the latte Dec 9, 2024
@fruch fruch removed their assignment Dec 10, 2024
@fruch
Copy link
Collaborator

fruch commented Dec 23, 2024

so after looking it up in c-s, the outcome is that c-s behaves exactly the same in both options
but the calculation done with the HDR histogram is calculating service time = request time + wait time

so we leave that for the doing the calculation from HDR histogram as c-s, and not touch the implementation of how request are serves

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