Web服务-“当前连接”性能计数器

发布于 2024-08-06 19:53:28 字数 237 浏览 2 评论 0原文

最近我开始使用 VSTS,并制作了一些测试脚本来针对网站运行。 这些脚本基本上由同步 WebService 请求组成。

我与 2000 个用户一起运行此脚本并检查了当前连接性能计数器,但它从未高于 17。 运行的测试数量始终接近 150,并且由于测试仅包含一个 WebService 请求,我认为当前连接数将与此数字类似。

有人可以解释一下当前连接计数器的真正含义吗,因为它似乎不是一次处理的请求数?

提前致谢!

Recently I start to work with VSTS and I made some test scripts to run against an website.
The scripts consists basically of a synchronous WebService request.

I ran this script with 2000 users and checked the Current Connections Performance Counter but it was never higher than 17.
The amount of Tests Running is always near 150 and since the test only contains one WebService request I thought the Current Connections would be similar to this number.

Can someone explain me what the Current Connections counter really means since it doesn't seems be the number of requests been processed at a time?

Thanks in advance!

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

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

发布评论

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

评论(1

横笛休吹塞上声 2024-08-13 19:53:28

从负载测试中运行设置的属性中查看 WebTest 连接模型和 WebTest 连接池大小。这些设置与服务器的连接重用有很大关系。

当前连接记录打开的连接数,无论当前是否活动。
本文 更深入地描述计数器。

“这些计数器可能会夸大同时连接的数量,因为在任何给定时刻,某些条目可能尚未被删除,即使它们所基于的连接已关闭。”

Have a look at the WebTest Connection Model and WebTest Connection Pool Size from the properties of your Run Settings in the load test. These settings have a lot to do with connection re-use to the server.

Current connections records the number of connections open, whether currently active or not.
This article describes the counter in more depth.

" These counters can exaggerate the number of simultaneous connections because, at any given moment, some entries may not have been deleted even though the connections on which they are based have been closed. "

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