我在Google App Engine上有一个正在运行的 生产环境 环境(基于JAVA Spring MVC) . 我已经为1个常驻F4实例配置了1个最小实例 . 在正常时间我有2个实例,一个驻留和另一个动态 . 当对服务器 app engine fires a new instance but will not direct requests to it 有更多需求并且只是让它保持运行时,有时会持续数天:
-
Why doesn't app engine direct requests to these instances?
-
Why doesn't app engine shut down these instances when they are idle for days?
这是旧控制台中的配置:
I did another test and configured 3 minimum instances 实例触发,但仍然没有针对他们的请求:(任何想法?
1 回答
将最大空闲实例设置为1将强制它收集除1个空闲实例之外的所有实例 . 问题可能是所有请求都出现在第一个“动态”实例中,“常驻”实例处于空闲状态,因此存在1个“空闲动态”实例 . 这让我感觉到产生观察到的影响的可能逻辑 .