Need advice about which tool to choose?Ask the StackShare community!
delayed_job vs Redis: What are the differences?
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.
What is Redis? An in-memory database that persists on disk. Redis is an open source, BSD licensed, advanced key-value store. It is often referred to as a data structure server since keys can contain strings, hashes, lists, sets and sorted sets.
delayed_job belongs to "Background Processing" category of the tech stack, while Redis can be primarily classified under "In-Memory Databases".
"Easy to get started" is the top reason why over 2 developers like delayed_job, while over 842 developers mention "Performance" as the leading cause for choosing Redis.
delayedjob and Redis are both open source tools. It seems that Redis with 37.4K GitHub stars and 14.4K forks on GitHub has more adoption than delayedjob with 4.46K GitHub stars and 915 GitHub forks.
According to the StackShare community, Redis has a broader approval, being mentioned in 3261 company stacks & 1781 developers stacks; compared to delayed_job, which is listed in 8 company stacks and 5 developer stacks.
Pros of delayed_job
- Easy to get started3
- Reliable2
- Doesn't require Redis1
Pros of Redis
- Performance887
- Super fast542
- Ease of use514
- In-memory cache444
- Advanced key-value cache324
- Open source194
- Easy to deploy182
- Stable165
- Free156
- Fast121
- High-Performance42
- High Availability40
- Data Structures35
- Very Scalable32
- Replication24
- Pub/Sub23
- Great community22
- "NoSQL" key-value data store19
- Hashes16
- Sets13
- Sorted Sets11
- Lists10
- NoSQL10
- Async replication9
- BSD licensed9
- Integrates super easy with Sidekiq for Rails background8
- Bitmaps8
- Open Source7
- Keys with a limited time-to-live7
- Lua scripting6
- Strings6
- Awesomeness for Free5
- Hyperloglogs5
- Runs server side LUA4
- Transactions4
- Networked4
- Outstanding performance4
- Feature Rich4
- Written in ANSI C4
- LRU eviction of keys4
- Data structure server3
- Performance & ease of use3
- Temporarily kept on disk2
- Dont save data if no subscribers are found2
- Automatic failover2
- Easy to use2
- Scalable2
- Channels concept2
- Object [key/value] size each 500 MB2
- Existing Laravel Integration2
- Simple2
Sign up to add or upvote prosMake informed product decisions
Cons of delayed_job
Cons of Redis
- Cannot query objects directly15
- No secondary indexes for non-numeric data types3
- No WAL1