Memcached and Redis Comparison

Source: Internet
Author: User
Tags memcached

belong to the same NoSQL store, online many memcached can do is that Redis can do, why basically now two kinds of fire, reason they have their own good place.

memcahed internal Multi-core mode, single-row running quickly. The memcached uses Key-value storage. Cons: Cannot persist, data cannot be backed up, can only be used for caching, restart data loss.

Redis supports multiple data types, string,list,dict,set .... Persistent operations are supported and persisted in two ways, aof and RDB data persisted to disk. This allows for data backup and recovery operations. Prevent data loss.

Single-threaded requests, all commands are executed serially, and there is no need to consider data consistency issues in the concurrency scenario. Support PUB/SUB Message subscription mechanism, can be used to come in message subscription and notification.

Support for simple transaction requirements.

Redis has the same characteristics as a database in many ways. And memcached is simply k-v storage. Memcached is enough if you simply cache it. But memcached is already mature, and redis is relatively less mature. The Redis presence also offers a good choice. And the database features MongoDB is better.

Memcached and Redis Comparison

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.