Eclipse是否将第三方GWT库上传到GAE? [英] Does Eclipse upload 3rd-party GWT libraries to GAE?

查看:103
本文介绍了Eclipse是否将第三方GWT库上传到GAE?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

降低应用程序冷启动延迟的技巧之一是尽可能少地使用/上传JAR。我想知道我能做什么来阻止第三方GWT库(如gwtquery.jar等)上传到GAE? (一旦应用程序被编译,这些变得毫无用处,所以它会是非常不幸的,如果它们归因于延迟)。

如果可以过滤特定文件,同时仍然使用Eclipse GWT插件。



我如何判断他们是否上传?控制台输出在这方面似乎不太有用。

解决方案

冷启动延迟是由加载所需的时间所有需要处理请求的类。如果你上传了一个JAR文件,但是没有引用它,它将不会被加载,因此不会影响你的冷启动延迟。


One of the tips for lowering your app's cold-start latency is to use/upload as few JARs as possible. I'm wondering what can I do to prevent 3rd-party GWT libraries (like gwtquery.jar etc.) from being uploaded to GAE? (Once the app gets compiled these become useless, so it would be quite unfortunate should they attribute to the latency.)

It would be great if it was possible to filter particular files while still using the Eclipse GWT plugin.

And how can I tell whether they get uploaded or not? Console output does not seem to be too helpful in this.

解决方案

Cold-start latency is determined by the time it takes to load all the classes needed to handle the request. If you upload a JAR file, but nothing references it, it won't be loaded, and thus won't affect your cold-start latency.

这篇关于Eclipse是否将第三方GWT库上传到GAE?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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