开发者

Google App Engine - How can I improve my cold start JVM time?

I'm not new to improving my cold start ti开发者_如何学运维me, I've spent many hours trying different things. I'd like if possible to know exactly what the Google App Engine does during a cold start.

I have a log statement as described here http://code.google.com/intl/nl/appengine/kb/java.html#performance to show when my code first gets control.

I have two apps that I have been testing, one is simple, and my code first gets control after about 1 second.

The other one has lots of files and stuff and my code first gets control after about 2 seconds. This one doesn't use any more libraries than the other one, however it does have a lot more jsps and java classes.

Could simply having more java and jsp classes cause slower cold start, even if the class isn't used?

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜