Redis and memcached differences

Source: Internet
Author: User

First Redis must be more advanced and better used than memcached, because Redis is a new technology, and the following is the ability of Redis and memcached not.

Redis has and memcached can implement cache servers (one cache server is deployed separately)

1, Redis not only supports simple k/v type of data, but also provides the storage of data structures such as list,hash,set,zset,sorted.

2, Redis support data backup, that is, Master-slave mode of data backup.

3, Redis support data persistence, can keep the in-memory data on the disk, restart can be loaded again for use, memcached is cached in memory, reboot after the cache disappears.

4, Redis is a single-threaded dynamic allocation of memory, memcached is multithreaded is fixed pre-allocated memory, not flexible.

Redis and memcached differences

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.