-
Notifications
You must be signed in to change notification settings - Fork 151
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
Memory store clean command is a blocker #86
Comments
Hello, Do you have any suggestions by any chances ? Cheers, |
Could I have an example of your expiration duration ? |
I think redis store would remove the the bottleneck since there is no cleaner on the app but for a single deployment it would create unneeded latency.
|
I may have a solution using a ring buffer, would you like to experiment it ? |
Sure! |
@gadelkareem Could I have an example on how many keys you have in your store, so I could have a good telemetry on how my idea improve (or not) things ?! Thank you. |
@novln I am afraid that would be hard to calculate because it is production data but we can estimate it through the number of requests which is around 1.2 Million request per day. |
Hello, Could you try this commit 3cd0e5a? I haven't done a benchmark nor a ring buffer in order to try to keep the initial architecture. |
I tested it with stack impact and I do not see that blocker anymore but i made a PR so you can test it more intensely. |
Limiter is running on a high traffic server so while debugging some problems I saw high letancy from the store cleaner. I know that we need to remove the expired records but maybe there is a better way to do it?
The text was updated successfully, but these errors were encountered: