1

我有一个 asp .net 4.0 应用程序。我的 app_data 文件夹中有一个 mdf 文件,用于存储一些数据。有一个包含 15 个字段的“用户”表和一个包含大约 30 个字段的“答案”表。在我网站的大多数场景中,用户从“User”表中检索一些数据并将一些数据写入“Answers”表。

我想在大约 10000 个用户使用系统时测试我的应用程序的性能。如果 10000 个用户同时登录和使用系统会发生什么情况,性能会受到怎样的影响?一般来说,测试我的 asp .net 页面的系统性能的最佳实践是什么?

任何帮助将不胜感激。先谢谢了。

4

1 回答 1

0

It reads like performance testing/engineering is not your core discipline. I would recommend hiring someone to either run this effort or assist you with it. Performance testing is a specialized development practice with specific requirement sets, tool expertise and analytical methods. It takes quite a while to become effective in the discipline even in the best case conditions.

In short, you begin with your load profile. You progress to definitions of the business process in your load profile. You then select a tool that can exercise the interfaces appropriately. You will need to set a defined initial condition for your testing efforts. You will need to set specific, objective measures to determine system performance related to your requirements. Here's a document which can provide some insight as a benchmark on the level of effort often required, http://www.tpc.org/tpcc/spec/tpcc_current.pdf

Something which disturbs me greatly is your use case of "at the same time," which is a practical impossibility for systems where the user agent is not synchronized to a clock tick. Users can be close, concurrent within a defined window, but true simultaneity is exceedingly rare.

于 2011-09-26T19:02:21.080 回答