[appengine-java] Problem with Guice Binding Generic Types on the local dev server

2010-09-08 Thread Tin
Hi: We try to use Guice in the Google App Engine for Java, it works fine in our test cases and the deploying system, but it always fails when running on the local dev server, following exception was threw which using the 'Binding Generic Types' : com.google.inject.ConfigurationException: Guice co

[appengine-java] Re: Performance issue for GAE auto-restart

2010-06-08 Thread Tin
Hi all: We have found a temporary solution for this issue: Try with an AJAX timer kicking the server (doing nothing), maybe one request per minute (or less) and GAE will keep our site / users in the same node. In our testing it could avoid the GAE web instance reloaded, but if the request interval

[appengine-java] Re: Performance issue for GAE auto-restart

2010-06-07 Thread Tin
Hi Jack: I suggest that maybe you can write a ServletContextListener to monitor the web instance reloading issue, for our testing we just put a info logging in the contextInitialized(..) method: public void contextInitialized(ServletContextEvent evt) { log.info("Web context inited."); } And mo

[appengine-java] Re: Performance issue for GAE auto-restart

2010-06-04 Thread Tin
Dear Guillaume: The GAE auto-restarting issue will make us give up using Gaelyk because the TemplateServlet needs more time to init, if this issue can't be resolved quickly we even consider to change to other platform. But we very hope the GAE team could pay more attention to this critical issue a

[appengine-java] Re: Performance issue for GAE auto-restart

2010-06-04 Thread Tin
Hi all: We extremity love the HOT reloading, annotation processing and junit testing support (Kotori Web Runner integrated) features of Slim3. If you plan to use GAE please consider this framework it will make you feel so happy. Slim3 Home : http://goo.gl/urLV -- You received this message becau

[appengine-java] Re: Performance issue for GAE auto-restart

2010-06-04 Thread Tin
Hi all: We have used this Slim3 framework to do the Counter testing, the result still has the same problem, but we feel that Slim3 actually is a very greate framework for GAE, if this performance issue can be resolved we will use Slim3 to rewrite our project. Otherwise we need changing to use othe

[appengine-java] Re: Performance issue for GAE auto-restart

2010-06-03 Thread Tin
Dear Thomas: > In your case, the problem is due to JAP. If you want to have quick > startup time, you MUST get rid of JPA/JDO and use some other > lightweight persistence api (Slim3, Objectify, Twig, ...) or use low > level datastore api directly to access the datastore. Thanks for this important

[appengine-java] Re: Performance issue for GAE auto-restart

2010-06-03 Thread Tin
Dear Jack: > I understand that there can be problems with everyone having a full- > time reserved JVM.  My problem is simply that the instance restarts > too frequently.  I mean, honestly, one SINGLE page request results in > TWO application restarts?  Even if you get it down to 4 seconds, > that'

[appengine-java] Re: Performance issue for GAE auto-restart

2010-06-03 Thread Tin
Dear Thomas: >    Correct some mistakes. >    I use struts 1.2.x + Spring 2.0 + JDO initially. But quickly I > realized I had to get rid of Spring and JDO in order to decrease the > startup time. So I > used slim3 and wrote a TidyDelegationProxy to replace Spring's struts > proxy. I successfully r

[appengine-java] Re: App Engine cold starts and overly aggressive cycling

2010-06-03 Thread Tin
Hi all: I think every body who uses GAE should star this issue : http://goo.gl/juDy -->> PLEASE HELP !! Thank you very much ~ -- 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 google-appengine-j

[appengine-java] Re: Performance issue for GAE auto-restart

2010-06-03 Thread Tin
Hi Jack: Thanks for your reply very much !!! >> If you don't like this general behavior, please star this issue: >> http://code.google.com/p/googleappengine/issues/detail?id=2931 YES I have stared this issue, I think every body who uses GAE should star this issue ^^|| >> I personally don't

[appengine-java] Re: Performance issue for GAE auto-restart

2010-06-03 Thread Tin
Dear Thomas: Thanks for your quickly reply very much !!! >> 2. Wait for 'paid to reserve JVM feature'. Do you have more information about this ? >> 3. Use lightweight framework. What lightweight framework did you mean for ? In this testing we just using Servlet and JSP that's recommend by GAE.

[appengine-java] Performance issue for GAE auto-restart

2010-06-02 Thread Tin
Hi all: We're using GAE to develop our project, but I found I have a performance issue, when checking the logs I found the GAE will auto- restart every 30-60 sec. Someone tell me this's because if the web app wasn't used much, GAE will dispose the instances, and after that made a load request to s