V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
推荐学习书目
Learn Python the Hard Way
Python Sites
PyPI - Python Package Index
http://diveintopython.org/toc/index.html
Pocoo
值得关注的项目
PyPy
Celery
Jinja2
Read the Docs
gevent
pyenv
virtualenv
Stackless Python
Beautiful Soup
结巴中文分词
Green Unicorn
Sentry
Shovel
Pyflakes
pytest
Python 编程
pep8 Checker
Styles
PEP 8
Google Python Style Guide
Code Style from The Hitchhiker's Guide
jerry
V2EX  ›  Python

有没有python好用的tesk queue?

  •  
  •   jerry · 2011-11-07 12:11:25 +08:00 · 6240 次点击
    这是一个创建于 4560 天前的主题,其中的信息可能已经有所发展或是发生改变。
    被celery折磨死了,提交几千个任务,只有前面几十个任务执行了,别的不知所踪,写个简单的测试却提交10万都没问题。
    7 条回复    1970-01-01 08:00:00 +08:00
    phus
        1
    phus  
       2011-11-07 12:23:03 +08:00
    celery后端用的是redis/zeromq,我建议你直接上zeromq,或者搞简单点gearman也行
    jerry
        2
    jerry  
    OP
       2011-11-07 12:24:31 +08:00
    @phus gearman支持多队列么?我两种任务,我希望它们并行运算
    phus
        3
    phus  
       2011-11-07 12:32:19 +08:00
    那就用zeromq吧, 目前还没看到celery的成功案例,保守点也好。
    xiaojay
        4
    xiaojay  
       2011-11-07 12:37:08 +08:00
    我在用这个 https://github.com/binarydud/pyres
    基于redis
    比较好的地方是 1 有个web界面可以很方便的查看、控制 2 代码简单,很容易扩展
    c
        5
    c  
       2011-11-07 12:41:04 +08:00
    @jerry celery在windows是不是有些问题啊?
    jerry
        6
    jerry  
    OP
       2011-11-07 12:44:48 +08:00
    @c 没在windows用过,linux上用的,折磨死我了,总找不出任务消失的原因来,试了mongodb和rabbitmq做后端,选它是因为和gae的task queue挺像的
    Livid
        7
    Livid  
    MOD
       2012-06-28 07:31:33 +08:00
    还可以试试 rq

    /go/rq
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   2275 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 25ms · UTC 08:23 · PVG 16:23 · LAX 01:23 · JFK 04:23
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.