惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

酷 壳 – CoolShell
酷 壳 – CoolShell
T
Threatpost
Latest news
Latest news
N
News | PayPal Newsroom
Threat Intelligence Blog | Flashpoint
Threat Intelligence Blog | Flashpoint
Help Net Security
Help Net Security
D
Darknet – Hacking Tools, Hacker News & Cyber Security
AI
AI
Simon Willison's Weblog
Simon Willison's Weblog
TaoSecurity Blog
TaoSecurity Blog
The Last Watchdog
The Last Watchdog
L
LINUX DO - 热门话题
Google DeepMind News
Google DeepMind News
T
Threat Research - Cisco Blogs
O
OpenAI News
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
T
The Exploit Database - CXSecurity.com
NISL@THU
NISL@THU
Application and Cybersecurity Blog
Application and Cybersecurity Blog
S
Securelist
小众软件
小众软件
cs.CL updates on arXiv.org
cs.CL updates on arXiv.org
Martin Fowler
Martin Fowler
S
SegmentFault 最新的问题
Cisco Talos Blog
Cisco Talos Blog
云风的 BLOG
云风的 BLOG
AWS News Blog
AWS News Blog
GbyAI
GbyAI
N
News and Events Feed by Topic
cs.CV updates on arXiv.org
cs.CV updates on arXiv.org
美团技术团队
Engineering at Meta
Engineering at Meta
A
About on SuperTechFans
博客园 - 三生石上(FineUI控件)
S
Schneier on Security
博客园 - 聂微东
V2EX - 技术
V2EX - 技术
T
Troy Hunt's Blog
SecWiki News
SecWiki News
S
Secure Thoughts
B
Blog RSS Feed
Hugging Face - Blog
Hugging Face - Blog
WordPress大学
WordPress大学
腾讯CDC
H
Heimdal Security Blog
Exploit-DB.com RSS Feed
Exploit-DB.com RSS Feed
Apple Machine Learning Research
Apple Machine Learning Research
月光博客
月光博客
www.infosecurity-magazine.com
www.infosecurity-magazine.com
P
Privacy International News Feed

Celery

请教如果 celery 任务已经在进行中,还能如何跟用户交互么 - V2EX 请教一个 celery 的 worker 进程越来越多的问题 Celery 的诡异问题,请大佬们看看 Celery + RabbitMQ 是最佳组合么?与 SQLAlchemy 相比有什么优势?
如何建立多个队列? - V2EX
wangtao · 2013-07-08 · via Celery

wangtao

V2EX  ›  Celery

如何建立多个队列?

 

wangtao · 2013 年 7 月 8 日 · 8185 次点击

这是一个创建于 4724 天前的主题,其中的信息可能已经有所发展或是发生改变。

目前我是用这个方法建立一个队列。。

celery multi start w5 -A celery_mx.saveimg --uid=website --gid=staff --workdir="/var/www/" --pidfile="/var/run/celeryd.pid" --logfile="/opt/log/celery/saveimg.log" --loglevel=info --concurrency=1

使用同样的方法再建立一个队列就会起冲突:w5 的队列里会出现 w4 里的任务。然后因为找不到执行方法而报错。。

两个不同的项目,如果新建两个互不干扰的队列呢?我是用 RabbitMQ 做后台支持。

用 Celery 问题颇多,翻看文档中。。