【发布时间】:2015-12-02 06:19:57
【问题描述】:
我使用 java 和 GWT 在 GAE 上部署了我的应用程序。当我使用我的应用程序 ID sample.sampleappId.appspot.com 登录到我的应用程序时。在我的应用程序中,当我填写表格时有很多表格,例如客户注册,然后如果我填写了一半表格并且我停止填写表格并且在 2、3 分钟后我继续填写剩余表格然后我点击保存按钮然后在记录器中我我得到像
这样的信息“此请求导致为您的应用程序启动一个新进程,从而导致您的应用程序代码首次加载。因此,与您的应用程序的典型请求相比,此请求可能需要更长的时间并使用更多的 CPU。”
我面临这么多时间。 为什么 GAE 会抛出此信息。
我的 appengine-web.xml:-
<appengine-web-app xmlns="http://appengine.google.com/ns/1.0">
<application>sampleappId</application>
<version>25</version>
<!--
Allows App Engine to send multiple requests to one instance in parallel:
-->
<threadsafe>true</threadsafe>
<instance-class>F4_1G</instance-class>
<!-- Configure serving/caching of GWT files -->
<static-files>
<include path="**" />
<!-- The following line requires App Engine 1.3.2 SDK -->
<include path="**.nocache.*" expiration="0s" />
<include path="**.cache.*" expiration="365d" />
<exclude path="**.gwt.rpc" />
</static-files>
</appengine-web-app>
有什么解决办法吗? 有什么帮助吗?
【问题讨论】:
标签: java google-app-engine gwt