cloudspannerecosystem/autoscaler

Best practice autoscaling threshold configuration?

alexlo03 opened this issue · 1 comments

Hello,

Out of the box this project configures the high priority CPU threshold at 65% (regional), 45% (multi-regional) with a margin of 5%, which means that it only autoscales when it sees 70% (regional) or 50% (multi-regional)

Is this advised for Production use, or should we set the thresholds lower?

Refs

regional_threshold: 65,
multi_regional_threshold: 45,

https://cloud.google.com/spanner/docs/cpu-utilization#recommended-max

hi Alex,

these are the thresholds recommended by our Product Managers.
They are a good starting point that can be used in production.

That being said, observe your resource utilization before and after, and adjust them if necessary.

David