ASP.NET数据缓存?内存缓存相当于

编程入门 行业动态 更新时间:2024-10-20 00:32:08
本文介绍了ASP.NET数据缓存?内存缓存相当于的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

有在Linux上使用PHP了很多,我已经习惯了使用内存缓存,这样可是没有数据库上的每一个请求进行访问。什么人在Windows上使用了实现这一目标?从我所看到的,他们没有使用任何类型的高速缓存的asp mvc的应用程序,他们只是打在每次请求的数据库?这是常见的,如果是这样,为什么会接受吗?

Having used PHP on Linux a lot, I'm used to using memcache so that the database doesnt have to be accessed on every single request. What do people use on Windows the achieve this? From the asp mvc applications which I've seen, none of them use any sort of cache, they just hit the database on every request? Is this common, and if so, why is it acceptable?

推荐答案

您可以使用的 memcached的也。也有其他替代的。你也可以检查斯科特谷的帖子有关在ASP.NET 4.0,引入了新的缓存扩展模型

You can use memcached also. There are also other alternatives. You may also check Scott Gu's post about the new cache extensibility model introduced in ASP.NET 4.0.

更多推荐

ASP.NET数据缓存?内存缓存相当于

本文发布于:2023-11-03 15:30:07,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1555455.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:缓存   内存   数据   ASP   NET

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!