如何估算My .Net应用程序(WPF)的带宽

时间:2021-04-02 20:14:16

I have developed a WPF application (C#), which is used to manage a large number of subscribers. The company that owns this application has a lot of branches throughout the country and they want to deploy this application for each branch via LAN. They want to know the required bandwidth for this application.

我开发了一个WPF应用程序(C#),用于管理大量订阅者。拥有此应用程序的公司在全国各地都有很多分支机构,他们希望通过LAN为每个分支部署此应用程序。他们想知道此应用程序所需的带宽。

How can I measure the bandwidth my application uses per user to calculate the required bandwidth for the LAN, where the application will work.

如何衡量应用程序每个用户使用的带宽,以计算应用程序可用的LAN所需的带宽。

I'm using SQL Server 2012 at the backend. The subscribers' account information is maintained in the db.

我在后端使用SQL Server 2012。订户的帐户信息在db中维护。

2 个解决方案

#1


1  

Some monitoring application like NetBalancer (https://netbalancer.com/) can provide you the bandwidth being consumed by your application. I would recommend estimate it for all major feature of your application and have projected number of usage frequency of these features. From both this variable you can provide an estimated bandwidth requirement. Also keep monitoring the app once it is hosted on LAN to get a more realistic number and also keep in mind the usage pattern for each department might be different so each instance of your application might have different set of bandwidth requirement.

某些监控应用程序(如NetBalancer(https://netbalancer.com/))可以为您提供应用程序使用的带宽。我建议对应用程序的所有主要功能进行估算,并预测这些功能的使用频率。从这个变量中,您可以提供估计的带宽要求。在LAN上托管应用程序时,还要继续监控应用程序以获得更实际的数字,同时请记住每个部门的使用模式可能不同,因此应用程序的每个实例可能具有不同的带宽要求集。

#2


0  

sys.dm_exec_connections could be used to measure bandwidth per connection.

sys.dm_exec_connections可用于测量每个连接的带宽。

You can just fire few basic queries which are mostly fired from you WPF client to sql in a single connection and measure a approximate bandwidth required.

您可以在单个连接中触发几个基本查询,这些查询主要是从WPF客户端发送到sql并测量所需的近似带宽。

#1


1  

Some monitoring application like NetBalancer (https://netbalancer.com/) can provide you the bandwidth being consumed by your application. I would recommend estimate it for all major feature of your application and have projected number of usage frequency of these features. From both this variable you can provide an estimated bandwidth requirement. Also keep monitoring the app once it is hosted on LAN to get a more realistic number and also keep in mind the usage pattern for each department might be different so each instance of your application might have different set of bandwidth requirement.

某些监控应用程序(如NetBalancer(https://netbalancer.com/))可以为您提供应用程序使用的带宽。我建议对应用程序的所有主要功能进行估算,并预测这些功能的使用频率。从这个变量中,您可以提供估计的带宽要求。在LAN上托管应用程序时,还要继续监控应用程序以获得更实际的数字,同时请记住每个部门的使用模式可能不同,因此应用程序的每个实例可能具有不同的带宽要求集。

#2


0  

sys.dm_exec_connections could be used to measure bandwidth per connection.

sys.dm_exec_connections可用于测量每个连接的带宽。

You can just fire few basic queries which are mostly fired from you WPF client to sql in a single connection and measure a approximate bandwidth required.

您可以在单个连接中触发几个基本查询,这些查询主要是从WPF客户端发送到sql并测量所需的近似带宽。