I just noticed a pretty new warning appears in the log of App Engine:
"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."
Previously, there is no such thing highlighted the reason why sometimes a simple operation might take longer CPU hours than expected. Now with this handy warning, things are much clear and you don't have to worry about any internal coding issues with your project.
However, if Google can solve this issue, it will be much better. Currently, in order to avoid such re-loading time waste, I have to reduce my cron job frequency to once per minute. Yep, when it runs in 2/min, App Engine will complain every time, and the overall CPU cost is even higher than the more frequently job. Ironically, Ridiculously, huh?
I know some guys are working this issue now, hopefully it can be fixed in the near future.
Showing posts with label Warning. Show all posts
Showing posts with label Warning. Show all posts
Tuesday, April 20, 2010
New Warning Message on Google App Engine
Monday, March 22, 2010
Warning in JDO lazy fetch with App Engine
If you consistently meets the warning "org.datanucleus.store.appengine.MetaDataValidator warn: Meta-data warning for ****: The datastore does not support joins and therefore cannot honor requests to place related objects in the default fetch group. The field will be fetched lazily on first access. You can modify this warning by setting the datanucleus.appengine.ignorableMetaDataBehavior property in your config. A value of NONE will silence the warning. A value of ERROR will turn the warning into an exception." like this, please add the following line into your jdoconfig.xml:
<property name="datanucleus.appengine.ignorableMetaDataBehavior" value="NONE" />
Although it is quite obvious, but it's the problem where you put it might confuse many people.
<property name="datanucleus.appengine.ignorableMetaDataBehavior" value="NONE" />
Although it is quite obvious, but it's the problem where you put it might confuse many people.
Subscribe to:
Posts (Atom)