[appengine-java] Re: Application restart for almost every request? What happened?
I think this is more supportive of not being able to use GAE for anything casual :) Serious applications don't seem to suffer from this problem. Jake On Jun 29, 9:28 am, Max wrote: > This is really one of the core problems why you cannot use GAE for > anything serious. Even if you get enough traffic, some users suffer > from instance recycling every second (read the comments at the issue). -- 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...@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.
[appengine-java] Re: Application restart for almost every request? What happened?
This is really one of the core problems why you cannot use GAE for anything serious. Even if you get enough traffic, some users suffer from instance recycling every second (read the comments at the issue). -- 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...@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.
[appengine-java] Re: Application restart for almost every request? What happened?
There is no real workaround, since they are cycling your application out since it's getting such low traffic as explained in the FAQ. The best you can do is minimise the loading time, by removing dependencies on complicated frameworks and using lazy initialisation. As soon as your application starts getting a more consistent amount of traffic the problem will be minimised, although you will still get some loading requests as the GAE backend potentially load balances your application. On Jun 29, 1:14 pm, opok wrote: > OK, I did that. > But is there any workaround or some other way to avoid this, I am sure > that my app is run with low resource requirement, it indeed have no > reason to restart, but currently it restarts almost in every incoming > request! > > On 6月29日, 下午8时05分, Jake wrote: > > > > > Hey, > > > Actually, what you probably want to do is star this > > issue:http://code.google.com/p/googleappengine/issues/detail?id=2931 > > > It's been happening for awhile now, but generally only to low-traffic > > users, so it hasn't gotten much attention. Creeping up in the list, > > though! > > > Jake > > > On Jun 29, 4:44 am, Simon wrote: > > > > You probably want to have a read of the following FAQ > > > -http://code.google.com/appengine/kb/java.html#What_Is_A_Loading_Request > > > > On Jun 29, 4:13 am, opok wrote: > > > > > Error Message: "This request caused a new process to be started for > > > > your application, and thus caused your application code to be loaded > > > > for the first time. This request may thus take longer and use more CPU > > > > than a typical request for your application." > > > > > My App just read a cache string with small size (if not exist query > > > > from database) and then output the response, why it always turns out > > > > that it need to restart the whole application? It happens in 95% of > > > > incoming requests.- Hide quoted text - > > - Show quoted text - -- 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...@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.
[appengine-java] Re: Application restart for almost every request? What happened?
OK, I did that. But is there any workaround or some other way to avoid this, I am sure that my app is run with low resource requirement, it indeed have no reason to restart, but currently it restarts almost in every incoming request! On 6月29日, 下午8时05分, Jake wrote: > Hey, > > Actually, what you probably want to do is star this > issue:http://code.google.com/p/googleappengine/issues/detail?id=2931 > > It's been happening for awhile now, but generally only to low-traffic > users, so it hasn't gotten much attention. Creeping up in the list, > though! > > Jake > > On Jun 29, 4:44 am, Simon wrote: > > > > > You probably want to have a read of the following FAQ > > -http://code.google.com/appengine/kb/java.html#What_Is_A_Loading_Request > > > On Jun 29, 4:13 am, opok wrote: > > > > Error Message: "This request caused a new process to be started for > > > your application, and thus caused your application code to be loaded > > > for the first time. This request may thus take longer and use more CPU > > > than a typical request for your application." > > > > My App just read a cache string with small size (if not exist query > > > from database) and then output the response, why it always turns out > > > that it need to restart the whole application? It happens in 95% of > > > incoming requests. -- 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...@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.
[appengine-java] Re: Application restart for almost every request? What happened?
Hey, Actually, what you probably want to do is star this issue: http://code.google.com/p/googleappengine/issues/detail?id=2931 It's been happening for awhile now, but generally only to low-traffic users, so it hasn't gotten much attention. Creeping up in the list, though! Jake On Jun 29, 4:44 am, Simon wrote: > You probably want to have a read of the following FAQ > -http://code.google.com/appengine/kb/java.html#What_Is_A_Loading_Request > > On Jun 29, 4:13 am, opok wrote: > > > Error Message: "This request caused a new process to be started for > > your application, and thus caused your application code to be loaded > > for the first time. This request may thus take longer and use more CPU > > than a typical request for your application." > > > My App just read a cache string with small size (if not exist query > > from database) and then output the response, why it always turns out > > that it need to restart the whole application? It happens in 95% of > > incoming requests. -- 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...@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.
[appengine-java] Re: Application restart for almost every request? What happened?
You probably want to have a read of the following FAQ - http://code.google.com/appengine/kb/java.html#What_Is_A_Loading_Request On Jun 29, 4:13 am, opok wrote: > Error Message: "This request caused a new process to be started for > your application, and thus caused your application code to be loaded > for the first time. This request may thus take longer and use more CPU > than a typical request for your application." > > My App just read a cache string with small size (if not exist query > from database) and then output the response, why it always turns out > that it need to restart the whole application? It happens in 95% of > incoming requests. -- 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...@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.