My cold start time for helloWorld is 1.5 seconds.  If I add JDO to
that, it adds an additional 5-6 seconds for me on the first use of
JDO.
On Mar 6, 12:55 am, Francois MASUREL <[email protected]> wrote:
> Here is what I get when I deploy my webapp with a very basic web.xml
> containing only one HelloWorldServelt, no filters and no listeners.
>
> I still get a 9-10 seconds deploying time :
>
>  03-06 12:54AM 35.471 /helloworld 200 9558ms 3966cpu_ms 0kb Mozilla/5.0
> (Windows; U; Windows NT 6.0; en-US) AppleWebKit/533.2 (KHTML, like Gecko)
> Chrome/5.0.342.1 Safari/533.2,gzip(gfe)
>
> 86.205.156.225 - f.masurel [06/Mar/2010:00:54:45 -0800] "GET
> /helloworld HTTP/1.1" 200 11 - "Mozilla/5.0 (Windows; U; Windows NT
> 6.0; en-US) AppleWebKit/533.2 (KHTML, like Gecko) Chrome/5.0.342.1
> Safari/533.2,gzip(gfe)"
>
>  03-06 12:43AM 01.518 /helloworld 200 8908ms 3927cpu_ms 0kb Mozilla/5.0
> (Windows; U; Windows NT 6.0; en-US) AppleWebKit/533.2 (KHTML, like Gecko)
> Chrome/5.0.342.1 Safari/533.2,gzip(gfe)
>
> 86.205.156.225 - f.masurel [06/Mar/2010:00:43:10 -0800] "GET
> /helloworld HTTP/1.1" 200 11 - "Mozilla/5.0 (Windows; U; Windows NT
> 6.0; en-US) AppleWebKit/533.2 (KHTML, like Gecko) Chrome/5.0.342.1
> Safari/533.2,gzip(gfe)"
>
> So deploying time seems to be proportional to the global size of
> code/librairies you deploy even if this code is never called.
>
> For you information, here is my HelloWorldServlet service method :
>
>     public void service(HttpServletRequest req, HttpServletResponse res)
>             throws ServletException, IOException {
>      res.getWriter().print("Hello World");
>     }
>
> And here is my web.xml :
>
> <web-app>
>
>     <servlet>
>         <servlet-name>HelloWorldServlet</servlet-name>
>         <servlet-class>com.mably.cms.web.HelloWorldServlet</servlet-class>
>     </servlet>
>
>     <servlet-mapping>
>         <servlet-name>HelloWorldServlet</servlet-name>
>         <url-pattern>/helloworld</url-pattern>
>     </servlet-mapping>
>
>     <!-- Default page to serve -->
>     <welcome-file-list>
>         <welcome-file>index.html</welcome-file>
>         <welcome-file>index.jsp</welcome-file>
>     </welcome-file-list>
>
> </web-app>
>
> If anybody at Google have some hints about that, they're welcome.
>
> My "simplified" testing app has ID "i-wands".
>
> François Masurel
>
> Le 2 mars 2010 11:48, François Masurel <[email protected]> a écrit :
>
>
>
> > Ok, thanx for your answer.
>
> > I'll make a test with a simple Hello World servlet with no
> > dependencies and see how it goes.
>
> > I guess I also need to disable servlet filters and context
> > listeners...
>
> > On 1 mar, 18:27, Wooble <[email protected]> wrote:
> > > I think you're confusing deploying with cold startup.
>
> > > Static files won't affect startup time (they will affect deployment,
> > > of course, since you need to upload any that have changed); servlets
> > > needing to load lots of jars and classes to do something simple will
> > > make that simple thing take a long time.
>
> > > On Mar 1, 9:21 am, François Masurel <[email protected]> wrote:
>
> > > > There seems to be an incompressible deploying time, even if you access
> > > > a pretty simple page in GAE.
>
> > > > In my case, a pretty basic servlet making a simple read in the
> > > > datastore can take as much as 15s to load.
>
> > > > My web.xml is pretty basic too, only one filter : I'm doing the
> > > > servlet lazy-loading myself coz I reached the "100 URLMap entries"
> > > > limit.
>
> > > > So I guess my application should load pretty quickly, isn't it ?
>
> > > > What am I doing wrong ?  Is the application global weight (classes,
> > > > jar, static files) is to take into account for the deploying time ?
>
> > > > Thanx for your answers.
>
> > > > Francois Masurel
> > > > Bordeaux, FRANCE
>
> > --
> > 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%2Bunsubscrib 
> > [email protected]>
> > .
> > For more options, visit this group at
> >http://groups.google.com/group/google-appengine?hl=en.

-- 
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.

Reply via email to