简体   繁体   中英

In memory caching for large data sets at the ASP .net server

I am working on a 3-tier project management application (IIS server + Application server + DB server). We have a large JSON data (~1 MB) that we need to cache in memory so that we can minimize the db calls to fetch that. There may be ~10-50 users simultaneously logged in and the total cache size may vary between 10-50 MB.

I can not use a caching server as it will add dependency on another server and we will need to check whether its up or not so avoid any problem downstream. Its not a "highly scalable" application so i want to use something easy to implement and that can be performant for above parameters. Thanks for your help.

有几个解决方案,你可以使用NOSQL,如memcache或redis等你也可以使用.net内存缓存:“System.Runtime.Caching”:ObjectCache或者你使用MSSQL 2012你可以使用MSSQL内存表

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