Have you looked at enabling precompilation? This has been known to speed up JVM based applications.
http://googleappengine.blogspot.com/2009/12/request-performance-in-java.html Firing up the JRuby runtime is fairly expensive, as is the initial loading of Rails. There's still a lot of work we can do to improve startup time for JRuby users. On Sun, Dec 6, 2009 at 12:38 AM, Daisuke <[email protected]> wrote: > Hi > I'm Daisuke Ikeda. > > I make application using Google app engine for java now. > And I develope application in JRuby on Rails. > > I have 1 problem for this application. > The following errors occur when I access URL of the application after > upload to GAE environment and fail in start of the application. > > This error doesn't occur My local environment. > > My application takes out several data from Datastore at each page. > And this is not complicated. > I thought whether handling of access to Datastore was heavy and made a > page only for the indication that it was easy and accessed there. > ServerError still occurs in twice once. > > Error Message > ---------------------------- > Error: Server Error > The server encountered an error and could not complete your request. > If the problem persists, please report your problem and mention this > error message and the query that caused it. > ---------------------------- > > Controller source code > ---------------------------- > def index > end > ---------------------------- > > View source code > ---------------------------- > <html> > <%= stylesheet_link_tag "application.css" %> > <%= render :partial => 'header' %> > <table class=table_tab> > <tr> > <th class=on> > <%= link_to('list', :controller => 'top', :action => 'show' ) > %> > </th> > <th class=off> > <%= link_to('user', :controller => 'admin', :action => 'show') > %> > </th> > <th class=off> > <%= link_to('new', :controller => 'top', :action => 'new') %> > </th> > </tr> > <tr> > </tr> > </table> > </html> > > ---------------------------- > > > When I confirm with "Logs" at my application management page, The rate > of use of the CPU seems to rise. > The error message is "500 /top/show 32677ms 34884cpu_ms ". > > > Because this is a free version, will it occur? > > In addition, in free limitation, can I operate application without > generating such a phenomenon? > > Thanking you in advance. > > -- > > You received this message because you are subscribed to the Google Groups > "Google App Engine" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]<google-appengine%[email protected]> > . > For more options, visit this group at > http://groups.google.com/group/google-appengine?hl=en. > > > -- Ikai Lan Developer Programs Engineer, Google App Engine -- You received this message because you are subscribed to the Google Groups "Google App Engine" 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?hl=en.
