问题描述
Python 3的似乎有不同的实现方式。
There seem to be different implementations of task/job queues for Python 3:
- ,受欢迎但显然没有维护和陈旧;
- ,我几乎没有信息;
- ,与RQ类似,我对此一无所知;
- ,与RQ类似,我对此知之甚少;
- 的最新更新是2016年。
- Celery, popular but apparently unmaintained and stale;
- RQ, of which I have little information;
- TaskTiger, similarly to RQ I know little about it;
- Huey , similarly to RQ I know little about it;
- WorQ had its last update in 2016.
然后有基于云的解决方案,例如或,但这更多的是不得已。
Then there are "cloud" based solutions like Google’s Task Queue API or AWS’s Cloud Watch Events, but that’s more of a last resort.
对于我的项目,我正在寻找一个稳定和 active 任务队列实现。在过去的一年中,我一直使用Celery,但令人担忧的是缺乏支持以及对现有bug的疏忽。
For my project I am looking for a stable and active task queue implementation. I’ve used Celery for the past year, but the lack of support and non-attention to existing bugs is worrisome.
存在哪些替代方案?
推荐答案
我写了页面上查看为什么以及Dramatiq,Celery和RQ之间的功能比较。一些重点:
I wrote Dramatiq specifically because of my increasing frustration with Celery having used it professionally for years. Check out the motivation page the "why" and a feature comparison between Dramatiq, Celery and RQ. Some highlights:
- 积极开发并用于生产中
- 优秀文档
- 自动重试
- 代码自动重新加载
- 锁定和速率限制
- redis和rabbitmq支持
- actively developed and used in production
- great docs
- automatic retries
- code auto-reload
- locks and rate limiting
- redis and rabbitmq support
这篇关于Python任务队列替代方案和框架的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!