MemoryCache is built into the process, so it can only be used as a regular keystore for this process. A separate server instance of MemoryCache will be memcached .
While redis is a data structure server that can be hosted on other servers, it can interact with the network in the same way as memcached, but redis maintains a long list of complex data types and operations on them, providing logical and intelligent caching.
Dhruvpathak
source share