ASP.Net 状态服务器容错
ASP.Net 中的状态服务器可以容错吗?我的意思是,当一台状态服务器出现故障时,ASP.Net 应用程序可以切换到另一台状态服务器。
我不想使用基于数据库的状态管理,因为这看起来比状态服务器慢得多。
Can a State server in ASP.Net be made fault tolerant? By that I mean is when one state server goes down, ASP.Net applications can switch to another state server.
I do not want to go to a Database based state management as that seems considerably slower than the State Server.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您需要在故障转移集群中配置两台不同的服务器,即如果一台服务器由于某些问题而停机,另一台服务器将启动。有关详细信息,请参阅:-
http://technet.microsoft。 com/en-us/library/cc731844%28WS.10%29.aspx
当您在故障转移模式下配置服务器时,系统会向您提供一个虚拟 IP,您可以将其用作状态服务器的 IP。
还可以查看点对点状态服务器:-
http://www.codeproject .com/KB/aspnet/p2pstateserver.aspx
You need to configure two different servers in fail over cluster i.e. if one server goes down due to some issue, other server will get up. For details see:-
http://technet.microsoft.com/en-us/library/cc731844%28WS.10%29.aspx
When you configure your servers in fail over mode then a virtual IP is given to you which you will use as your state server's IP.
Also have a look at peer to peer state server as well:-
http://www.codeproject.com/KB/aspnet/p2pstateserver.aspx