Redis and Memcache difference:

1 , Redis, not all the data have been stored in memory, and this is one of the biggest difference compared to Memcache.

2, Redis provided in many ways signature database, or is a database system, but simply Memcache K / V buffer.

Their extension needs to do a cluster; implementation: Master-Slave, Hash.

In the above data 100k, Memcache performance than Redis.

3, if the memory efficiency simply say, using key-value store, then Memcached higher memory utilization, and if the hash structure employed do Redis key-value store, due to its modular compression, memory utilization thereof It will be higher than Memcache. Of course, this and your application scenarios and related data characteristics.

4, if you're persistent data and data synchronization so required, it is recommended that you choose Redis, because the two do not have the characteristics Memcache. Even if you just want to cache data will not be lost after the upgrade or reboot the system, select Redis is wise.

5, Redis and Memcache little difference in the performance of the above write, read performance, especially above the performance of the above Memcache batch read more

Guess you like

Origin www.cnblogs.com/boke1/p/11056607.html