推荐学习书目
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
kunimi
V2EX  ›  Python

Celery Once

  •  
  •   kunimi · Feb 5, 2015 · 3709 views
    This topic created in 4123 days ago, the information mentioned may be changed or developed.
    3 replies    2015-02-07 08:44:10 +08:00
    dongweiming
        1
    dongweiming  
       Feb 6, 2015
    虽然点了个赞. 但是实际中感觉用不到 - 为什么会把重复的任务扔到队列里呢?
    kunimi
        2
    kunimi  
    OP
       Feb 7, 2015 via Android
    @dongweiming 的确要看应用场景,作者的blog中的例子是客户可能会重复提交PDF生成的请求。
    dongweiming
        3
    dongweiming  
       Feb 7, 2015
    那么问题来了, 为什么会让用户重复提交? 以及什么情况下才能提交成功.

    那第一次由于某种原因执行失败了, 在某个间隔期间再也无法进行了 - 为什么要直接对队列做控制 而不是从业务上
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   1093 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 67ms · UTC 18:19 · PVG 02:19 · LAX 11:19 · JFK 14:19
    ♥ Do have faith in what you're doing.