如何在.net应用程序中进行负载均衡

编程入门 行业动态 更新时间:2024-10-06 08:24:25
本文介绍了如何在应用程序中进行负载均衡的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

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

Hi All, I want how to load balancing in , 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.

研究负载均衡的概念。这非常有趣,对您来说将是一次独特的体验。它不仅使用代码片段完成。你需要具备硬件功能.. 从这些链接开始 www.iis/downloads/microsoft/web-farm-framework [ ^ ] http:// www。 iis/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 www.iis/downloads/microsoft/web-farm-framework[^] www.iis/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应用程序中进行负载均衡

本文发布于:2023-11-23 06:56:10,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1620519.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:应用程序   负载均衡   如何在   net

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!