Auto Scaling Flex Environment Based On Metrics Other Than CPU Utilization

180 views
Skip to first unread message

Manu Janardhanan

unread,
Oct 5, 2017, 8:49:21 AM10/5/17
to Google App Engine
How can we scale Flex environment with metrics other than cpu utilization, like requests per second, stackdriver metrics, time spent by requests in queue etc? The documentation only mentions cpu utilization. 

Jordan (Cloud Platform Support)

unread,
Oct 5, 2017, 2:44:49 PM10/5/17
to Google App Engine
The entire benefit of App Engine is that it handles scaling for you and uses many other metrics other than CPU to scale instances as described in the documentation

Looking at the source code of the appengine-config-transformer it does mention the existence of hidden scaling settings that indeed match that of the available Stackdriver Monitoring metrics for App Engine. You can therefore try using these in your app.yaml configuration file to adjust your App Engine scaling settings at your own risk (as there are no documented limits for these settings). 
 
If you require the need to have full control over your scaling instances, you may instead want to take a look at Google Container Engine. 
Reply all
Reply to author
Forward
0 new messages