Checking status of Task Queue in Google App Engine

*爱你&永不变心* 提交于 2019-12-03 13:19:44

The new REST/JSON task queue API will let you do this.

http://code.google.com/appengine/docs/python/taskqueue/rest.html

This does not scale well to thousands of tasks...

I do like the pipeline API suggestion though!

You might be able to accomplish this with the pipeline api. You make something dependent on all 6 tasks and let it rip.

http://code.google.com/p/appengine-pipeline/

Good Luck.

You can use memcache. Use a unique key specific to this task group. Set a count when you kick off your tasks, and have each task atomically decrement it. When the value is 0, your tasks are complete. The task that finds this value to be 0 can call your callback.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!