开发者

Entlib Loading the data inMemory

开发者 https://www.devze.com 2023-03-12 18:06 出处:网络
I am using caching library from EntLib 3.1, we are storing quite heavy data in the caching db around (300 meg), when I instantiate theCacheFactory.GetCacheManager(\"Cache Manager\"), it returns the He

I am using caching library from EntLib 3.1, we are storing quite heavy data in the caching db around (300 meg), when I instantiate the CacheFactory.GetCacheManager("Cache Manager"), it returns the Heavy Li开发者_JS百科st of cache object from database, which resulting in Application to be using very high memory, Is there a way to not load the entire data in the inmemory of the application using entlib, instead of loading the item ondemand from the cache database itself?

Thanks


The Entlib caching block stores a copy of the cached items in memory. The backing store is there for persistence across app restarts. There's no way to change this behavior.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号