在2台服务器中刷新缓存 [英] Refresh cache in 2 servers

查看:70
本文介绍了在2台服务器中刷新缓存的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在一个环境中安装了asp.net,该环境在Web层中有2个应用程序服务器,通过应用信息进行更改仅在该服务器上刷新,但在其他更改中没有看到。 />
WindowsServerAppFabric应用程序可以帮助我同步或刷新两个缓存吗?

I have a developed with asp.net installed in an environment that has 2 application servers in the web tier, to make a change by applying the information is refreshed only on that server but in the other changes are not seen.
The WindowsServerAppFabric application helps me to synchronize or refresh both caches?

推荐答案

不要使用  Windows Server AppFabric。 Microsoft已终止对此产品的支持。

https://blogs.msdn.microsoft.com/appfabric/2015/04/02/microsoft-appfabric-1 -1-for-windows-server-ends-support-422016 /

相反,您应该使用其他缓存技术,例如
Redis

Instead you should look to use another caching technology such as Redis.

Microsoft还提供了
Azure中的Redis缓存

Microsoft also offers a Redis cache in Azure.

我建议您使用
StackExchange.Redis
.NET客户端库,如果您决定使用Redis。

I recommend you use StackExchange.Redis client library for .NET if you decided to use Redis.


这篇关于在2台服务器中刷新缓存的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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