确定可用带宽 [英] Determining available bandwidth

查看:98
本文介绍了确定可用带宽的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

确定.NET中可用带宽的最佳方法是什么?

What is the best way to determine available bandwidth in .NET?

我们有用户可以从各种有线和无线远程访问点访问业务应用程序,有时带宽可能会因用户所在位置而非常低.当应用程序运行速度似乎很慢时,问题可能是由于带宽不足而不是其他一些问题引起的.

We have users that access business applications from various remote access points, wired and wireless and at times the bandwidth can be very low based on where the user is. When the applications appear to be running slow, the issue could be due to low bandwidth and not some other issue.

我希望能够运行某种服务,以在可用带宽降至特定阈值以下时向用户发出警告.

I would like to be able to run some kind of service that would warn users whenever the available bandwidth dips below a specific threshold.

有什么想法吗?

推荐答案

显然没有下载已知大小的文件并确定需要花费多长时间.这样做的缺点是您需要浪费很多带宽才能做到这一点.另外,如果要在吞吐量下降到阈值以下时发出警报,则必须或多或少连续地运行测试.

Not beyond the obvious of downloading a file of a known size and timing how long it takes. the disadvantage of that is that you'd need to waste a lot of bandwidth to do it. Also, if you wanted to alert when throughput drops below a threshold, you'll have to run the test more-or-less continuously.

恕我直言,在某些地方,我的表现会很差,因为一​​旦发生,您将无能为力.

IMHO, I'd live with poor performance in some locations, given that you can't do anything about it if it does occur.

对不起.

这篇关于确定可用带宽的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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