cloudfoundry / app-autoscaler

Auto Scaling for CF Applications
Apache License 2.0
73 stars 62 forks source link

I want to scale my app more rapidly when there is a request explosion #563

Open qibobo opened 4 years ago

qibobo commented 4 years ago

Currently autoscaler evaluate the metrics in a breach duration, and it may be slow to do scale action when there are suddenly many requests come to the app.

So we can set 2 breach durations, the stale one and the panic one. For example, stable duration is 60s and panic duration is 6s. The autoscaler does evaluation for both stable and panic duration, and if the one for panic has been breached twice, then it use the panic duration. And if there is no scale action for some time, it then goes back to stable duration.

cf-gitbot commented 4 years ago

We have created an issue in Pivotal Tracker to manage this:

https://www.pivotaltracker.com/story/show/172494789

The labels on this github issue will be updated when the story is started.

cdlliuy commented 4 years ago

@silvestre , feel free to go ahead with this :-)