如何在Google App Engine中创建常驻实例? [英] How do I make a resident instance in google app engine?

查看:50
本文介绍了如何在Google App Engine中创建常驻实例?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我是否需要为常驻实例付费?现有的信息使我感到困惑?我想为我的Java应用程序启用"always on"功能.谢谢.

Do I need to pay to for a resident instance? The information available is confusing to me? I want to enable the "always on" feature for my java app. Thanks.

推荐答案

您确实需要为一个常驻实例付费-只需将最小空闲实例数设置为您想要的许多常驻实例(3类似于始终开启"功能).从应用程序"页面(在其中进行设置)中有关空闲实例的一些信息:

You do need to pay for a resident instance - just set the number of minimum idle instances to however many resident instances you want (3 is similar to the "Always On" feature). Some info about idle instances from the Applications page (where you set it):

空闲实例"滑块可让您控制空闲数量实例可用于您的应用程序的默认版本给定时间.闲置实例已预加载了您的应用程序代码,因此,当需要一个新实例时,它可以立即为流量提供服务.超过指定的最大数量的空闲实例将不会向您收费.更少的空闲实例意味着您的应用程序成本更低可以运行,但在负载高峰期间可能会遇到更多的启动延迟.

The Idle Instances slider allows you to control the number of idle instances available to the default version of your application at any given time. Idle Instances are pre-loaded with your application code, so when a new Instance is needed, it can serve traffic immediately. You will not be charged for idle instances over the specified maximum. A smaller number of idle Instances means your application costs less to run, but may encounter more startup latency during load spikes.

这篇关于如何在Google App Engine中创建常驻实例?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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