On performance:
All three are using shared memory to cache the data to improve the reading and writing ability of the data, performance is more efficient (there is a ttserver)
The convenience of the operation:
Memcache data structure is relatively single, are Key-value
Cmem More than memcache a column mode and local mode
Redis is enriched to provide storage of data structures such as List,set,hash.
Availability :
Memcache itself has no data redundancy mechanism, for fault prevention, relying on mature hash or ring algorithm to solve the jitter problem caused by single point of failure
Redis relies on clients for distributed reads and writes, while master-slave replication relies on the entire snapshot every time the primary node is reconnected from the node, without incremental replication
Cmem: Dual-machine hot standby, master-slave switching when the application layer does not need to modify the configuration
Reliability on:
Redis Support (snapshot, AOF): dependent on snapshots for persistence, AOF enhances reliability while impacting performance
Memcache not supported, usually used in cache, to improve performance; Sina has a memcachedb that can do data persistence.
Cmem adopts dual-machine hot standby plus cold standby mode, high reliability, support fixed-point back-up, can solve the extreme situation of data disaster recovery
Extensibility:
Cmem supports automatic expansion
Atomic operation of the data:
The Redis interface itself is responsible for atomic operations
Memcache,cmem through cas
Simple comparison of Cmem, Redis and Memcache