测试最大用户负载的Windows Azure的Web应用程序 [英] Testing a Windows Azure web app for maximum user load

查看:167
本文介绍了测试最大用户负载的Windows Azure的Web应用程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我进行有关新兴网络技术的一些研究,并创建了一个非常简单的Azure网站,利用网络套接字和蒙戈DB作为数据库的。我设法让所有一起工作的组成部分,现在必须执行应用程序负载测试。

I am conducting some research on emerging web technologies and have created a very simple Azure website which makes use of web sockets and mongo db as the database. I have managed to get all the components working together and now must perform load testing on the application.

的主要标准是,应用程序可以支持,目前有1 Web角色的实例,所以可能我需要测试的最大用户负载为实例,然后尝试用两个实例等的最大用户负载。

The main criteria is the maximum user load that the app can support, at the moment there is 1 web role instance, so probably I would need to test the max user load for that instance, then try with 2 instances and so on.

我找到了一些解决方案,在线等Loadstorm,不过,我可以付不起使用这些服务,所以我需要能够从我自己的开发机或其他云服务做到这一点。

I found some solutions online such as Loadstorm, however I cannot afford to pay to use these services so I need to be able to do this from my own development machine OR from another cloud service.

我所遇到的Visual Studio负载测试,他们似乎很有用,但是似乎他们需要VS Ultimate和积极的MSDN订阅 - 在prerequisites列<一个href=\"https://web.archive.org/web/20120818100009/http://msdn.microsoft.com/en-us/library/windowsazure/hh674494.aspx\">here.另外,从<一href=\"http://channel9.msdn.com/Series/Visual-Studio-2012-$p$pmium-and-Ultimate-Overview/Visual-Studio-Ultimate-2012-Load-testing-applications-in-Visual-Studio\">this影片其中显示负载测试的基础知识,好像这些负载测试是从实际的Web项目创建完全分开,这是否意味着我只能看到与用户的指标?即我看不到正在使用的内存量,处理器等。

I have come across Visual Studio Load Tests and they seem quite useful, however it seems they require VS Ultimate and an active msdn subscription - the prerequisites are listed here. Also, from this video which shows the basics of load tests, it seems like these load tests are created completely separately from the actual web project, so does that mean I can only see metrics related to the user? i.e. I cannot see the amount of RAM being used, processor etc.

有什么建议?

推荐答案

您可以在Azure中本身或其他托管服务提供商创建一个Linux虚拟机,并​​使用的 ApacheBench (AB)或 JMeter的做你的应用程序简单的负载测试。要知道,在这样一个设置你的基准服务器可能是一个瓶颈自己。

You might create a Linux virtual machine in Azure itself or another hosting provider and use ApacheBench (ab) or JMeter to do simple load testing on your application. Be aware that in such a setup your benchmark servers may be a bottleneck themselves.

另一种方法是使用在线负载测试服务至极让部分免费使用,如:

Another approach is to use online load testing services wich allow some free usage, such as:

  • loader.io, by SendGrid Labs
  • LoadStorm
  • Blazemeter
  • Blitz
  • Neotys
  • Loadimpact

这篇关于测试最大用户负载的Windows Azure的Web应用程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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