您如何为Google App Engine保留正在运行的实例? [英] How do you keep a running instance for 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屋!