Need advice about which tool to choose?Ask the StackShare community!
Bull vs delayed_job: What are the differences?
What is Bull? Premium Queue package for handling jobs and messages in NodeJS. The fastest, most reliable, Redis-based queue for Node Carefully written for rock solid stability and atomicity.
.
What is delayed_job? Database backed asynchronous priority queue -- Extracted from Shopify. Delayed_job (or DJ) encapsulates the common pattern of asynchronously executing longer tasks in the background. It is a direct extraction from Shopify where the job table is responsible for a multitude of core tasks.
Bull and delayed_job can be categorized as "Background Processing" tools.
Bull and delayedjob are both open source tools. It seems that Bull with 5.95K GitHub stars and 584 forks on GitHub has more adoption than delayedjob with 4.46K GitHub stars and 915 GitHub forks.
Pros of Bull
- Automatic recovery from process crashes2
- Ease of use1
- Based on Redis1
Pros of delayed_job
- Easy to get started3
- Reliable2
- Doesn't require Redis1