如何设置Microsoft Sync Framework的性能测试?

发布于 2024-08-27 04:33:13 字数 497 浏览 4 评论 0原文

我们使用 Microsoft Sync Framework 开发了一个客户端服务器应用程序,以在 WinForm 客户端应用程序(带有 SQL CE 本地缓存数据库)和 SQL SErver 2008 数据库服务器之间同步数据。该应用程序现已基本完成,所有功能似乎都可以正常运行。所以现在我们想使用Visual Studio 2008 Test版来创建性能测试(在服务器上,比如模拟10个用户同时与服务器数据库同步20分钟),带宽负载测试(会产生多少网络流量),以及很快。基本上我们想要模拟现实生活中的情况并查看我们的系统(使用同步框架)并处理它。

然而,由于同步的性质,我们不能只使用 VS Test 版本来创建负载测试并不断地攻击服务器,因为为了真正正确地模拟每个客户端,每个客户端都必须拥有自己的 SQLCE 本地缓存数据库。这是否意味着我需要在 10 个不同的文件夹中设置 10 个客户端,然后使用 VS Test 版本来启动它们?或者有没有更好的方法来设置测试?

有人有为 Sync Framework 设置负载和性能测试的经验吗?谢谢!

We developed a Client Server application using Microsoft Sync Framework to synchronize data between a WinForm client application (with a SQL CE Local Cache database) and a SQL SErver 2008 database server. The application is now pretty much completed, and all features seem working properly. So now we want to use Visual Studio 2008 Test edition to create performance test (on the server, like simulating 10 user simultaneous syncing with the server database for 20 minutes), load test on bandwidth (how much network traffic will be generated), and so on. Basically we want to simulate the real life situation and see of the our system (with Sync Framework) and handle it.

However, because of the nature of sync, we can't just use VS Test edition to create load test and keep banging the server, because in order to actually simulate each client properly, each client has to have it's own SQLCE Local Cache database. Does it mean that I need to set up 10 client in 10 different folder, and then use VS Test edition to kick them off? Or is there any better way to set up the test?

And does anyone have any experience on setting up load and performance testing for Sync Framework? Thanks!

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

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

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文