英语翻译Although the .NET Framework 2.0 and 3.0 introduced several enhancements to the default cache provider,the provider itself remained the same:an in-memory store,with no extension points or way to provide your own implementation.The in-memor
来源:学生作业帮助网 编辑:作业帮 时间:2024/11/26 04:19:30
英语翻译Although the .NET Framework 2.0 and 3.0 introduced several enhancements to the default cache provider,the provider itself remained the same:an in-memory store,with no extension points or way to provide your own implementation.The in-memor
英语翻译
Although the .NET Framework 2.0 and 3.0 introduced several enhancements to the default cache provider,the provider itself remained the same:an in-memory store,with no extension points or way to provide your own implementation.The in-memory cache is a perfectly acceptable option in most cases,but can,at times,contribute to diminished site performance as server resources are maxed out and memory becomes scarce.What’s more,the default caching provider mechanism automatically evicts cached resources—regardless of specified duration—when memory does become scarce,which leaves the developer with little control over how cached resources are managed.
英语翻译Although the .NET Framework 2.0 and 3.0 introduced several enhancements to the default cache provider,the provider itself remained the same:an in-memory store,with no extension points or way to provide your own implementation.The in-memor
虽然 .NET Framework 2.0 和 3.0已经对默认缓存提供程序(或cache对象)进行了几次优化,但是问题依旧:它只是一份儿内存里没有执行点、没有为你自己的实现提供一种应用方式 的数据.许多时候内存缓存是非常完美的方案,但是,有些时候会降低网站性能造成服务器资源紧缺和内存占用过高.更重要的是,默认缓存机制在内存占用过高时缓存周期会失效并且自动清除已经缓存的资源,使开发人员难于控制和管理缓存资源.
我没有逐字翻译,感觉那样翻译出来许多人看不懂,仅仅是一个大概意思吧,如果你是搞.NET的,如果你明白.NET的缓存机制,可能就非常容易理解这段话.尤其是后面那两句话,那就是.NET缓存机制的缺点!