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

celery beat + k8s 集群部署 咋弄咧?

  •  
  •   chaleaoch · Sep 22, 2020 · 3223 views
    This topic created in 2237 days ago, the information mentioned may be changed or developed.
    起了三个 docker celery beat 每次发三个定时消息, 消费 3 次...

    大佬们都怎么部署的?
    7 replies  •  2020-09-23 09:54:54 +08:00
    Hstar
    Hstar
    Sep 22, 2020❤️1
    1
    beat 容器只起一个,或者发任务时加一个分布式锁
    zhoudaiyu
    zhoudaiyu
    Sep 22, 2020❤️1
    2
    redbeat 了解一下
    chaleaoch
    chaleaoch
    OP
    Sep 22, 2020
    3
    @zhoudaiyu thanks 大佬.
    zhoudaiyu
    zhoudaiyu
    Sep 22, 2020
    4
    @chaleaoch #3 lz 可以试试这个,v2 的 redis 大佬(忘了 ID 了)也参与过开发。正好我们也要上容器,麻烦提前踩踩坑( doge
    jmperdev
    jmperdev
    Sep 22, 2020
    5
    replicas: 1
    推荐一下我之前写的 django-helm,https://github.com/itswcg/django-helm
    chaleaoch
    chaleaoch
    OP
    Sep 22, 2020
    6
    @BigBrother1024 大佬 你这个我真不敢用...
    NaVient
    NaVient
    Sep 23, 2020
    7
    不太明白,都在 k8s 集群了,定时任务不该是 k8s cronjob 执行吗?
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   812 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 32ms · UTC 19:02 · PVG 03:02 · LAX 11:02 · JFK 14:02
    ♥ Do have faith in what you're doing.