Redis and Memcache difference between what are?

5. Memcache difference with Redis what are?

1), storage

Memecache all the data exists in memory, it will hang after power failure, data can not exceed the memory size.

Redis has a part on the hard disk, this will ensure persistent data.

2) data type support

Memcache for data type support is relatively simple.

Redis complex data types.

3) using different underlying model

Application protocol for communication between them and between the underlying implementations of the client are not the same.

Redis VM build their own direct mechanism, because most of the system call system function, it will waste some time to move and requests.

4), value size

redis can be up to 1GB, while memcache only 1MB


Redis supports data persistence, data in memory can be kept on disk, restart when you can load be used again.

Redis publish / subscribe functionality


https://blog.csdn.net/TiaoZhanJi_Xian/article/details/80301976

Guess you like

Origin www.cnblogs.com/stillstep/p/11111541.html