[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

[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

[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

[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

[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

[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

[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

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

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

[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,

[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

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

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

[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

[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...) ?

[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:

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

[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

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

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

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

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

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

[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