如何在.net应用程序中进行负载均衡 [英] How to do load balancing in .net Application

查看:127
本文介绍了如何在.net应用程序中进行负载均衡的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,



我想如何在.net中加载平衡,并在不同的服务器上运行应用程序,如果500个用户到达一台服务器,它会重定向到另一台服务器高达1000我怎么能指导我可以指导我我是这个领域的新手还是发送片段

Hi All,

I want how to load balancing in .net , and to run application in different servers if 500 users reach one server it redirects to another server upto 1000 how can i acheive can u guide me i am new to this area or send snippets

推荐答案

这个 [ ^ ]问题可能有所帮助。
The links on answers of this[^] question may help.


研究负载均衡的概念。这非常有趣,对您来说将是一次独特的体验。它不仅使用代码片段完成。你需要具备硬件功能..



从这些链接开始



http://www.iis.net/downloads/microsoft/web-farm-framework [ ^ ]



http:// www。 iis.net/learn/web-hosting/microsoft-web-farm-framework-20-for-iis-7 [ ^ ]
Study the concept of load balancing. It is very interesting and will be a unique experience for you. It is not only done with code snippets . You need to have the hardware capabilities as well..

Start with these links

http://www.iis.net/downloads/microsoft/web-farm-framework[^]

http://www.iis.net/learn/web-hosting/microsoft-web-farm-framework-20-for-iis-7[^]


HI,

这是wcf的一个概念,在wcf中我们使用负载均衡

WSHttpBinding和WSDualHttpBinding可以使用HTTP负载平衡技术进行负载平衡,前提是对默认值进行了一些修改绑定配置。

Tur n安全上下文建立:这可以通过将WSHttpBinding上的EstablishSecurityContext属性设置为false来完成。或者,如果需要安全会话,则可以使用安全会话主题中所述的有状态安全会话。有状态安全会话使服务保持无状态,因为安全会话的所有状态都作为保护安全令牌的一部分与每个请求一起传输。请注意,要启用有状态安全会话,必须使用CustomBinding或用户定义的绑定,因为必要的配置设置不会在系统提供的WSHttpBinding和WSDualHttpBinding上公开。

this is a concept with wcf,in wcf we use load balancing
Both the WSHttpBinding and the WSDualHttpBinding can be load balanced using HTTP load balancing techniques provided several modifications are made to the default binding configuration.
Turn off Security Context Establishment: this can be accomplished by the setting the EstablishSecurityContext property on the WSHttpBinding to false. Alternatively, if security sessions are required, it is possible to use stateful security sessions as described in the Secure Sessions topic. Stateful security sessions enable the service to remain stateless as all of the state for the security session is transmitted with each request as a part of the protection security token. Note that to enable a stateful security session, it is necessary to use a CustomBinding or user-defined Binding as the necessary configuration settings are not exposed on WSHttpBinding and WSDualHttpBinding that are provided by the system.


这篇关于如何在.net应用程序中进行负载均衡的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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