dynamic-dynamodb icon indicating copy to clipboard operation
dynamic-dynamodb copied to clipboard

Make it possible to downscale even if group downscale enabled but not both reads and writes need to be downscaled

Open Jofen opened this issue 10 years ago • 3 comments

The issues I've seen is when I set "always-decrease-rw-together" to true, if for example, writes needs to be downscaled but reads is not. The tool would ignore the downscale operation of writes and wait until both writes and reads can be downscaled. That could possibly never happen and therefore writes would never get downscaled.

I am thinking to add a "timeout-interval" config that works in conjunction with the "always-decrease-rw-together" config. That is, if a downscale needed but can't decrease rw together at that time, the downscale operation would be queued, and if it's been queued for a long time that exceed the timeout interval, then it should just apply that single read or write downscale.

Jofen avatar May 16 '14 16:05 Jofen

@sebdah, what's your opinion on this? regards

gretel avatar Oct 22 '14 16:10 gretel

I haven't heard many people that need it. But it's a good feature and I'd be likely to merge a PR for this.

sebdah avatar Oct 23 '14 05:10 sebdah

I want to second this. In particular, if one isn't scaling down because it has already reached its minimum, then that should never block the scale down of the other.

WalkerCodeRanger avatar Nov 19 '14 20:11 WalkerCodeRanger