-
Notifications
You must be signed in to change notification settings - Fork 3.6k
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
Unable to configure read autoscaling for dynamoDB #1267
Comments
More information Loki logs (UTC+0)
I have the feeling that the new_write and the old_write are reversed.
dynamodb console (UTC+0) Scaling activities when table is inactive cloudtrail log (UTC+1) Some entries are weird, like this one |
It looks like the Tablemanager is ignoring your desire to use AWS auto-scaling, and simply overwriting with the static 300 number each time it spots the provision has changed.
I gave up on AWS auto-scaling long ago and wrote the "metrics-based scaling". |
Given more logs, especially from the beginning of the run, it's possible that something might give a clue.
Old is what it found; new is what it's about to set it to. |
Just now from the log
I've configured a cooldown of 1h, but the last two update have less than 20 minutes interval (generating LimitExceededException)
I've 268840 line of log, but I can grep some keyword autoscaling
|
Hi all, I'm experiencing similar problems here. I thought I'd set up loki to set write (and read) autoscaling on active tables (and the first inactive) but it's only setting write autoscaling for some reason. I thought this was because I updated by configuration after my tables were initially created but I checked the settings in AWS on a newly created active index table last night and can see that it's still missing the read autoscaling settings: The logs show this when the new table was created:
.. and my config is shown below. Any help you can give much appreciated. Happy to attach more information if it helps.
|
Hi people, Any thoughts on this issue? Let me know if I can provide more useful information. Kind regards, Pete |
Setting the read scaling parameters on DynamoDB is not implemented, sorry. Note that I plan to remove the AWS auto-scaling code from Cortex entirely. EDIT: I think what happened is there was no way to set read scaling parameters, then they were added for the metrics-based scaling, and never implemented for AWS auto-scaling. |
Hi @bboreham - thanks for your reply. Would read/write scaling work if I switch to metrics-based scaling? |
Make sense, if i understand well Loki use Cortex with AWS autoscaling mode, so Loki team has to update the code and use the "metrics-based" scaling mode? (which is implemented in cortex independently of AWS?) I guess, this will fix the weird behaviors with write scaling? (see my second post) |
This issue has been automatically marked as stale because it has not had any activity in the past 30 days. It will be closed in 7 days if no further activity occurs. Thank you for your contributions. |
Fix fmt.Errorf() error message
Describe the bug
DynamoDB AutoScaling doesn't work for read
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Have autoscaling for read and write
Environment:
Screenshots dynamodb console
![image](https://user-images.githubusercontent.com/5497623/68939812-cc7b8e80-07a1-11ea-921c-d27167700522.png)
logs
Question
Does dynamodb + autoscaling configured can work without #1226 ? Everything I try with loki 0.4.0 result as a fail, does I miss something in the configuration or no one have try this? (I will be a bit surprised)
The text was updated successfully, but these errors were encountered: