居民实例似乎不起作用 [英] Resident instance doesn't seem to work

查看:125
本文介绍了居民实例似乎不起作用的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

继我之前的问题此处



以下是我的billing-enable appengine控制台的屏幕截图: b
$ b


您可以看到,我有一个驻留实例,但所有请求都没有路由到它,而是一个动态实例加载并获取所有的流量。要么我没有正确地获得驻地实例的概念,要么这太荒谬了。



任何人都可以帮我理解这里发生的事情吗?

非常感谢!

解决方案

据我所知,驻留实例是没有其他实例(fe dynamic)可用的时候(忙,没有人启动)。它们是完全利用和新的(动态)实例之间的缓冲区。如果每个动态实例都处于极限(或无人可用),则应用引擎需要一些时间来启动新实例。在这段时间内,常驻实例正在获取新的请求,以便您的服务不会为用户忙碌(和/或减少服务响应时间)。
使用率较低的常驻实例会占用大量使用的成本。


Following my previous question here:

Here's a screenshot of my billing-enable appengine console:

As you can see, I have a resident instance, but all requests are not routed to it, and instead a dynamic instance is loaded and gets all the traffic. Either I'm not getting the concept of Resident instances correctly, or this is ridiculous.

Can anyone help me understand what's going on here?

Thanks a lot!

解决方案

As far as I know, resident instances are for times when no other instances (f. e. dynamic) are available (busy, no one started). They are the buffer between full utilization and new (dynamic) instances available. If every dynamic instance is at its limit (or no one available), the app engine needs some time to start new instances. In this time the resident instance is getting new requests so that your service is not getting busy for the users (and/or to decrease service response time). A resident instance with low usage will cost you as much as one with heavy usage.

这篇关于居民实例似乎不起作用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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