Bogdanp / django_dramatiq

A Django app that integrates with Dramatiq.
https://dramatiq.io
Other
331 stars 77 forks source link

Can we execute more than one job at same time? #55

Closed kmkmjhyiiiu closed 4 years ago

kmkmjhyiiiu commented 4 years ago

Hi, Moving from celery > rq > dramatiq :D. I found dramatiq more simpler and better. But my main goal is can i execute more than one job at same time? in my application i have to run multiple jobs but in django rq they wait on running to be finish then next task is executed which is main problem.

So there is anyway we can run multiple jobs at same time? Thank you!

Bogdanp commented 4 years ago

Dramatiq runs as many jobs concurrently as you'll allow it based on how you run your workers. By default it'll run 16 worker processes, each with 8 worker threads per process. This means it'll execute up to 16 tasks in parallel and up to 128 tasks concurrently by default.