I recently deployed a Spring MVC application for the google engine engine, and the boot time is about 7 seconds. After downloading the application, the application is quite responsive. But if the application is idle for more than 1 minute (there is NO ANY traffic for it), the application must be restarted by GAE again, which also takes about 7 seconds. This is not acceptable for a PRD tier application. (The application is empty - I don’t even use JPA, Sitemesh, Spring Security, etc. It just loads the jsp page with some text.)
The only "best practice" for fixing the "boot time" I've seen so far is to set up a cron job that accesses the URL every minute, therefore keeping the application "loaded". Obviously, this is a terrible decision.
So, the question is: are there any “best practices” for Spring in GAE in terms of responsiveness? Since google and Spring are working to improve the integration between the two of them, was there any news / progress on this issue? I can not find anything specific, so I ask him here
Topic discussions: http://groups.google.com/group/google-appengine-java/browse_thread/thread/80d014fd5abd526f
UPDATE
There is a “ticket” for creating reserved instances, as well as a “heating” logic: http://code.google.com/p/googleappengine/issues/detail?id=2456
java performance google-app-engine spring-mvc
Vladimir
source share