Performance Hits for Caching Data in Memory

折月煮酒 提交于 2019-12-25 05:31:58

问题


Using the runtime in-memory cache in ASP.NET, what are the potential pitfalls of storing data? How much data is "too much" generally, and on what scale?


回答1:


After getting around to testing some code which intensely uses the cache, there is no appreciable impact on performance that I can measure. It seems that when the cache approached memory limits, it simply kicks the oldest content off early, and so the performance impact is negligible.



来源:https://stackoverflow.com/questions/29640752/performance-hits-for-caching-data-in-memory

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