In that case, you are already using all the app.yaml parameters <https://cloud.google.com/appengine/docs/flexible/python/reference/app-yaml#automatic_scaling> made available for the flexible environment.
On Friday, August 30, 2019 at 12:38:10 AM UTC-4, Harshit Dwivedi wrote: > > Thanks but this seems to be available only for the Standard environment. > I'm currently using Appengine in the flex environment. > > On Fri, Aug 30, 2019, 7:21 AM 'Diogo Almeida' via Google App Engine < > [email protected]> wrote: > >> Other than the parameter you are already using, I recommend you check how >> auto scaling services use dynamic instances >> <https://cloud.google.com/appengine/docs/standard/go111/how-instances-are-managed> >> >> and the parameter you can use in the app.yaml. >> >> On Thursday, August 29, 2019 at 12:36:08 PM UTC-4, Harshit Dwivedi wrote: >>> >>> Thanks George for the explanation. >>> Is there a way I can tweak the autoscaling params for my appengine flex >>> deployment? >>> >>> As far as I can see, it only allows me to modify the scaling based on >>> the CPU utilization. >>> >>> On Thu, Aug 29, 2019 at 4:46 AM 'George (Cloud Platform Support)' via >>> Google App Engine <[email protected]> wrote: >>> >>>> Hello Harshit, >>>> >>>> You seem to imply that downscaling depends strictly on CPU utilization >>>> levels. This is in fact not exactly the case, there are more factors >>>> involved; following policies may be adopted: >>>> >>>> - Average CPU utilization (not identical to target utilization) >>>> - HTTP load balancing serving capacity, which can be based on either >>>> utilization or requests per second. >>>> - Stackdriver Monitoring metrics. >>>> >>>> Scaling algorithms are not easy to describe. One factor that comes to >>>> mind is historic in nature: CPU charge for a certain past period, for >>>> instance. You may find related detail in the Scaling characteristics >>>> <https://cloud.google.com/appengine/docs/flexible/python/flexible-for-standard-users#scaling_characteristics> >>>> >>>> sub-chapter of the "App Engine Flexible Environment for Users of App >>>> Engine >>>> Standard Environment", which refers to Autoscaling policy and target >>>> utilization >>>> <https://cloud.google.com/compute/docs/autoscaler/#policies>. >>>> >>>> -- >>>> You received this message because you are subscribed to the Google >>>> Groups "Google App Engine" group. >>>> To unsubscribe from this group and stop receiving emails from it, send >>>> an email to [email protected]. >>>> To view this discussion on the web visit >>>> https://groups.google.com/d/msgid/google-appengine/9e9c9047-5b13-4a9e-8cf7-b161124d3d8e%40googlegroups.com >>>> >>>> <https://groups.google.com/d/msgid/google-appengine/9e9c9047-5b13-4a9e-8cf7-b161124d3d8e%40googlegroups.com?utm_medium=email&utm_source=footer> >>>> . >>>> >>> -- >> You received this message because you are subscribed to the Google Groups >> "Google App Engine" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to [email protected]. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/google-appengine/4d7b4fde-207d-4e4b-9743-c8b90c99a1cc%40googlegroups.com >> >> <https://groups.google.com/d/msgid/google-appengine/4d7b4fde-207d-4e4b-9743-c8b90c99a1cc%40googlegroups.com?utm_medium=email&utm_source=footer> >> . >> > -- You received this message because you are subscribed to the Google Groups "Google App Engine" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/google-appengine/73df3297-2e5b-47a0-9b23-1f017e8c18d4%40googlegroups.com.
