asp.net mvc - Alternate and fast option for AppFabricCache? -
i looking better n optimal solution can replace appfabriccache , improve performance of asp.net-mvc application.
according microsoft, azure cache (the name of redis offering) should used development on azure instead of appfabric cache. think that's rather endorsement redis , alternative if want deploy application azure.
that said, distributed cache performance in specific scenarios: when deploy application multi-machine farm , need consistency of cached data. hurt performance if have 1 machine or if want cache read-only lookup data. network call slower memory lookup.
you should consider, why want replace appfabric cache? doesn't work you? may encounter same problems if change solution.
for example, synchronization problems always appear if host appfabric or memcached on web servers themselves. both web server , cache use lot of cpu (and ram) during high traffic. lead problems, delayed requests, timeouts or ... sync problems. redis avoids these because there no local caching @ - remote in-memory cache cluster.
there ton of resources on how use redis in .net. lot of them refer azure cache can use same code , change connection strings if want host redis yourself.
for example, in session state azure redis cache change required change server's dns name in configuration file. article how use azure redis cache uses third-party redis client connect azure redis cache. again, need change host name connect on-premise redis server.