Comparison of Redis and Memcache

Source: Internet
Author: User
Tags memcached

comparison of Redis and Memcache:

Memcached:

Memcached is a free and open source, high performance, distributed memory Object caching system .
In essence, it is a concise key-value database (storage System), key-value pairs;
The general purpose is to reduce the number of database accesses by caching database query results to improve the speed and scalability of dynamic Web applications.

Redis:
Redis is a key-value storage system.
Redis is a high-performance Key-value database ;

Redis and Memcache differences:

1. Storage mode:

Memecache the data are all in memory, the power will be hung off, the data can not exceed the size of memory;
Redis is partially present on the hard drive, which guarantees the data's durability.
2. Data support type:
Redis has much more data support than Memecache, and Redis not only supports simple k/v-type data, but also provides storage for data structures such as List,set,hash.
3, using the underlying model is different:
The new version of Redis directly builds its own VM mechanism, because a system function called by a general system can waste a certain amount of time moving and requesting.
4, the operating environment is different:
Redis is now officially supported only by Linux, eliminating the support for other systems, so that the system can be used with greater effort.
Environment optimization, although Microsoft later had a team to write patches for it, but did not put it on the trunk.

Comparison of 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.