App only runs on one instance?

75 views
Skip to first unread message

Anthony Shapley

unread,
Apr 27, 2016, 9:18:38 AM4/27/16
to Google App Engine
Hi,

We have an app running, using Django - and for some reason AppEngine won't ever the application on more than a single instance? We haven't set anything that should limit this in the app.yaml file, so just wondered if there is anything else we could have configured incorrectly that would prevent AppEngine from load balancing properly?

Ant

Mihail Russu

unread,
Apr 27, 2016, 12:07:23 PM4/27/16
to Google App Engine
What's your traffic? Does it always work no matter what or is it crashing? How do you check the number of running instances? What does your dashboard look like? Unless you're doing manual scaling - there's nothing that can be set to limit the number of instances.

Nicholas (Google Cloud Support)

unread,
Apr 27, 2016, 4:24:09 PM4/27/16
to Google App Engine
To add to what was previously mentioned by Mihail, your scaling settings may very affect how many instances can spin up in response to traffic.

Using scaling elements in your app.yaml, one can limit the number of instances available. For example, basic_scaling requires one to specify a max_instances property. Also, manual_scaling requires one to specify a fixed number of instances.

If you're using automatic_scaling, there should not be a limit imposed unless you've reached daily spending limits that you may have set for your application.

Barring the above exceptions, your application should scale to meet demand when set to automatic_scaling. What remains is to have enough traffic for App Engine to warrant spinning up new instances. Should you feel that your application is not scaling when receiving sufficient traffic, please provide your yaml scaling settings here along with some traffic screenshots from the Developers Console showing an excessive amount traffic that should trigger scaling.

Should you have any additional questions on the subject, feel free to voice them here.

Nicholas (Google Cloud Support)

unread,
May 5, 2016, 3:59:15 PM5/5/16
to Google App Engine
I have not heard from you since your original post. Have you found and tested how to configure your scaling settings? Are you still seeing unserved traffic due to App Engine instances not spinning up? Would you be able to provide some dashboard screenshots showing this along with the scaling settings in your app.yaml?


On Wednesday, April 27, 2016 at 9:18:38 AM UTC-4, Anthony Shapley wrote:
Reply all
Reply to author
Forward
0 new messages