English 中文(简体)
亚马孙服务器EC2与httperf测试
原标题:Load Testing for Amazon server EC2 with httperf

我正在利用亚马孙第二中心为我的网络服务。 我想知道能够同时使用我的网络服务的用户人数最多。

为此,我使用客户系统的httperf进行了负荷测试。

When the Reply Rate is nearly equal to Request Rate then we can tell that the server is doing well. But for request rate 5 I was getting the reply rate as 1 when testing was done for 20 samples. The value of time-out was 5. Also, many requests were timed out; 300 out of 500 were timed out.

  1. Is this because I am conducting the test on the client? How do I install httperf on the server?
  2. Am I doing something wrong? The following is the command that I used on the load testing tool with httperf: httperf --server=web-service-url --rate=5 --num-conns=500 --timeout=5
  3. Is httperf a good tool for load testing?
  4. Does Amazon provide any other mechanisms for load testing?
  5. The above load testing was done for a web service of type GET. Do we need to conduct separate load testing for POST request and if so, how do we do this?
问题回答
  1. sudo apt-get install httperf. Also, you can build from source.
  2. It actually depends on what youre trying to test. Use more options, --uri, --retry-on-failure etc. A full list of options here.
  3. Yes, it is. You can even replay from log files.
  4. No.
  5. use --method=POST ( use method arg with GET / POST / PUT)




相关问题
Mount windows shared drive to MWAA in bootscript

In MWAA startup script sudo yum install samba-client cifs-utils -y sudo mount.cifs //dev/test/drop /mnt/dev/test-o username=testuser,password= pwd ,domain=XX Executing above commonds giving error - ...

How to get Amazon Seller Central orders programmatically?

We have been manually been keying Amazon orders into our system and would like to automate it. However, I can t seem to figure out how to go about it. Their documentation is barely there. There is: ...

Using a CDN like Amazon S3 to control access to media

I want to use Amazon S3/CloudFront to store flash files. These files must be private as they will be accessed by members. This will be done by storing each file with a link to Amazon using a mysql ...

unable to connect to database on AWS

actually I have my website build with Joomla hosted on hostmonster but all Joomla website need a database support to run this database is on AWS configuration files need to be updated for that I ...

Using EC2 Load Balancing with Existing Wordpress Blog

I currently have a virtual dedicated server through Media Temple that I use to run several high traffic Wordpress blogs. Both tend to receive sudden StumbleUpon traffic surges that (I m assuming) ...

SSL slowness in EC2

We ve deployed our rails app to EC2. In our setup, we have two proxies on small instances behind round-robin DNS. These run nginx load balancers for a dynamically growing and shrinking farm of web ...

热门标签