Simple comparison of Cmem, Redis and Memcache

Source: Internet
Author: User

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

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.