Hello,
Your instance will be scaled depending on the parameter limits first reached. If you have 5 concurrent requests, but reached the Max_pending_latency parameter, for example, then the instance will be scaled. Also, there are some standard values that can spawn your instances[1]. [1] https://cloud.google.com/appengine/docs/standard/nodejs/config/appref On Saturday, November 10, 2018 at 7:25:12 PM UTC-5, Nikitha Kamath wrote: > > Thank you. This issue have been reported in Issue tracker. > > With the below scaling parameters, when will a new instance get spawned? I > mean will it depend on concurrent requests or CPU utilization or pending > latency or any other metrics? > > instance_class: F2 > automatic_scaling: > max_concurrent_requests: 10 > max_idle_instances: 1 > max_pending_latency: 300ms > min_idle_instances: 0 > min_pending_latency: 30ms > > > On Monday, November 5, 2018 at 7:08:54 PM UTC+5:30, Nikitha Kamath wrote: >> >> >> Hi, >> >> A Node.js application is deployed in App engine standard environment. In >> the app.yaml, automatic scaling is chosen with values given below. However, >> when using 'gcloud app deploy', it gives this error : Unexpected >> attribute 'target_throughput_utilization' for object of type >> AutomaticScaling.What is the solution for this? Are we missing some >> values in app.yaml? Also when there are no incoming requests, the number of >> instances is always 2 instead of 0. Why is that? >> >> Thank you. >> >> runtime: nodejs8 >> instance_class: F2 >> automatic_scaling: >> max_concurrent_requests: 10 >> target_throughput_utilization: 0.8 >> handlers: >> - url: /.* >> secure: always >> redirect_http_response_code: 301 >> script: auto >> >> -- 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 post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/google-appengine. To view this discussion on the web visit https://groups.google.com/d/msgid/google-appengine/329e098b-462f-4261-900b-35797a85b00d%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
