我正在为ASP.NET MVC应用程序寻找分布式数据/对象缓存 [英] I am looking for a distributed data/object cache for my ASP.NET MVC app

查看:39
本文介绍了我正在为ASP.NET MVC应用程序寻找分布式数据/对象缓存的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在为我的ASP.NET MVC应用程序寻找分布式数据(对象)缓存解决方案.类似于Scale Out或NCache,但最好是免费的.

我相信 System.Runtime.Caching.MemoryCache 是缓存的单个服务器实现.

我相信Azure具有ASP.NET应用程序可以使用的分布式缓存,但是我不确定两件事:

1)我真的不知道Azure是什么,除了不清楚它是Microsoft提供的某些服务的市场名称,例如(1)能够在其硬件基础结构上部署应用程序(流行的是(2)统称为软件基础设施(例如Visual Studio和Eclipse插件),可从您的应用内部使用的类库等产品的总称,以帮助您完成(1)./p>

2)我不确定希望在自己的硬件上部署的ASP.NET应用程序是否可以使用其Azure提供的缓存,因为我读到一个模糊的断言,其内容类似于"Azure为ASP提供分布式缓存.使用Azure的NET应用程序",这已成为来自Microsoft的所有通信的相当普遍的事实上的标准.

帮助.

解决方案

您可以使用 memcached .这是一个非常流行的分布式缓存系统,您可以将其部署在自己的基础架构上,并使用诸如 enyim .

I am looking for a distributed data (object) caching solution for my ASP.NET MVC app. Something alike Scale Out or NCache but preferably free.

I believe the System.Runtime.Caching.MemoryCache is a single server implementation of a cache.

I believe Azure has a distributed cache that ASP.NET apps can use but I am not sure of two things:

1) I don't really know what Azure is except for having a vague understanding that it is a marketing name for some services Microsoft provides such as (1) the ability to deploy your app on their hardware infrastructure (what is popularly known as the cloud) and (2) a collective name for an offering of software infrastructure such as Visual Studio and Eclipse plug-ins, class libraries that can be used from inside your app, etc. to help you do (1).

2) I am not sure if an ASP.NET application that I wish to deploy on my own hardware can use their Azure provided cache, as I read a vague assertion that went something like "Azure provides a distributed cache for ASP.NET apps that use Azure," which is becoming the fairly common, de facto standard for all communications from Microsoft.

Help.

解决方案

You could use memcached. It's a very popular distributed cache system that you could deploy on your own infrastructure and use a managed client such as enyim.

这篇关于我正在为ASP.NET MVC应用程序寻找分布式数据/对象缓存的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆