Replies: 1 comment
-
Hi @Nondv! Glad you like it, and sorry for the late reply. It indeed serves the same purpose as, and is in part inspired by delayed_jobs, which I have used many years ago when I was working with Ruby. Whether to use multiple workers or one worker with multiple threads depends on your existing deployment setup, your parallellization needs, and your willingness to throw hardware (and thus, money) on your background jobs:
I'd say go for the first option if you have simple IO-bound tasks (like sending emails) that don't need a lot of resources. If you need to scale the workers independently, go for a separate worker fleet of instances. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi @msolli !
Started to use your library for background tasks in our service. Loving it so far (reminds me of Ruby's delayed_jobs).
I was wondering if there's a difference between running multiple workers vs one worker with multiple threads.
From briefly looking at the code, there doesn't seem to be much difference but was hoping to get your opinion.
Beta Was this translation helpful? Give feedback.
All reactions