Re: [appengine-java] Re: how to query TaskQueue for count of running/pending tasks?

2011-01-24 Thread Ikai Lan (Google)
This is the issue you want to star:

http://code.google.com/p/googleappengine/issues/detail?id=1948

--
Ikai Lan
Developer Programs Engineer, Google App Engine
Blogger: http://googleappengine.blogspot.com
Reddit: http://www.reddit.com/r/appengine
Twitter: http://twitter.com/app_engine



On Sun, Jan 23, 2011 at 10:19 AM, Doug doug...@gmail.com wrote:


 There was another thread on this same topic a few months back.  I am not
 able to find it right now, but I believe that I remember that someone was
 using URL Fetch to fetch 
 https://appengine.google.com/queues?app_id=version_id=xx;
 and then parsing the page to determine the number of tasks on each queue.  I
 don't recall how they were handling authentication.

 Doug

 --
 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-java@googlegroups.com.
 To unsubscribe from this group, send email to
 google-appengine-java+unsubscr...@googlegroups.comgoogle-appengine-java%2bunsubscr...@googlegroups.com
 .
 For more options, visit this group at
 http://groups.google.com/group/google-appengine-java?hl=en.


-- 
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-java@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: how to query TaskQueue for count of running/pending tasks?

2011-01-23 Thread Didier Durand
Hi,

it seems that you're right: I also see no other way and did the same
as you (with same issue)

Nothing about this in the official roadmap either.

didier

On Jan 22, 8:19 pm, armh...@gmail.com armh...@gmail.com wrote:
 Is it possible to programmatically query the Task Queue API to see how
 many tasks are currently executing/pending?

 I don't see any way to do this in the API, and so I resorted to
 creating objects in the Datastore to represent queued tasks. When run,
 the tasks then remove their corresponding entry from the Datastore.

 As you can imagine, it's easy for this to get out of sync. I'd
 actually be pretty happy just to be able to get a simple count of
 tasks in the queue for a given queue name.

 Thanks

-- 
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-java@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: how to query TaskQueue for count of running/pending tasks?

2011-01-23 Thread armh...@gmail.com
Hi Didier,

I'm told (unofficially) that this is in fact planned for the future:

http://stackoverflow.com/questions/4770011/google-app-engine-java-taskqueue-api-how-to-query-number-of-running-pending-ta/4771423#4771423

It would be nice to hear something official though.

Regards,
George

On Jan 23, 3:02 am, Didier Durand durand.did...@gmail.com wrote:
 Hi,

 it seems that you're right: I also see no other way and did the same
 as you (with same issue)

 Nothing about this in the official roadmap either.

 didier

 On Jan 22, 8:19 pm, armh...@gmail.com armh...@gmail.com wrote:







  Is it possible to programmatically query the Task Queue API to see how
  many tasks are currently executing/pending?

  I don't see any way to do this in the API, and so I resorted to
  creating objects in the Datastore to represent queued tasks. When run,
  the tasks then remove their corresponding entry from the Datastore.

  As you can imagine, it's easy for this to get out of sync. I'd
  actually be pretty happy just to be able to get a simple count of
  tasks in the queue for a given queue name.

  Thanks

-- 
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-java@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: how to query TaskQueue for count of running/pending tasks?

2011-01-23 Thread Doug

There was another thread on this same topic a few months back.  I am not 
able to find it right now, but I believe that I remember that someone was 
using URL Fetch to fetch 
https://appengine.google.com/queues?app_id=version_id=xx; and 
then parsing the page to determine the number of tasks on each queue.  I 
don't recall how they were handling authentication. 

Doug

-- 
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-java@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.