TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Show HN: Dramatiq – An alternative to Celery

53 点作者 Bogdanp超过 7 年前

8 条评论

adambrenecki超过 7 年前
&gt; Dramatiq is licensed under the AGPL and it officially supports Python 3.6 and later. Commercial Licensing is also available.<p>Oh.<p>&gt; I’ve done a ton of open source work over the course of my career. Companies have used that work to generate income for themselves. Inevitably, I’ve ended up supporting that software on those companies’ behalf for free and that is not sustainable long term.<p>This is totally 100% true and understandable. Unfortunately, a lot of devs are going to go &quot;hmm, I could battle to convince someone that can approve purchases that it&#x27;s worth forking out $2k&#x2F;year for this, or I could just use Celery&quot;.
评论 #15683050 未加载
评论 #15682814 未加载
bjt超过 7 年前
RabbitMQ is not hard to use directly. I think most developers would be better off doing that, and coming to understand the power of AMQP, rather than adopting cute DSLs like this and Celery that put you into a box and narrow your view of what&#x27;s possible.<p>I started that way with Celery and Django, maybe 6 years ago. At one point we found a bug with Celery not resolving &#x27;chord&#x27; callbacks when all the parallel tasks had completed. It was difficult to debug, going through Celery&#x27;s layers of code that try to make various backends present the same interface. We weaned ourselves off Celery and started using just the RabbitMQ and Redis libraries directly. It was definitely a shift worth making, allowing us to make performance&#x2F;reliability tradeoffs that were better suited to our systems, and opened our eyes to possibilities with RabbitMQ and Redis streams that we hadn&#x27;t been able to see when looking through a Celery lens.<p>If there&#x27;s a place for DSLs like this, it may be when you have very novice programmers needing to write quick throwaway jobs without wanting to spend a lot of time learning the underlying systems. Maybe analysts on a data team, for example.
评论 #15682984 未加载
评论 #15685810 未加载
评论 #15683213 未加载
_pgmf超过 7 年前
Huey: <a href="https:&#x2F;&#x2F;huey.readthedocs.io" rel="nofollow">https:&#x2F;&#x2F;huey.readthedocs.io</a> -- even simpler :) redis or sqlite, mit license, greenlet&#x2F;thread&#x2F;process worker model support.
评论 #15683250 未加载
whalesalad超过 7 年前
I’ve submitted code to this project and just want to state here for the record that Bogdan is very responsive and accepting of contributions. It was a very pleasing experience compared to other open source projects!<p>I reached out to the Python community recently with the question: “Django is to Flask as Celery is to ______?” Dramatiq was one of the suggested responses and the mission&#x2F;purpose behind it resonated with me immediately.<p>I’m a big fan of convention over configuration. Most of the time, if I’m writing software in Python, I don’t want to worry about a system that is not Python. IE, I enjoy an ORM that abstracts PostgreSQL. I enjoy this because it abstracts Rabbit. Obviously you need to understand the underlying system and an ORM is no replacement for knowing the ins and outs of Postgres, just as this is no replacement for understanding Rabbit. But... I love that it does everything I want it to do with minimal or zero configuration.
SEJeff超过 7 年前
Nice touch on having prometheus metric support builtin, but in general, if I want a simpler celery, I always use rq[1]. How does this compare to rq? Having this one the website somewhere obvious and why you wrote it would be a really nice touch.<p><a href="http:&#x2F;&#x2F;python-rq.org&#x2F;" rel="nofollow">http:&#x2F;&#x2F;python-rq.org&#x2F;</a>
评论 #15682802 未加载
jtharpla超过 7 年前
I figured I&#x27;d add a mention of the task queue we use at close.io: <a href="https:&#x2F;&#x2F;github.com&#x2F;closeio&#x2F;tasktiger" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;closeio&#x2F;tasktiger</a><p>We run several hundred tasktiger workers in production (deployed using Kubernetes) to process the various backend task queues for our service. Project is MIT-licensed if anyone is interested in another celery alternative.
rcarmo超过 7 年前
I might have missed it, but is this asyncio-ready?
评论 #15682741 未加载
vosper超过 7 年前
Does Dramatiq have first-class support for SQS? That&#x27;s my biggest gripe with Celery. I mean, it does work with SQS, but it doesn&#x27;t support it as a result backend, and it doesn&#x27;t do (eg) batch PUTs automatically, so it&#x27;s pretty slow.<p>edit: I search the docs for SQS and got no results, so I&#x27;m guessing it&#x27;s not supported.
评论 #15682921 未加载