问题
I needed to find a way that two applications can use the same cache, and after some quick research it seems that we will need a distributed cache to achieve this. Further Googling turns up a number of solutions, NCache, SharedCache, Velocity, memcached. This cache will be used for caching webpages in a Microsoft Enviroment using Asp.Net 3.5.
So my question is what experiences do you have with these, or other, technologies.
回答1:
We have been using Memcached for some time now and it works like a charm. It is really stable and the overall performance is also pretty good.
You can make use of the "Memcached Providers" project at codeplex.com to easily integrate it with .net.
回答2:
Depending on the solution you require a low-tech option might be to persist the results/data to a network share.
Then have each machine hold a cached version (perhaps use the ASP.NET cache or Enterprise Library) of the data with a corresponding cache dependency.
To answer your question I have heard excellent things about NCache and Memcached.
来源:https://stackoverflow.com/questions/856959/which-distributed-cache