Slow......Slow........Slow......Very Slow........

88 views
Skip to first unread message

YF CAO

unread,
Jun 10, 2011, 5:47:25 AM6/10/11
to google-a...@googlegroups.com
app start used 8s !
My Lady Gaga !

Tim Hoffman

unread,
Jun 10, 2011, 6:49:26 AM6/10/11
to google-a...@googlegroups.com
Is this just a statement, or are you asking for help?

I will assume you asking for advice.

Appengine start up times is something your can't ignore.
Do some profiling and see what is going on.  Try to do things lazily.

If you are asking for help I would suggest you mention if your using java or python and what frameworks

Rgds

T

YF CAO

unread,
Jun 10, 2011, 9:54:29 AM6/10/11
to google-a...@googlegroups.com
my app is a simple Hello World JSP page, not use any framework.
first visit, about 5s. second and after, about 1s.
if add several times db access, about 8s.


2011/6/10 Tim Hoffman <zute...@gmail.com>
--
You received this message because you are subscribed to the Google Groups "Google App Engine" group.
To view this discussion on the web visit https://groups.google.com/d/msg/google-appengine/-/Vi6smdW-3JIJ.
To post to this group, send email to google-a...@googlegroups.com.
To unsubscribe from this group, send email to google-appengi...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.

Wilson MacGyver

unread,
Jun 10, 2011, 12:09:10 PM6/10/11
to google-a...@googlegroups.com
I'm using gaelyk for GAE-J. http://gaelyk.appspot.com/

coldstart is about 6-8 sec. after that, it's very fast.

one of the reasons always-on instance was a very welcome change for
the java side of the GAE community :)


On Fri, Jun 10, 2011 at 11:56 AM, Robert Kluin <robert...@gmail.com> wrote:
> I think Java typically has long startup times, but I've got no idea
> what is 'normal' for Java.


--
Omnem crede diem tibi diluxisse supremum.

YF CAO

unread,
Jun 10, 2011, 12:11:59 PM6/10/11
to google-a...@googlegroups.com
about web application, it will stop if long time not visit.
when someone visits it will start again.
i think its startup is very slow.


2011/6/10 Robert Kluin <robert...@gmail.com>
Sounds like you're using RPCs serially, which will often lead to poor
performance.  Profile your app with Appstats:
  http://code.google.com/appengine/docs/java/tools/appstats.html

then try to batch any operations you can.



I think Java typically has long startup times, but I've got no idea
what is 'normal' for Java.



Robert

Wilson MacGyver

unread,
Jun 10, 2011, 12:18:29 PM6/10/11
to google-a...@googlegroups.com
the short answer is, pay $9/month to have 3 always on instances :)

http://code.google.com/appengine/docs/adminconsole/instances.html#Always_On

--

YF CAO

unread,
Jun 10, 2011, 12:24:32 PM6/10/11
to google-a...@googlegroups.com
OH ! My Lady Gaga !


2011/6/11 Wilson MacGyver <wmac...@gmail.com>

YF CAO

unread,
Jun 10, 2011, 12:26:48 PM6/10/11
to google-a...@googlegroups.com
i not money..............


2011/6/11 YF CAO <caoyong...@gmail.com>
32B.gif

Robert Kluin

unread,
Jun 10, 2011, 11:56:14 AM6/10/11
to google-a...@googlegroups.com
Sounds like you're using RPCs serially, which will often lead to poor
performance. Profile your app with Appstats:
http://code.google.com/appengine/docs/java/tools/appstats.html

then try to batch any operations you can.


I think Java typically has long startup times, but I've got no idea
what is 'normal' for Java.

Robert

On Fri, Jun 10, 2011 at 09:54, YF CAO <caoyong...@gmail.com> wrote:

Jeff Schnitzer

unread,
Jun 10, 2011, 3:34:50 PM6/10/11
to google-a...@googlegroups.com
On Fri, Jun 10, 2011 at 9:26 AM, YF CAO <caoyong...@gmail.com> wrote:
i not money..............

2011/6/11 YF CAO <caoyong...@gmail.com>
OH ! My Lady Gaga !


Is this what happens when you accidentally use YouTube instead of Google Translate to compose your email?

:-) 

Jeff
32B.gif

YF CAO

unread,
Jun 10, 2011, 3:54:25 PM6/10/11
to google-a...@googlegroups.com
You can laugh at me, but I never stop learning.


2011/6/11 Jeff Schnitzer <je...@infohazard.org>
--
32B.gif
Reply all
Reply to author
Forward
0 new messages