Thanks for the replies! Probably the best choice right now is to switch away from Spring entirely. I wonder how Google/Spring is going to tackle this issue, especially since they're working on creating a closer integration between the two companies' technologies (they even talked about Roo and GWT at Google I/O).
On Oct 13, 9:24 am, Vladimir <[email protected]> wrote: > Thanks Marcelo! > > BTW, how long is your load time using VRaptor, and how complicated is > your app? (do you use any security modules, jdo, etc) > > On Oct 7, 7:41 am, Marcelo Madeira <[email protected]> wrote: > > > > > Vladimir, > > > I am using the cron job solutions... i know that it´s not the best > > solutions but it´s working perfectly. > > I don´t recommend you to use spring in GAE. The spring´s load time is > > not acceptable in GAE. > > > I am using VRaptor + Objectify and the startup time is not a problem > > for me. > > > Sorry about some english mistakes. > > > Marcelo Madeira > > Brazil > > > On Oct 6, 4:44 pm, Vladimir <[email protected]> wrote: > > > > Hello All! > > > > I recently deployed a Spring MVC application to google app engine, and > > > the intial load time is about 7sec. Once the application is loaded, > > > the app is quite responsive. But, if the app is idle for more than 1 > > > minute (there isn't ANY traffic to it) the app needs to be again > > > reloaded by GAE, which, takes about 7sec as well. For a PRD-level > > > application this is unacceptable. (The app is empty -- I'm not even > > > using JPA, Sitemesh, Spring Security, etc yet. It just loads a jsp > > > page with some text.) > > > > The only "best practice" to fix the 'load time' I've seen so far is to > > > set up a cron job that hits the url every minute, therefore keeping > > > the app 'loaded'. Obviously this is a terrible solution. > > > > So here are the questions: > > > Are there any "best practices" for Spring on GAE in terms of > > > "responsiveness"? > > > Since google and spring are working on developing better integration > > > between the two of them, has there been any news/progress on this > > > problem? I can't find anything concrete, that's why I'm asking it here > > > > Thanks! > > > Vladimir -- You received this message because you are subscribed to the Google Groups "Google App Engine for Java" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.
