Live data from Hacker News

Show HN: Dramatiq – An alternative to Celery

dramatiq.io

1–10 of 33 posts

Re: Show HN: Dramatiq – An alternative to Celery

#5
> Dramatiq is licensed under the AGPL and it officially supports Python 3.6 and later. Commercial Licensing is also available.

Oh.

> 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.

This is totally 100% true and understandable. Unfortunately, a lot of devs are going to go "hmm, I could battle to convince someone that can approve purchases that it's worth forking out $2k/year for this, or I could just use Celery".

Re: Show HN: Dramatiq – An alternative to Celery

#6
post #4

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. http://python-rq.org/

> Nice touch on having prometheus metric support builtin

Thanks!

> How does this compare to rq? Having this one the website somewhere obvious and why you wrote it would be a really nice touch.

This exists although I suppose I should highlight it better: https://dramatiq.io/motivation.html

I would say the biggest differences to RQ are:

* Dramatiq supports RabbitMQ in addition to Redis,

* Dramatiq uses a mixed multi-process/multi-thread model whereas RQ forks for every task. In my benchmarks, Dramatiq has much, much better throughput than RQ,

* Dramatiq has support for task-level priorities, rate limiting and delayed tasks,

* Dramatiq comes with an in-memory broker you can use for testing.

Re: Show HN: Dramatiq – An alternative to Celery

#7

> Dramatiq is licensed under the AGPL and it officially supports Python 3.6 and later. Commercial Licensing is also available. Oh. > 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. This is totally 100% true and…

Yep, that's understandable. If someone makes a cost-benefit analysis and decides that they prefer the cheaper option then that's perfectly fine with me, I'll still be here a year later when they realize their mistake. ;)

That said, I do give out commercial licenses for free for companies that are just starting out. My goal with this is not to get rich, it's just to get people to contribute something back in whatever way they can.

Re: Show HN: Dramatiq – An alternative to Celery

#8
post #7

> Dramatiq is licensed under the AGPL and it officially supports Python 3.6 and later. Commercial Licensing is also available. Oh. > 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. This is totally 100% true and…

Yep, that's understandable. If someone makes a cost-benefit analysis and decides that they prefer the cheaper option then that's perfectly fine with me, I'll still be here a year later when they realize their mistake. ;) That said, I do give out commercial licenses for free for companies that are just starting out. My goal with this is not to get rich, it's just to get people to contribute something back in whatever…

I approve the share and share back spirit. AGPL for a library means that the application that uses it must be licensed under the AGPL too, right?

Re: Show HN: Dramatiq – An alternative to Celery

#9
Does Dramatiq have first-class support for SQS? That's my biggest gripe with Celery. I mean, it does work with SQS, but it doesn't support it as a result backend, and it doesn't do (eg) batch PUTs automatically, so it's pretty slow.

edit: I search the docs for SQS and got no results, so I'm guessing it's not supported.

Re: Show HN: Dramatiq – An alternative to Celery

#10
post #8
post #7

Earlier quoted context omitted.

Yep, that's understandable. If someone makes a cost-benefit analysis and decides that they prefer the cheaper option then that's perfectly fine with me, I'll still be here a year later when they realize their mistake. ;) That said, I do give out commercial licenses for free for companies that are just starting out. My goal with this is not to get rich, it's just to get people to contribute something back in whatever…

I approve the share and share back spirit. AGPL for a library means that the application that uses it must be licensed under the AGPL too, right?

It's a little more nuanced[0] than that and I confess I don't fully understand it myself. IANAL, but my understanding is it depends on how it's used. If a user action on your website ends up triggering Dramatiq code then you have to open source that code in addition to providing access to Dramatiq. If all you do is batch processing on your own servers, then you don't have to do anything; you're merely a user of the software.

[0]: https://opensource.stackexchange.com/a/5004

Post reply on HN