简体   繁体   中英

Performance Hits for Caching Data in Memory

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?

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.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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