Hi

I second Adam's suggestion to use manual scaling in order to not run into 
any latency issues. We're running on manual scaling for several years now 
and this proved the only scaling method guaranteeing no latency issues.

Eg. when we tried with basic-scaling, we discovered that:

1. There is no min-instances parameter. In worst case app engine will scale 
down to 1 instance, but if you encouter a sudden traffic spike there won't 
be any prewarmed, unused instances. We would like to see here a config 
option where min-instances can be configured on basic-scaling.

2. Even though we have warmup requests configured, some requests still went 
to newly created instances, thus adding latency for the time it takes to 
serve the first request.

As our application has to deliver consistent performance, we chose 
manual-scaling instead.

@Adam, regarding setNumInstances() 
<https://cloud.google.com/appengine/docs/java/javadoc/com/google/appengine/api/modules/ModulesService#setNumInstances-java.lang.String-java.lang.String-long->
 
method: Is there some kind of method to programmatically retrieve the 
active instances value, as like the active green line as shown in the 
dashboard when 'Instances' is selected? Or similar the current latency 
value when 'Latency' is selected?

For our application it seems a better fit to use manual-scaling, but use a 
custom load balancer control function that will use setNumInstances() to 
scale the instances depending on load.

Thanks & Regards
Marcel


-- 
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/94893d7f-af3f-4e0a-9e98-0bfdade13357%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to