1. Both Redis and Memcache store data in memory, both of which are in-memory databases. However, memcache can also be used to cache other things, such as pictures, videos, etc.;
2. Redis not only supports simple k/v type data, but also provides storage of data structures such as list, set, and hash;
3. Virtual memory -- When Redis runs out of physical memory, it can exchange some values that have not been used for a long time to disk;
4. Expiration policy --memcache is specified when set, for example, set key1 0 0 8, that is, it will never expire. Redis can be set by, for example, expire, such as expire name 10;
5. Distributed--Set up a memcache cluster and use magent to be one master and multiple slaves; redis can be one master and multiple slaves. can be master and slave;
6. Data storage security -- after memcache hangs, the data is gone; redis can be regularly saved to disk (persistence);
7. Disaster recovery -- after memcache hangs, the data cannot be recovered; after redis data is lost, it can be recovered through aof;
8. Redis supports data backup, that is, data backup in master-slave mode;