Performance difference in Redis vs etcdv3

Viewed 2324

I was going through benchmark documentation page of Redis and Etcd. From the benchmark data it seems Etcd is as efficient as Redis.

https://redis.io/topics/benchmarks

https://github.com/etcd-io/etcd/blob/master/Documentation/op-guide/performance.md#benchmarks

Example - Setting a 100k keys by 100 parallel clients with payload - 256 byte

- on redis : 70K QPS 
- on Etcd : 50k QPS

But I am not able to understand how come Etcd is as efficient as Redis or is there anything wrong in my understanding?

Reason for Etcd should have been much slower than Redis:

  • Etcd might be making use of SSD but still Redis is in-memory DB, so should have been much high performant.
  • Etcd provide strong consistency using consensus(Raft) and should have been slower than Redis. As Redis doesn't guarantee consistency.
0 Answers
Related