Distributed caching with .NET 2.0+?

梦想的初衷 提交于 2019-12-04 08:00:49

问题


What is the best approach to implement distributed caching with .NET?

Edit: I was looking for a general caching schema for internal and external applications


回答1:


There is also NCache as another tool in addition to Velocity and memcached ports. As for strategies you will need to think about what @Unsliced is talking about because the strategy is different from the tool.




回答2:


We are huge fans of ScaleOut StateServer. In our tests, it was 4x faster than MemcacheDotNet and almost 2x faster than Enyim, with a lower memory footprint. It was well worth the money (the others are free).

Obviously, your mileage my vary, as every caching scenario is different, but I would definitely recommend kicking the tires on StateServer.




回答3:


You should take a look at memcached. It can run on as many nodes as you want/need. There are at least two .Net clients available: here and here.




回答4:


In the near future it will be Velocity. This is essentially a .Net implementation similar to Tangosol/Oracle's Coherence.




回答5:


maybe you should check Shared Cache (http://www.sharedcache.com || http://sharedcache.codeplex.com) - it fast, free and open source.

regards, roni




回答6:


What are you caching (and why)? How widely are you planning on distributing the cache? On a LAN, on a (private) WAN, over the whole interweb?



来源:https://stackoverflow.com/questions/38548/distributed-caching-with-net-2-0

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