Need advice about which tool to choose?Ask the StackShare community!
etcd vs Redis: What are the differences?
What is etcd? A distributed consistent key-value store for shared configuration and service discovery. etcd is a distributed key value store that provides a reliable way to store data across a cluster of machines. It’s open-source and available on GitHub. etcd gracefully handles master elections during network partitions and will tolerate machine failure, including the master.
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.
etcd and Redis are primarily classified as "Open Source Service Discovery" and "In-Memory Databases" tools respectively.
"Service discovery" is the top reason why over 7 developers like etcd, while over 842 developers mention "Performance" as the leading cause for choosing Redis.
etcd 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 etcd with 25.9K GitHub stars and 5.26K GitHub forks.
According to the StackShare community, Redis has a broader approval, being mentioned in 3265 company stacks & 1788 developers stacks; compared to etcd, which is listed in 27 company stacks and 11 developer stacks.
Pros of etcd
- Service discovery11
- Fault tolerant key value store6
- Secure2
- Bundled with coreos2
- Privilege Access Management1
- Consol integration1
- Open Source1
Pros of Redis
- Performance882
- Super fast540
- Ease of use510
- In-memory cache441
- Advanced key-value cache321
- Open source191
- Easy to deploy180
- Stable163
- Free153
- Fast120
- High-Performance40
- High Availability39
- Data Structures34
- Very Scalable31
- Replication23
- Great community21
- Pub/Sub21
- "NoSQL" key-value data store17
- Hashes14
- Sets12
- Sorted Sets10
- Lists9
- BSD licensed8
- NoSQL8
- Integrates super easy with Sidekiq for Rails background7
- Async replication7
- Bitmaps7
- Keys with a limited time-to-live6
- Open Source6
- Strings5
- Lua scripting5
- Hyperloglogs4
- Awesomeness for Free!4
- Transactions3
- Runs server side LUA3
- outstanding performance3
- Networked3
- LRU eviction of keys3
- Written in ANSI C3
- Feature Rich3
- Performance & ease of use2
- Data structure server2
- Simple1
- Channels concept1
- Scalable1
- Temporarily kept on disk1
- Dont save data if no subscribers are found1
- Automatic failover1
- Easy to use1
- Existing Laravel Integration1
- Object [key/value] size each 500 MB1
Sign up to add or upvote prosMake informed product decisions
Cons of etcd
Cons of Redis
- Cannot query objects directly15
- No secondary indexes for non-numeric data types3
- No WAL1