简体   繁体   English

ASP.Net中的持久缓存

[英]Persistent cache in ASP.Net

I need a cache layer for my web app which stores gigabytes data in it, I found some options like Asp.net Cache, or Singleton approach to store my data in it, but as you know these options I mentioned already will be reset when application recycles ... 我需要一个用于存储千兆字节数据的web应用程序的缓存层,我找到了一些选项,如Asp.net Cache或Singleton方法来存储我的数据,但是你知道我提到的这些选项将在应用程序时重置回收......

Any ideas? 有任何想法吗?

Then your going to have to look at solutions like Windows Server AppFabric Caching 然后你将不得不看看像Windows Server AppFabric缓存这样的解决方案

http://msdn.microsoft.com/en-us/library/ff383731(v=azure.10).aspx http://msdn.microsoft.com/en-us/library/ff383731(v=azure.10).aspx

You could try something like Dache, a natively .NET distributed caching system. 您可以尝试像Dache这样的本地.NET分布式缓存系统。 The whole idea of persisting data beyond application lifecycle is to have the data held out-of-process which typically means running on a different server. 将数据保存到应用程序生命周期之外的整个想法是将数据保持在进程外 ,这通常意味着在不同的服务器上运行。 That way, when you reboot your app/server the data remains. 这样,当您重新启动应用程序/服务器时,数据仍然存在。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM