为WCF服务的分布式缓存解决方案分布式、缓存、解决方案、WCF

2023-09-07 09:13:09 作者:陌上◇烟雨遥

我们有一个Web应用程序和放大器的典型ASP.NET应用程序;手机客户端应用程序进行对话的一个WCF服务,它使用一个SQL Server数据库。目前,我们有一次在IIS中承载WCF服务的实例,但可以决定部署到未来webfarm。

We have typical ASP.NET application with a web app & a phone client app which talks to a WCF Service which uses a SQL Server database. Currently we have only once instance of WCF service hosted in IIS but may decide to deploy to a webfarm in future.

我们想缓存关系数据缓存在WCF服务端,这种方式既Web App和手机应用程序能够从中受益。 WCF服务纯粹是无状态的,我们需要保持这种方式。

We would like to cache relational data in a cache in WCF service side, that way both web app and phone app can benefit from it. WCF service is purely stateless and we need to keep it that way.

通过这些约束,有哪些可用的技术/方案/第三方,我们可以用它来实现对WCF服务的高速缓存组件。哪些工作最好在webfarm方案?

With those constraints, what are available technologies/solutions/thirdparty components that we can use to implement the caching on WCF service. Which ones work best in a webfarm scenario?

推荐答案

这里有几个第三方选项: NCACHE Memcached的 Redis的 AppFabric的

There are a few third party options here: NCache Memcached Redis AppFabric

这仅仅是少数,但也有其他人在那里。

This is just a few but there are others out there.

 
精彩推荐
图片推荐