Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

play-japid cold start issue on GAE #43

Open
bendanpa opened this issue May 10, 2012 · 3 comments
Open

play-japid cold start issue on GAE #43

bendanpa opened this issue May 10, 2012 · 3 comments

Comments

@bendanpa
Copy link

I have very simple hello world paly+japid app on GAE. The problem I have is when I refresh the page over a couple of minutes it takes about 7 seconds to load the page. It looks like not a GAE issue as the instance is still active on the gae admin console. I also tried rythm and rythm does not have this issue (it does take more time to load a page for real cold start since it does not have a precompile template.) please take a look.

Regards,
Bendanpa

@branaway
Copy link
Owner

Hi,

It's been a long while since I played with GAE.

I cannot think of a explanation for what you have observed since Japid at
runtime is just a plain Java class.

Can you try this link to see if shows similar delay?
http://bb55rr2.appspot.com/products/indexj?n=30

It is a little app running Japid 0.8.5.x deployed very long ago.

Bing

2012/5/11 bendanpa <
[email protected]

I have very simple hello world paly+japid app on GAE. The problem I have
is when I refresh the page over a couple of minutes it takes about 7
seconds to load the page. It looks like not a GAE issue as the instance is
still active on the gae admin console. I also tried rythm and rythm does
not have this issue (it does take more time to load a page for real cold
start since it does not have a precompile template.) please take a look.

Regards,
Bendanpa


Reply to this email directly or view it on GitHub:
#43

@bendanpa
Copy link
Author

Hi,

I tried your sample and it does not have the issue I described. But I don;t know why such a small example of mine has the cold issue. does it matter with the different versions? I used GAE 1.6 and play 1.2.4 and japid 0.9.3.4.

And the weird thing is that I redeployed the exact same tiny app to another app-id and the "cold refresh" disappeared. however, the old one still have the issue.

the old url: flex-on-grails.appspot.com , this one has the cold refresh issue.
new url: play-japid.appspot.com this one is ok

Anyway, I will do some more experiments

Thanks,
Bendanpa

@branaway
Copy link
Owner

Was there something like keep-warm in the app setting? It has been a long time since last time I touched it.

bing ran, en route

在 2012-5-11,5:54,[email protected] 写道:

Hi,

I tried your sample and it does not have the issue I described. But I don;t know why such a small example of mine has the cold issue. does it matter with the different versions? I used GAE 1.6 and play 1.2.4 and japid 0.9.3.4.

And the weird thing is that I redeployed the exact same tiny app to another app-id and the "cold refresh" disappeared. however, the old one still have the issue.

the old url: flex-on-grails.appspot.com , this one has the cold refresh issue.
new url: play-japid.appspot.com this one is ok

Anyway, I will do some more experiments

Thanks,
Bendanpa


Reply to this email directly or view it on GitHub:
#43 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants