[google-appengine] Is it safe to fire and forget Task.add_async() on AppEngine?

2013-10-16 Thread Kaan Soral
I've asked this on S.O. but couldn't get an official/certain answer - 
http://stackoverflow.com/questions/19370726/is-it-safe-to-fire-and-forget-task-add-async-on-appengine/19374115

I think it's critical to learn these kind of behavior of appengine

-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at http://groups.google.com/group/google-appengine.
For more options, visit https://groups.google.com/groups/opt_out.


[google-appengine] Re: Is it safe to fire and forget Task.add_async() on AppEngine?

2013-10-16 Thread Kaan Soral
Assuming it's unsafe

Is it possible to replicate @ndb.toplevel / ndb _async functionality for 
taskqueue?
Maybe something like @async_safe that will handle all lingering async calls

On Wednesday, October 16, 2013 9:41:37 AM UTC+3, Kaan Soral wrote:

 I've asked this on S.O. but couldn't get an official/certain answer - 
 http://stackoverflow.com/questions/19370726/is-it-safe-to-fire-and-forget-task-add-async-on-appengine/19374115

 I think it's critical to learn these kind of behavior of appengine


-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at http://groups.google.com/group/google-appengine.
For more options, visit https://groups.google.com/groups/opt_out.


[google-appengine] App engine is down on some apps

2013-10-16 Thread ZeroCool
Anyone else seeing the same problem?
My app pe-server7 (java) is down, and others are experiencing lag issues.

Can any Googler look into the problem?

-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at http://groups.google.com/group/google-appengine.
For more options, visit https://groups.google.com/groups/opt_out.


[google-appengine] Re: App engine is down on some apps

2013-10-16 Thread timh
No..  I am on python and am finding it's running particularly well at the 
moment. This morning memecache was being purged rapidly now it's settled 
down and response times are good.

T

On Wednesday, October 16, 2013 3:24:50 PM UTC+8, ZeroCool wrote:

 Anyone else seeing the same problem?
 My app pe-server7 (java) is down, and others are experiencing lag issues.

 Can any Googler look into the problem?


-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at http://groups.google.com/group/google-appengine.
For more options, visit https://groups.google.com/groups/opt_out.


[google-appengine] Re: App engine is down on some apps

2013-10-16 Thread timh
Though the dashboard is very slow at the moment.

T

On Wednesday, October 16, 2013 3:52:37 PM UTC+8, timh wrote:

 No..  I am on python and am finding it's running particularly well at the 
 moment. This morning memecache was being purged rapidly now it's settled 
 down and response times are good.

 T

 On Wednesday, October 16, 2013 3:24:50 PM UTC+8, ZeroCool wrote:

 Anyone else seeing the same problem?
 My app pe-server7 (java) is down, and others are experiencing lag issues.

 Can any Googler look into the problem?



-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at http://groups.google.com/group/google-appengine.
For more options, visit https://groups.google.com/groups/opt_out.


[google-appengine] Re: App engine is down on some apps

2013-10-16 Thread Dennis
I'm trying to upload a new version of my code, but the upload process has 
been stuck for a 10 minutes now.
Interestingly, however, the old version of my code (python) is still 
running and is even quite responsive.



On Wednesday, October 16, 2013 3:54:16 PM UTC+8, timh wrote:

 Though the dashboard is very slow at the moment.

 T

 On Wednesday, October 16, 2013 3:52:37 PM UTC+8, timh wrote:

 No..  I am on python and am finding it's running particularly well at the 
 moment. This morning memecache was being purged rapidly now it's settled 
 down and response times are good.

 T

 On Wednesday, October 16, 2013 3:24:50 PM UTC+8, ZeroCool wrote:

 Anyone else seeing the same problem?
 My app pe-server7 (java) is down, and others are experiencing lag issues.

 Can any Googler look into the problem?



-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at http://groups.google.com/group/google-appengine.
For more options, visit https://groups.google.com/groups/opt_out.


[google-appengine] Re: App engine is down on some apps

2013-10-16 Thread Daniel Florey
Upload is stuck here as well (Java).

On Wednesday, October 16, 2013 12:34:18 PM UTC+2, Dennis wrote:

 I'm trying to upload a new version of my code, but the upload process has 
 been stuck for a 10 minutes now.
 Interestingly, however, the old version of my code (python) is still 
 running and is even quite responsive.



 On Wednesday, October 16, 2013 3:54:16 PM UTC+8, timh wrote:

 Though the dashboard is very slow at the moment.

 T

 On Wednesday, October 16, 2013 3:52:37 PM UTC+8, timh wrote:

 No..  I am on python and am finding it's running particularly well at 
 the moment. This morning memecache was being purged rapidly now it's 
 settled down and response times are good.

 T

 On Wednesday, October 16, 2013 3:24:50 PM UTC+8, ZeroCool wrote:

 Anyone else seeing the same problem?
 My app pe-server7 (java) is down, and others are experiencing lag 
 issues.

 Can any Googler look into the problem?



-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at http://groups.google.com/group/google-appengine.
For more options, visit https://groups.google.com/groups/opt_out.


Re: [google-appengine] Re: App engine is down on some apps

2013-10-16 Thread Moises Belchin
Dashboard in some cases is very slow


Saludos.
Moisés Belchín.


2013/10/16 Daniel Florey daniel.flo...@gmail.com

 Upload is stuck here as well (Java).


 On Wednesday, October 16, 2013 12:34:18 PM UTC+2, Dennis wrote:

 I'm trying to upload a new version of my code, but the upload process has
 been stuck for a 10 minutes now.
 Interestingly, however, the old version of my code (python) is still
 running and is even quite responsive.



 On Wednesday, October 16, 2013 3:54:16 PM UTC+8, timh wrote:

 Though the dashboard is very slow at the moment.

 T

 On Wednesday, October 16, 2013 3:52:37 PM UTC+8, timh wrote:

 No..  I am on python and am finding it's running particularly well at
 the moment. This morning memecache was being purged rapidly now it's
 settled down and response times are good.

 T

 On Wednesday, October 16, 2013 3:24:50 PM UTC+8, ZeroCool wrote:

 Anyone else seeing the same problem?
 My app pe-server7 (java) is down, and others are experiencing lag
 issues.

 Can any Googler look into the problem?

  --
 You received this message because you are subscribed to the Google Groups
 Google App Engine group.
 To unsubscribe from this group and stop receiving emails from it, send an
 email to google-appengine+unsubscr...@googlegroups.com.
 To post to this group, send email to google-appengine@googlegroups.com.
 Visit this group at http://groups.google.com/group/google-appengine.
 For more options, visit https://groups.google.com/groups/opt_out.


-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at http://groups.google.com/group/google-appengine.
For more options, visit https://groups.google.com/groups/opt_out.


Re: [google-appengine] Re: App engine is down on some apps

2013-10-16 Thread Satyarao Kambapu
+1

Regards
*Satya Rao*


On Wed, Oct 16, 2013 at 4:17 PM, Moises Belchin moisesbelc...@gmail.comwrote:

 Dashboard in some cases is very slow


 Saludos.
 Moisés Belchín.


 2013/10/16 Daniel Florey daniel.flo...@gmail.com

 Upload is stuck here as well (Java).


 On Wednesday, October 16, 2013 12:34:18 PM UTC+2, Dennis wrote:

 I'm trying to upload a new version of my code, but the upload process
 has been stuck for a 10 minutes now.
 Interestingly, however, the old version of my code (python) is still
 running and is even quite responsive.



 On Wednesday, October 16, 2013 3:54:16 PM UTC+8, timh wrote:

 Though the dashboard is very slow at the moment.

 T

 On Wednesday, October 16, 2013 3:52:37 PM UTC+8, timh wrote:

 No..  I am on python and am finding it's running particularly well at
 the moment. This morning memecache was being purged rapidly now it's
 settled down and response times are good.

 T

 On Wednesday, October 16, 2013 3:24:50 PM UTC+8, ZeroCool wrote:

 Anyone else seeing the same problem?
 My app pe-server7 (java) is down, and others are experiencing lag
 issues.

 Can any Googler look into the problem?

  --
 You received this message because you are subscribed to the Google Groups
 Google App Engine group.
 To unsubscribe from this group and stop receiving emails from it, send an
 email to google-appengine+unsubscr...@googlegroups.com.
 To post to this group, send email to google-appengine@googlegroups.com.
 Visit this group at http://groups.google.com/group/google-appengine.
 For more options, visit https://groups.google.com/groups/opt_out.


  --
 You received this message because you are subscribed to the Google Groups
 Google App Engine group.
 To unsubscribe from this group and stop receiving emails from it, send an
 email to google-appengine+unsubscr...@googlegroups.com.
 To post to this group, send email to google-appengine@googlegroups.com.
 Visit this group at http://groups.google.com/group/google-appengine.
 For more options, visit https://groups.google.com/groups/opt_out.


-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at http://groups.google.com/group/google-appengine.
For more options, visit https://groups.google.com/groups/opt_out.


[google-appengine] Re: Looks like 1.8.6 has rolled out, seeing a few small issues.

2013-10-16 Thread pdknsk
I've noticed a minor alignment error in the new dashboard.

https://code.google.com/p/googleappengine/issues/detail?id=10128

-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at http://groups.google.com/group/google-appengine.
For more options, visit https://groups.google.com/groups/opt_out.


[google-appengine] How to access local class outside function ?

2013-10-16 Thread Vijay Kumbhani
*def myFunction(data):*
*class MyClass(ndb.Exapando):*
*def _get_kind(cls):*
* return data*


*above class can be used commonly in my application *
 
any idea,  how ?

-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at http://groups.google.com/group/google-appengine.
For more options, visit https://groups.google.com/groups/opt_out.


Re: [google-appengine] Re: Is it safe to fire and forget Task.add_async() on AppEngine?

2013-10-16 Thread Vinny P
On Wed, Oct 16, 2013 at 1:41 AM, Kaan Soral kaanso...@gmail.com wrote:

 I've asked this on S.O. but couldn't get an official/certain answer -
 http://stackoverflow.com/questions/19370726/is-it-safe-to-fire-and-forget-task-add-async-on-appengine/19374115

 However while investigating an issue, I found an instance where the task
 is added async, but it didn't execute, which led me to believe that it's
 unsafe to fire and forget about the async task rpcs



In my experience, async added tasks are unsafe - it's always possible for
the operation to fail. I can't link you to any official documentation
though, this is just my experience.


On Wed, Oct 16, 2013 at 1:43 AM, Kaan Soral kaanso...@gmail.com wrote:

 Is it possible to replicate @ndb.toplevel / ndb _async functionality for
 taskqueue?
 Maybe something like @async_safe that will handle all lingering async calls



Unfortunately I can't answer this question :-/

+1 to this though.


-
-Vinny P
Technology  Media Advisor
Chicago, IL

App Engine Code Samples: http://www.learntogoogleit.com

-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at http://groups.google.com/group/google-appengine.
For more options, visit https://groups.google.com/groups/opt_out.


Re: [google-appengine] How to access local class outside function ?

2013-10-16 Thread Vinny P
On Wed, Oct 16, 2013 at 6:41 AM, Vijay Kumbhani vnkumbh...@gmail.com
 wrote:

 *def myFunction(data):*
 *class MyClass(ndb.Exapando):*
 *def _get_kind(cls):*
 * return data*


 *above class can be used commonly in my application *

 any idea,  how ?



Can you further discuss your use case? Otherwise it's difficult to help.


-
-Vinny P
Technology  Media Advisor
Chicago, IL

App Engine Code Samples: http://www.learntogoogleit.com

-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at http://groups.google.com/group/google-appengine.
For more options, visit https://groups.google.com/groups/opt_out.


[google-appengine] Re: How to access local class outside function ?

2013-10-16 Thread timh
The only reason you would define it this way is to prevent what you are 
doing.
On the face of it looks like a very odd thing to do.

T

On Wednesday, October 16, 2013 7:41:36 PM UTC+8, Vijay Kumbhani wrote:

 *def myFunction(data):*
 *class MyClass(ndb.Exapando):*
 *def _get_kind(cls):*
 * return data*


 *above class can be used commonly in my application *
  
 any idea,  how ?


-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at http://groups.google.com/group/google-appengine.
For more options, visit https://groups.google.com/groups/opt_out.


[google-appengine] Count GQL

2013-10-16 Thread Martin Descours
I am sure you had that a lot, but how can count results on a request via 
GQL on AppEngine DataViewer ?
It seems that there is no easy way to have the answer and i get crazy about 
it...
because i am no developper

is it sth like : 
SELECT COUNT(*) FROM Database 
or 
COUNT (SELECT * FROM...)

? 

Is Google App Evil ? 
thx for ur help !

M.

-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at http://groups.google.com/group/google-appengine.
For more options, visit https://groups.google.com/groups/opt_out.


[google-appengine] Google App Engine SDK 1.8.6 is now available!

2013-10-16 Thread Richmond Manzana
Hi Everyone,

We're pleased to announce that we have released the 1.8.6 SDK 

For details, please read our blog post and release notes.

http://googlecloudplatform.blogspot.com/2013/10/app-engine-186-released.html

Release notes for Python/PHP:
http://code.google.com/p/googleappengine/wiki/SdkReleaseNotes

Release notes for Java:
http://code.google.com/p/googleappengine/wiki/SdkForJavaReleaseNotes

Release notes for Go:
https://code.google.com/p/googleappengine/wiki/SdkForGoReleaseNotes

Cheers!

Richmond Manzana
Technical Program Manager
Google App Engine

-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at http://groups.google.com/group/google-appengine.
For more options, visit https://groups.google.com/groups/opt_out.


Re: [google-appengine] Re: Is it safe to fire and forget Task.add_async() on AppEngine?

2013-10-16 Thread Kaan Soral
The only solution I can think of is a custom variable/handling scheme

I already traverse a variable that has request/domain information that's 
needed in operations
My current best solution is to store rpcs's inside it too, handle the 
rpcs's at the end of every routine

Requires a lot of refactoring and there would probably be a lot of 
initially missed routines that will cause issues initially, not a very 
decent solution, all of these for saving time from 1-5 defer's

I don't know how task.add works, however it also does some scheduling on 
it's own as far as I see from the buggy _ah/stats, so the whole thing is 
probably not worth it much
I've already converted routines with 200+ task insertions to async/manual 
wait, it's the scattered insertions that are the issue

I've inspected @ndb.toplevel, not too deeply, however it didn't seem that 
the method can be used for tasks, it was ndb-specific as far as I remember

On Wednesday, October 16, 2013 3:54:29 PM UTC+3, Vinny P wrote:

 On Wed, Oct 16, 2013 at 1:41 AM, Kaan Soral kaan...@gmail.comjavascript:
  wrote:

 I've asked this on S.O. but couldn't get an official/certain answer - 
 http://stackoverflow.com/questions/19370726/is-it-safe-to-fire-and-forget-task-add-async-on-appengine/19374115

 However while investigating an issue, I found an instance where the task 
 is added async, but it didn't execute, which led me to believe that it's 
 unsafe to fire and forget about the async task rpcs



 In my experience, async added tasks are unsafe - it's always possible for 
 the operation to fail. I can't link you to any official documentation 
 though, this is just my experience.


 On Wed, Oct 16, 2013 at 1:43 AM, Kaan Soral kaan...@gmail.comjavascript:
  wrote:

 Is it possible to replicate @ndb.toplevel / ndb _async functionality for 
 taskqueue?
 Maybe something like @async_safe that will handle all lingering async 
 calls



 Unfortunately I can't answer this question :-/ 

 +1 to this though.
  
  
 -
 -Vinny P
 Technology  Media Advisor
 Chicago, IL

 App Engine Code Samples: http://www.learntogoogleit.com
  


-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at http://groups.google.com/group/google-appengine.
For more options, visit https://groups.google.com/groups/opt_out.


[google-appengine] Re: Count GQL

2013-10-16 Thread timh
You can't

You have stop thinking of appengine/gql in SQL terms.

Use the remote_api shell, then you can get the query object and then call 
count() on it.



On Wednesday, October 16, 2013 11:56:52 PM UTC+8, Martin Descours wrote:

 I am sure you had that a lot, but how can count results on a request via 
 GQL on AppEngine DataViewer ?
 It seems that there is no easy way to have the answer and i get crazy 
 about it...
 because i am no developper

 is it sth like : 
 SELECT COUNT(*) FROM Database 
 or 
 COUNT (SELECT * FROM...)

 ? 

 Is Google App Evil ? 
 thx for ur help !

 M.


-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at http://groups.google.com/group/google-appengine.
For more options, visit https://groups.google.com/groups/opt_out.


Re: [google-appengine] When can be expect full support for Modules in Go?

2013-10-16 Thread Ezequiel Muns
I can confirm that this is available as of 1.8.6!

On Friday, 27 September 2013 01:54:55 UTC+10, Vinny P wrote:

 On Wed, Sep 25, 2013 at 8:41 PM, Ezequiel Muns em...@quotify.comjavascript:
  wrote:

 Great news, it seems to have been started just today—by Dave Symonds no 
 less. Thanks.

 I wonder what the usual completion to in-production time-frame is like. 



 Dave Symonds is really on-the-ball about the Go runtime, so I would expect 
 it soon. Alternately you can ask Dave himself, he comments frequently on 
 the google-appengine-go mailing list at 
 https://groups.google.com/forum/#!forum/google-appengine-go 
   
  
 -
 -Vinny P
 Technology  Media Advisor
 Chicago, IL

 App Engine Code Samples: http://www.learntogoogleit.com
   
  




-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at http://groups.google.com/group/google-appengine.
For more options, visit https://groups.google.com/groups/opt_out.


Re: [google-appengine] Some tasks are never executed and dynamic backend gets stuck

2013-10-16 Thread Ezequiel Muns
I'm experiencing something similar here, tasks are dispatched to a backend 
module. The backend instance displays the call to /_ah/start and then the 
task is shown as 'running' (in the Task Queue section of the console). The 
logs don't show any evidence that the task is running. 

If I manually invoke another call to the same backend instance, even to a 
different callback, the task 'returns' and the log is shown as expected but 
with a very large processing time (equivalent to the time between when the 
task was scheduled to run and me manually invoking the callback). Checking 
appstats shows that the task actually run in the time I expected ( 1s), it 
seems that the backend just got stuck after the handler finished.

Subsequent calls to the same instance do not exhibit the same behaviour, 
only fresh instances. 

On Tuesday, 15 October 2013 11:00:09 UTC+11, Vinny P wrote:

 On Sun, Oct 13, 2013 at 11:48 AM, Luis Pereira 
 l.pereira...@gmail.comjavascript:
  wrote:

 Haven't had the chance to download the log files yet. But in the console, 
 there is no sign at all about these tasks in the backend log files. Only 
 when we shut down the backend we see those commented errors.



 Backends flush log data on a periodic basis, see 
 https://developers.google.com/appengine/docs/java/backends/#Java_Periodic_logging
  for 
 documentation. If you're not seeing any logs, try forcibly flushing logs by 
 calling ApiProxy's flushLogs() method: 
 https://developers.google.com/appengine/docs/java/javadoc/com/google/apphosting/api/ApiProxy
  

 What's odd is that there should still be logs of the request, even if the 
 application itself is not printing any log data. Hopefully the missing logs 
 will be recorded in the downloadable logs service.


  On Sun, Oct 13, 2013 at 11:48 AM, Luis Pereira 
 l.pereira...@gmail.comjavascript:
  wrote:

 We are moving to HRD in the coming weeks. Hope the issue disappears after 
 the migration.



 The HRD migration is the best chance to fix this problem - M/S has unusual 
 issues, and it wouldn't surprise me at all if that was the problem.
  

 -
 -Vinny P
 Technology  Media Advisor
 Chicago, IL

 App Engine Code Samples: http://www.learntogoogleit.com



-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at http://groups.google.com/group/google-appengine.
For more options, visit https://groups.google.com/groups/opt_out.


Re: [google-appengine] Some tasks are never executed and dynamic backend gets stuck

2013-10-16 Thread Ezequiel Muns
Oh and may I just add I am not using the datastore in any way.

On Thursday, 17 October 2013 12:36:01 UTC+11, Ezequiel Muns wrote:

 I'm experiencing something similar here, tasks are dispatched to a backend 
 module. The backend instance displays the call to /_ah/start and then the 
 task is shown as 'running' (in the Task Queue section of the console). The 
 logs don't show any evidence that the task is running. 

 If I manually invoke another call to the same backend instance, even to a 
 different callback, the task 'returns' and the log is shown as expected but 
 with a very large processing time (equivalent to the time between when the 
 task was scheduled to run and me manually invoking the callback). Checking 
 appstats shows that the task actually run in the time I expected ( 1s), it 
 seems that the backend just got stuck after the handler finished.

 Subsequent calls to the same instance do not exhibit the same behaviour, 
 only fresh instances. 

 On Tuesday, 15 October 2013 11:00:09 UTC+11, Vinny P wrote:

 On Sun, Oct 13, 2013 at 11:48 AM, Luis Pereira l.pereira...@gmail.com
  wrote:

 Haven't had the chance to download the log files yet. But in the 
 console, there is no sign at all about these tasks in the backend log 
 files. Only when we shut down the backend we see those commented errors.



 Backends flush log data on a periodic basis, see 
 https://developers.google.com/appengine/docs/java/backends/#Java_Periodic_logging
  for 
 documentation. If you're not seeing any logs, try forcibly flushing logs by 
 calling ApiProxy's flushLogs() method: 
 https://developers.google.com/appengine/docs/java/javadoc/com/google/apphosting/api/ApiProxy
  

 What's odd is that there should still be logs of the request, even if the 
 application itself is not printing any log data. Hopefully the missing logs 
 will be recorded in the downloadable logs service.


  On Sun, Oct 13, 2013 at 11:48 AM, Luis Pereira l.pereira...@gmail.com 
 wrote:

 We are moving to HRD in the coming weeks. Hope the issue disappears 
 after the migration.



 The HRD migration is the best chance to fix this problem - M/S has 
 unusual issues, and it wouldn't surprise me at all if that was the problem.
  

 -
 -Vinny P
 Technology  Media Advisor
 Chicago, IL

 App Engine Code Samples: http://www.learntogoogleit.com




-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at http://groups.google.com/group/google-appengine.
For more options, visit https://groups.google.com/groups/opt_out.


Re: [google-appengine] Google App Engine SDK 1.8.6 is now available!

2013-10-16 Thread Vinny P
On Wed, Oct 16, 2013 at 11:57 AM, Richmond Manzana richm...@google.com
 wrote:

 We're pleased to announce that we have released the 1.8.6 SDK



Hello Richmond,

Thanks for the release notice - this looks like a pretty meaty update.

But the notes missed the best part: the admin console now breaking down
errors into client 4xx and server 5xx errors. Give whoever built that a big
kudos from me - it's a huge quality of life improvement for developers.


-
-Vinny P
Technology  Media Advisor
Chicago, IL

App Engine Code Samples: http://www.learntogoogleit.com

-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at http://groups.google.com/group/google-appengine.
For more options, visit https://groups.google.com/groups/opt_out.


Re: [google-appengine] Re: Count GQL

2013-10-16 Thread Vinny P
On Wed, Oct 16, 2013 at 6:04 PM, timh zutes...@gmail.com wrote:

 You have stop thinking of appengine/gql in SQL terms.


+1

On Wed, Oct 16, 2013 at 10:56 AM, Martin Descours descours.mar...@gmail.com
 wrote:

 I am sure you had that a lot, but how can count results on a request via
 GQL on AppEngine DataViewer ?



If you really want to use COUNT and other SQL commands, migrate your data
to the Cloud SQL service:
https://developers.google.com/cloud-sql/docs/dev-access


-
-Vinny P
Technology  Media Advisor
Chicago, IL

App Engine Code Samples: http://www.learntogoogleit.com

-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at http://groups.google.com/group/google-appengine.
For more options, visit https://groups.google.com/groups/opt_out.


[google-appengine] Possible bug: On custom domain tasks don't get routed according to dispatch.yaml

2013-10-16 Thread Ezequiel Muns
I have the following scenario:

   1. Default module enqueues a task to GET /process
   2. dispatch.yaml maps */process to the processor backend module
   3. Thus the task gets executed by the backend module

This works fine under the development server and in production if running 
under the .appspot.com domain.

If however, I run under my own custom domain, the routing seems to not kick 
in for the task dispatch, and the GET /process gets handled by the default 
module. This is only for the task, if I use my browser to access /processthe 
routing is as expected.

-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at http://groups.google.com/group/google-appengine.
For more options, visit https://groups.google.com/groups/opt_out.