连接到 Selenium Hub 的 Selenium RC 数量有限制吗?
有人有使用连接到单个 Selenium Hub 的 20/50/100 RC 的经验吗?我正在考虑一个多个团队可以一起使用的集中中心。
我听说 20 次 RC 后,性能明显下降。
Does anybody have experience using 20/50/100 RCs connected to a single Selenium Hub? I'm thinking of a centralized hub that multiple team could use together.
I heard that after 20 RCs, performance goes down significantly.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(4)
我的测试使用 104 个 RC,它们连接到单个集线器。 Hub能够处理所有RC并且系统稳定。您应该注意的一件事是,如何将命令传递到 Hub。这决定了 Hub 将使用多少 RC。我们在网格中所做的是,同时运行多个构建 - 所有构建都指向同一个集线器。这意味着 Hub 始终保持忙碌。
My tests use 104 RCs which are connected to a single Hub. Hub is able to handle all the RCs and the system is stable. One thing that you should note is, how you pass the commands to the Hub.This determines how much RCs Hub is going to utilize. What we do in our grid is, we run multiple builds at the same time - all pointing to the same Hub. This would mean Hub is always kept busy.
我不确定“20”值从何而来。我运行的功率远远超过了 Mogotest 的功率,而且我们在各个站点上运行的测试会话比大多数网格用户要多得多。当然,旧版本有一些线程问题,但 1.0.8 应该相当稳定,并且 2.0 版本没有出现任何问题。
FWIW,我维护网格项目,并针对任何已知的负载问题向后移植任何已知的修复程序。我还知道其他几个人正在运行大规模电网安装,没有发生任何事故。
I'm not sure where the "20" value is coming from. I run with significantly more than that to power Mogotest and we run many more test sessions across various sites than most users of grid. Granted older versions had some thread problems, but 1.0.8 should be pretty solid and the 2.0 releases have not exhibited any problems.
FWIW, I maintain the grid project and backport any known fix for any known load issues. I also know of several others running large-scale grid installations without incident.
这归结为你的硬件有多强大。虽然我不能说出确切的统计数据,但建议将其保持在 20 以内
It boils down to how robust your h/w is. Though I can't say exact statistics yet suggest to keep it with in 20
嗯,没有,但是是的,非常接近 20 才能获得良好的性能。
Well there is not but yes very much close to 20 for good performance.