--
You received this message because you are subscribed to the Google Groups "Google App Engine" group.
To view this discussion on the web visit https://groups.google.com/d/msg/google-appengine/-/ZyzbO64SF3IJ.
To post to this group, send email to google-a...@googlegroups.com.
To unsubscribe from this group, send email to google-appengi...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
Currently the scheduler sends requests always to dynamic instances and only when it sees that traffic is increasing and more instances are needed, it would temporarly direct the traffic to a warmed up resident instance. Which, according many user claims isn't always working as it should and the request hits a new dynamic instance which cold starts.
Wouldn't it be much easier if requests ALWAYS hit (the user chosen reserved amount) of resident instances first, and only then additional dynamic instances are started as traffic is increasing. The request would always hit a ready resident instance or is kept shortly in the queue until the request can be served by such. Meanwhile the scheduler can start as many dynamic instances it thinks are required and only direct traffic to them once they are warmed up.
/Marcel
My low traffic app has been running great for the past couple of weeks.
Now I am seeing new instances being created every few minutes.
Again, we have a change in the scheduler behavior for low traffic apps.
Last time this happened I threw a fit.
This time I am saddened and depressed.
David
--
You received this message because you are subscribed to the Google Groups "Google App Engine" group.
To view this discussion on the web visit https://groups.google.com/d/msg/google-appengine/-/WnZfTIf4FckJ.
I just wish it were marked as High priority instead of medium; I would encourage everyone on this thread to star it if you haven't already.
<cronentries>
<cron>
<url>/some-non-static-url</url>
<schedule>every 1 minutes</schedule>
</cron>
</cronentries>
This will keep one instance warm.
Jeff
--
You received this message because you are subscribed to the Google Groups "Google App Engine" group.
To view this discussion on the web visit https://groups.google.com/d/msg/google-appengine/-/-ojM5D_cMsgJ.
Hello Mike,
Only one new instance started over the last hour.Yesterday, at the same time, it was 2 instance loading requests every 3 minutes.Google definitely fixed something on their side.Thanx guys. But please, don't touch anything now :-)François
A high minimum allows you to prime the application for rapid spikes in request load. App Engine keeps that number of instances in reserve at all times, so an instance is always available to serve an incoming request, but you pay for those instances. This functionality replaces the deprecated "Always On" feature, which ensured that a fixed number of instances were always available for your application. Once you've set the minimum number of idle instances, you can see these instances marked as "Resident" in the Instances tab of the Admin Console.
Note: If you set a minimum number of idle instances, the pending latency slider will have less effect on your application's performance. Because App Engine keeps idle instances in reserve, it is unlikely that requests will enter the pending queue except in exceptionally high load spikes. You will need to test your application and expected traffic volume to determine the ideal number of instances to keep in reserve.
...
The second slider sets the maximum period of time (at most 15 seconds) that the scheduler will wait before resolving to create a new instance for the request.
- A high maximum means users may wait longer for their requests to be served (if there are pending requests and no idle instances to serve them), but your application will cost less to run.
--
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 google-appengi...@googlegroups.com.
Visit this group at http://groups.google.com/group/google-appengine?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.