The difference between memcache and Redis

Source: Internet
Author: User
Tags memory usage

1) in Redis, not all data is stored in memory, which is the biggest difference compared to memcache.
2) Redis has a database feature in many ways, or a database system, and Memcache is simply a k/v cache.
3) They need to do the expansion of the cluster, the implementation of the way: Master-slave, Hash.
4) in more than 100k of data, memcache performance is higher than Redis.
5) If you want to say memory usage efficiency, using simple key-value storage, memcached memory utilization is higher, and if Redis uses hash structure to do key-value storage, because of its combined compression, its memory utilization will be higher than memcache. Of course, this is related to your application scenario and data characteristics.
6) If you have requirements for data persistence and data synchronization, it is recommended that you choose Redis because neither of these features memcache. Choosing Redis is also wise, even if you just want the cached data to be not lost after upgrading or rebooting the system.
7) Redis and memcache have little difference in write performance, read performance above especially bulk read performance above Memcache stronger

The difference between memcache and Redis

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.