推荐学习书目
› 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 · Nov 7, 2011 · 7273 views
    This topic created in 5437 days ago, the information mentioned may be changed or developed.
    被celery折磨死了,提交几千个任务,只有前面几十个任务执行了,别的不知所踪,写个简单的测试却提交10万都没问题。
    7 replies  •  1970-01-01 08:00:00 +08:00
    phus
        1
    phus  
       Nov 7, 2011
    celery后端用的是redis/zeromq,我建议你直接上zeromq,或者搞简单点gearman也行
    jerry
        2
    jerry  
    OP
       Nov 7, 2011
    @phus gearman支持多队列么?我两种任务,我希望它们并行运算
    phus
        3
    phus  
       Nov 7, 2011
    那就用zeromq吧, 目前还没看到celery的成功案例,保守点也好。
    xiaojay
        4
    xiaojay  
       Nov 7, 2011
    我在用这个 https://github.com/binarydud/pyres
    基于redis
    比较好的地方是 1 有个web界面可以很方便的查看、控制 2 代码简单,很容易扩展
    c
        5
    c  
       Nov 7, 2011
    @jerry celery在windows是不是有些问题啊?
    jerry
        6
    jerry  
    OP
       Nov 7, 2011
    @c 没在windows用过,linux上用的,折磨死我了,总找不出任务消失的原因来,试了mongodb和rabbitmq做后端,选它是因为和gae的task queue挺像的
    Livid
        7
    Livid  
    MOD
    PRO
       Jun 28, 2012
    还可以试试 rq

    /go/rq
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   2490 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 42ms · UTC 10:31 · PVG 18:31 · LAX 03:31 · JFK 06:31
    ♥ Do have faith in what you're doing.