Re: Loading time

59 views
Skip to first unread message

Joakim

unread,
Aug 12, 2012, 8:11:54 PM8/12/12
to google-a...@googlegroups.com
Since you haven't given much detail to go by, I'll make a random guess. Are you using JDO and creating a new PersistenceManagerFactory on every request? Perhaps there is something in your logs to hint at what's going on?

On Sunday, August 12, 2012 1:52:26 PM UTC+2, Nico wrote:
Hi, i have been running some tests (in java), my app just goes to the DB and shows some info. My question is: Why when i load the site it lasts like 5-10 seconds to load completely? Mostly having in mind that the code does almost nothing.

http://matchreminder.appspot.com/matchreminder

Any idea?
Thanks in advance!

Rerngvit Yanggratoke

unread,
Aug 12, 2012, 10:47:26 PM8/12/12
to google-a...@googlegroups.com
Another random guess. Is it from the cold start time? 5-10 seconds is only for the first time or it's true also for the subsequent requests?

On Sun, Aug 12, 2012 at 6:52 PM, Nico <nicosa...@gmail.com> wrote:
Hi, i have been running some tests (in java), my app just goes to the DB and shows some info. My question is: Why when i load the site it lasts like 5-10 seconds to load completely? Mostly having in mind that the code does almost nothing.

http://matchreminder.appspot.com/matchreminder

Any idea?
Thanks in advance!

--
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/-/f1-Iyb20RBEJ.
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.




--
Best Regards,
Rerngvit Yanggratoke 

Nico

unread,
Aug 14, 2012, 4:50:30 PM8/14/12
to google-a...@googlegroups.com
It takes 5-10 segs to load the test servlet.

PseudoCode:
Creates 1 PersistanceManager instance.
Creates and makes persistent like 11 entities.
Brings entities back by id and shows them.

I have no problem uploading the code, but i think that the description above is basically all the test does.

Thanks!

Rerngvit Yanggratoke

unread,
Aug 15, 2012, 2:35:25 AM8/15/12
to google-a...@googlegroups.com
Have you try profiling your app with Appstat(http://googleappengine.blogspot.com/2010/03/easy-performance-profiling-with.html)?

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

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.
Reply all
Reply to author
Forward
0 new messages