Which distributed cache?

独自空忆成欢 提交于 2020-01-02 11:19:10

问题


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

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!