BeanstalkD
dramatiq
Our great sponsors
BeanstalkD | dramatiq | |
---|---|---|
14 | 15 | |
6,467 | 4,051 | |
0.4% | - | |
0.0 | 7.3 | |
5 months ago | 12 days ago | |
C | Python | |
GNU General Public License v3.0 or later | GNU Lesser General Public License v3.0 or later |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
BeanstalkD
-
Ruby 3.3
There's beanstalkd, it has a few Python libraries and it works out of the box with ActiveJob via Backburner.
https://beanstalkd.github.io/
-
A Developer's Journal: Simplifying the Twelve-Factor App
Messaging/Queueing Systems (Amazon SQS, RabbitMQ, Beanstalkd)
- Load Balancing
-
SQL Maxis: Why We Ditched RabbitMQ and Replaced It with a Postgres Queue
Not when a queue is involved. IME trying to replicate something like beanstalkd (https://beanstalkd.github.io/) in postgres is asking for trouble for anything but trivial workloads.
If you're measuring throughput in jobs/s, use a real work queue.
-
Christmas giveaway: 10 copies of my book Domain-driven Design with Golang book, also AMA
Before Kafka was a standard, I created a go library for beanstalkd that act like an RPC.
-
PHP parallel processing idea
Then there are queue libraries like beanstalkd, RabbitMQ or built-in features like queues from Laravel. These will probably get you quicker to your goal then trying the process managing route.
- How to do distributed cronjobs with worker queues?
-
Write Your Own Task Queue
The only task queue I loved was beanstalkd -- it's beautifully written and highly performant. Starting it takes seconds and it's been running for a decade:
https://beanstalkd.github.io/
- Golang task queue
-
What are some popular background job processing frameworks in the Rust ecosystem?
It's not rust (it's C), but beanstalkd is a pretty incredible work queue that processes millions of jobs a day (10K+/s at peak) for my company. I know there are a few rust drivers available.
dramatiq
- Dramatiq: A fast and reliable distributed task processing library for Python
-
Inngest raises $3M seed to build the reliable workflow platform for every dev
Using something like Dramatiq [1] with Redis, writing a background job takes minutes, and can be deployed alongside an existing Python web app. There are probably JS equivalents.
I think Inngest could be a useful service, but the comparison felt off for me - it made me feel like this wasn't solving a real problem.
[1] https://dramatiq.io/
-
Arq vs Dramatiq vs Taskiq vs Repid
Dramatiq documentation
-
Taskiq: async celery alternative
Hello everyone. We want to present you Taskiq: our new project that allows sending tasks using distributed queues. Conceptually it's similar to Celery or Dramatiq but with full asyncio and type hints support. Taskiq can send and execute async functions and has many integrations with different queue implementations.
-
Django Styleguide
I spent 3 years building a high scale crawler on top of Celery.
I can't recommend it. We found many bugs in the more advanced features of Celery (like Canvas) we also ran into some really weird issues like tasks getting duplicated for no reason [1].
The most concerning problem is that the project was abandoned. The original creator is not working on it anymore and all issues that we raised were ignored. We had to fork the project and apply our own fixes to it. This was 4 years ago so maybe things improved since them.
Celery is also extremely complex.
I would recommend https://dramatiq.io/ instead.
[1]: https://github.com/celery/celery/issues/4426
- Simple Task Queue system that works with Django 4 / Python 3.9?
-
Writing a book about Django, what’s your suggestion for the theme?
I have been using dramatiq lately (celery alternative) and so far I'm happy with it.
-
A new simple background job processing framework
this is a more robust solution. https://dramatiq.io/
-
What is your favourite task queuing framework?
Dramatiq -> Just another celery?
- 5 background scheduling libraries in Python you must know
What are some alternatives?
RabbitMQ - Open source RabbitMQ: core server and tier 1 (built-in) plugins
celery - Distributed Task Queue (development branch)
Apache Kafka - Mirror of Apache Kafka
huey - a little task queue for python
Gearman
Cython - The most widely used Python to C compiler
NATS - High-Performance server for NATS.io, the cloud and edge native messaging system.
Pyston - A faster and highly-compatible implementation of the Python programming language.
Stackless Python
nsq - A realtime distributed messaging platform
PyPy