您如何为Google App Engine保留正在运行的实例? [英] How do you keep a running instance for Google App Engine

查看:98
本文介绍了您如何为Google App Engine保留正在运行的实例?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

看起来谷歌应用程序引擎和开发者控制台已经改变了。我不知道如何保持谷歌应用程序引擎运行的实例,即使该网站是偶像。在应用程序引擎设置下有用于此的滑块,但这不再存在。我想在谷歌上说我有动态实例,我需要一个驻留实例开始。

解决方案

实例正常运行时间取决于为各个模块配置的缩放类型。只有手动和基本缩放模块实例可以驻留。
通过相应的模块的配置文件选择模块缩放类型



您也可以查看预热请求,这将有助于减少除第一个/驻留实例之外的其他实例启动时的响应时间。


It seems the google app engine and developers console has changed again. I can not figure out how to keep a instance for google app engine running, even when the site is idol. There use to be a slider for this under the app engine settings, but this is no longer there. I think in Google Speak I have dynamic instances and I need one resident instance to start with. The first hit on the site is just taking way too long.

解决方案

The instance uptime depends on the type of scaling configured for the respective module. Only manual and basic scaling module instances can be resident. Selecting a module scaling type is done via the respective module's configuration file.

You may also want to take a look at warmup requests, which would help reduce the response times when additional instances are started besides the very first/resident instance.

这篇关于您如何为Google App Engine保留正在运行的实例?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆