网络农场和网络花园有什么区别?

发布于 2024-08-08 02:27:17 字数 1828 浏览 6 评论 0原文

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(6

晨曦慕雪 2024-08-15 02:27:17

Web Garden 是由多个“进程”组成的网络托管系统。
Web Farm 是由多台“计算机”组成的网络托管系统。

摘自此处

Web Garden is the web hosting system which comprises of multiple “processes”.
Web Farm is the web hosting system which comprises of multiple “computers”.

Taken from here

亣腦蒛氧 2024-08-15 02:27:17

网络农场是两个或两个以上的一组
用于托管同一站点的服务器。
网络农场提高了容量
网站,并通过以下方式提高可用性
提供故障转移。网络农场是
普遍用于高流量和
关键任务网站。

当应用程序托管于
同一服务器上的多个进程
据说这是一个网络花园
环境。

A web farm is a group of two or more
servers used to host the same site.
Web farms increase the capacity of a
web site, and improve availability by
providing fail-over. Web farms are
universally used for high-traffic and
mission critical web sites.

When an application is hosted by
multiple processes on the same server
it is said to be a web garden
environment.

我还不会笑 2024-08-15 02:27:17

网络场可跨多个服务器进行扩展。 网络花园可以跨多个处理器进行扩展。

A web farm scales across multiple servers. A web garden scales across multiple processors.

天荒地未老 2024-08-15 02:27:17

网络花园是一种网络应用程序架构,提供逻辑可扩展性
(即单个计算机实例的可扩展性)。 逻辑可扩展性(或所谓的网络花园)是通过为单个应用程序池启用多个工作进程来实现的IIS。

  • 网络花园 = 逻辑可扩展性
    使用具有多个工作进程的单个 IIS 应用程序池;

输入图像描述这里

  • 注意:默认情况下为单个 IIS 应用程序池启用一个工作进程

Web Farm 是一种网络应用程序架构,提供物理可扩展性
(即具有多个计算机实例的可扩展性)。 物理可扩展性(或所谓的网络场)是通过使用负载均衡器虚拟IP(共享IP暴露在网络上)。负载均衡器在多个计算机实例之间分配工作负载。

输入图像描述这里


两种类型的架构都应该有 OutProc 会话(StateServer:用于存储会话的专用进程或 SQLServer:共享 SQL Server 会话),因为 InProc(本地内存)无法在多个进程(网络花园)或多台计算机之间共享实例(网络场)。

Web Garden is a type of web-application architecture that provides logical scalability
(i.e. scalability for single computer instance). Logical scalability (or so-called web garden) is achieved by enabling multiple worker processes for single application pool in IIS.

  • Web Garden = Logical Scalability
    using single IIS application pool with multiple worker processes;

enter image description here

  • Note: by default one worker process is enabled for single IIS application pool;

Web Farm is a type of web-application architecture that provides physical scalability
(i.e. scalability with multiple computer instances). Physical scalability (or so-called web farm) is achieved by using load balancer with virtual IP (shared IP that is exposed to the web). Load balancer distributes workloads across multiple computer instances.

enter image description here


Both types of architecture should have OutProc sessions (StateServer: dedicated process for storing session or SQLServer: shared SQL server sessions) because InProc (local memory) cannot be shared between multiple processes (web garden) or multiple computer instances (web farm).

我最亲爱的 2024-08-15 02:27:17

来自此页面

A web farm is a multi-server scenario. So we may have a server in each state of US
If the load on one server is in excess then the other servers step in to bear the
brunt. How they bear it is based on various models.
1. RoundRobin. (All servers share load equally)
2. NLB (economical)
3. HLB (expensive but can scale up to 8192 servers)
4. Hybrid (of 2 and 3).
5. CLB (Component load balancer).

A web garden is a multi-processor setup. i.e., a single server (not like the 
                       multi server above).

from this page:

A web farm is a multi-server scenario. So we may have a server in each state of US
If the load on one server is in excess then the other servers step in to bear the
brunt. How they bear it is based on various models.
1. RoundRobin. (All servers share load equally)
2. NLB (economical)
3. HLB (expensive but can scale up to 8192 servers)
4. Hybrid (of 2 and 3).
5. CLB (Component load balancer).

A web garden is a multi-processor setup. i.e., a single server (not like the 
                       multi server above).
予囚 2024-08-15 02:27:17

除了其他人提到的之外,我想提一下 Web farm 和 web Garden 的优点:-

Web Farm 的优点

  • 它提供了高可用性。如果场中的任何服务器出现故障,负载均衡器可以将请求重定向到其他服务器。
  • 为客户端请求提供高性能响应。
  • 为Web应用程序提供更好的可扩展性并减少应用程序的故障。
  • 会话和其他资源可以存储在集中位置以供所有服务器访问。

Web Garden 的优点

  • 通过在多个工作进程之间共享请求来提供更好的应用程序可用性。
  • 网络花园使用处理器亲和力,可以根据偏好和标签设置更换应用程序。
  • 减少网络花园配置物理空间的消耗。

欲了解更多信息。请参阅以下链接:- https://www.codeproject.com/articles/114910/what-is-the-difference- Between-web-farm-and-web-ga

Apart from what others have mentioned, I would like to refer the advantages of Web farm and web garden :-

Advantages of Web Farm

  • It provides high availability. If any of the servers in the farm goes down, Load balancer can redirect the requests to other servers.
  • Provides high performance response for client requests.
  • Provides better scalability of the web application and reduces the failure of the application.
  • Session and other resources can be stored in a centralized location to access by all the servers.

Advantages of Web Garden

  • Provides better application availability by sharing requests between multiple worker process.
  • Web garden uses processor affinity where application can be swapped out based on preference and tag setting.
  • Less consumption of physical space for web garden configuration.

For more info. refer to following link :- https://www.codeproject.com/articles/114910/what-is-the-difference-between-web-farm-and-web-ga

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文