网络农场的网络负载平衡器是否受GC应变影响? [英] Is the network load balancer of a web farm affected by GC strain?

查看:114
本文介绍了网络农场的网络负载平衡器是否受GC应变影响?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Web场中的一台计算机的资源是否会受到垃圾收集模式=服务器模式运行的应用程序影响,从而网络负载平衡器会调整它? $ b $网络负载均衡器对GC不敏感,从某种意义上说它不知道它何时何地发生。它可能试图通过检查机器上的负载来做一些时髦的事情,但通常它会伤害性能,并且简单的循环法对于大多数场景来说都是更好的方法。

在企业层面,人们通常完全忽视GC,但在宏观层面上,这太复杂了。

Can the resources of one machine in a web farm be affected to such a point by an app running with Garbage Collection Mode = "server mode" such that the network load balancer will adjust for it?

解决方案

Network load balancer is not "sensitive" to GC, in a sense it doesn't know when or where it happens. It may attempt to do some funky stuff with checking the "load" on the machine, but usually it hurts performance and a simple round robin turns out to be better a approach for most of the scenarios.

At the enterprise level one usually totally disregards GC, it is too much complexity on the macro level.

这篇关于网络农场的网络负载平衡器是否受GC应变影响?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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