Need advice about which tool to choose?Ask the StackShare community!
ActiveMQ vs Redis: What are the differences?
What is ActiveMQ? A message broker written in Java together with a full JMS client. Apache ActiveMQ is fast, supports many Cross Language Clients and Protocols, comes with easy to use Enterprise Integration Patterns and many advanced features while fully supporting JMS 1.1 and J2EE 1.4. Apache ActiveMQ is released under the Apache 2.0 License.
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.
ActiveMQ and Redis are primarily classified as "Message Queue" and "In-Memory Databases" tools respectively.
"Open source" is the primary reason why developers consider ActiveMQ over the competitors, whereas "Performance" was stated as the key factor in picking Redis.
ActiveMQ and Redis are both open source tools. Redis with 37.1K GitHub stars and 14.3K forks on GitHub appears to be more popular than ActiveMQ with 1.49K GitHub stars and 1.04K GitHub forks.
According to the StackShare community, Redis has a broader approval, being mentioned in 3239 company stacks & 1732 developers stacks; compared to ActiveMQ, which is listed in 33 company stacks and 17 developer stacks.
Pros of ActiveMQ
- Easy to use18
- Open source14
- Efficient13
- JMS compliant10
- High Availability6
- Scalable5
- Distributed Network of brokers3
- Persistence3
- Support XA (distributed transactions)3
- Docker delievery1
- Highly configurable1
- RabbitMQ0
Pros of Redis
- Performance884
- Super fast541
- Ease of use512
- In-memory cache443
- Advanced key-value cache323
- Open source193
- Easy to deploy182
- Stable164
- Free155
- Fast121
- High-Performance42
- High Availability40
- Data Structures34
- Very Scalable32
- Replication24
- Great community22
- Pub/Sub22
- "NoSQL" key-value data store18
- Hashes15
- Sets13
- Sorted Sets11
- Lists10
- BSD licensed9
- NoSQL9
- Async replication8
- Bitmaps8
- Integrates super easy with Sidekiq for Rails background8
- Open Source7
- Keys with a limited time-to-live7
- Lua scripting6
- Strings6
- Hyperloglogs5
- Awesomeness for Free5
- Feature Rich4
- Networked4
- Outstanding performance4
- Runs server side LUA4
- Transactions4
- Written in ANSI C4
- LRU eviction of keys4
- Performance & ease of use3
- Data structure server3
- Temporarily kept on disk2
- Channels concept2
- Simple2
- Dont save data if no subscribers are found2
- Object [key/value] size each 500 MB2
- Automatic failover2
- Easy to use2
- Existing Laravel Integration2
- Scalable2
Sign up to add or upvote prosMake informed product decisions
Cons of ActiveMQ
- ONLY Vertically Scalable1
- Support1
- Low resilience to exceptions and interruptions1
- Difficult to scale1
Cons of Redis
- Cannot query objects directly15
- No secondary indexes for non-numeric data types3
- No WAL1