google app engine - Keeping GAE at a single instance with flexibility to scale -
I have a relatively low traffic app that can easily be controlled from the same example from 195% time . Occasionally, running more than one instance will be helpful in providing a better user experience.
It seems that GAE should be able to automatically scale in this manner, but I only have a single example when the traffic is low With this configuration, GAE will run approximately two instances now, though an alternative The above. I know that I can set maximum examples in one, but I want to be able to automatically scale it when I need it. What should I do? Note that the minimum / maximum property you are setting is for IDLE installs. For a few more details, take a look at this article: Minimum / maximum settings are for helping to handle sudden increase in traffic and there are some examples which can be launched. Regarding your question, you can try to reduce
Set a minimum example from means that you will always be running at least one instance, even if you have more than 15 minutes No request. If you have less traffic and your app launches shortly, then it may start under 1-2 seconds, otherwise users will have a bad experience with very slow response on their first request.
Set maximum example from 3 means that it is OK for three instances that run at any time for GAE, even if only some requests It can be set to
1 to save some costs, but slow down some requests when traffic increases (which takes time to start a new instance to launch your app is).
Max-idle-example does not limit the number of instances in the state of traffic spikes, your app will always scale and if necessary So the new example will launch.
maximum-idle-examples to
1 and see if it helps . You do not have to worry about scaling, if necessary, new examples will still be launched, just keep in mind that the experience will not be as easy for your users. If you have reduced the number of
maximum-idle-imbalance and you still see more than 1 instance running on very low traffic, then your app can be optimized and multi-threading It may not have been necessary to enable it.
Comments
Post a Comment