Checking status of Task Queue in Google App Engine(在 Google App Engine 中检查任务队列的状态)
问题描述
我将几个任务放入一个任务队列中,并想知道具体任务何时完成.我在 API 中没有找到关于回调或检查任务状态的任何内容,所以我想我会看看其他人在做什么,或者是否有解决方法(或官方)的方法来检查.我不关心单个任务,如果有帮助,我会放入 6 个不同的任务,并想知道所有 6 个任务何时完成.
I'm putting several tasks into a task queue and would like to know when the specific tasks are done. I haven't found anything in the API about call backs, or checking the status of a task, so I thought I'd see what other people do, or if there's a work around (or official) way to check. I don't care about individual tasks, if it helps, I'm putting 6 different tasks in, and want to know when all 6 are complete.
谢谢!
推荐答案
新的 REST/JSON 任务队列 API 可以让你做到这一点.
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...
我确实喜欢管道 API 建议!
I do like the pipeline API suggestion though!
这篇关于在 Google App Engine 中检查任务队列的状态的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!
本文标题为:在 Google App Engine 中检查任务队列的状态


基础教程推荐
- Plotly:如何设置绘图图形的样式,使其不显示缺失日期的间隙? 2022-01-01
- 在Python中从Azure BLOB存储中读取文件 2022-01-01
- 使用大型矩阵时禁止 Pycharm 输出中的自动换行符 2022-01-01
- 无法导入 Pytorch [WinError 126] 找不到指定的模块 2022-01-01
- PANDA VALUE_COUNTS包含GROUP BY之前的所有值 2022-01-01
- 在同一图形上绘制Bokeh的烛台和音量条 2022-01-01
- 修改列表中的数据帧不起作用 2022-01-01
- PermissionError: pip 从 8.1.1 升级到 8.1.2 2022-01-01
- 包装空间模型 2022-01-01
- 求两个直方图的卷积 2022-01-01