怀疑负载平衡 [英] Doubt about load balancing

查看:87
本文介绍了怀疑负载平衡的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



我正在创建一个小型Web应用程序.我想在其中实现负载平衡.这意味着我必须在一个服务器上第一次运行我的应用程序,然后将其最小化,然后点击运行按钮再次运行相同的应用程序应该在另一台服务器上运行.是否只能通过负载平衡实现?我已经在google上搜索过,并且在web.configfile中进行了更改.但是,仍然无法达到我的期望.服务器不在IIS中.我是否需要任何物理服务器来执行此操作?我要求您澄清我的疑问.

谢谢!

Hi,

I am creating a small web application.I would like to implement load balancing in it.Which means i have to run my application first time with one server and after i minimize it and i run the same appication again by hitting the run button ,it should be run in another server.Is this possible through load balancing only?I have googled and i made changes in web.configfile.But,still i can''t get what i expected.I am running my project in asp.net development sever not in IIS.Do i need any physical server doing this?I request you to clarify my doubts.

Thanks

推荐答案

它是负载平衡器,它决定向哪个服务器提供响应.这就是它要做的.它将根据计算机上的负载自动路由请求.

如果您的应用程序很小,那么为什么需要在它上进行负载平衡?

出于开发目的,无论是从Web Developement Server还是从IIS运行应用程序,都没有关系.托管时,请确保您托管在IIS中.
It''s the load balancer which decides which server to give the response to. that is what it is meant to do . It will automatically route the request based on the load on the machines.

If your application is small then why would you need load balancing on it ?

For development purpose It doesn''t matter whether you are running your Application from Web Developement Server or from IIS. While hosting make sure you are hosting in IIS.


这篇关于怀疑负载平衡的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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