views:

82

answers:

4

I have a PHP application that will be accepting image uploads and I'm expecting ~20,000 in about 2 days. I have no concept of how much traffic my server can handle... How would I go about simulating this beforehand to make sure it works ok? I know Rails has systems that make testing easy, but what tools might I use to simulate uploads and concurrent script processing on that scale?

Thanks!

+3  A: 

Apache JMeter is one of the best tools for load testing. I'm sure it can handle your needs.

Asaph
+1  A: 

Another great option is to write a php script that uses cUrl to repeatedly interact with the php engine, you can run multiple instances to see how it reacts.

Ryan Rohrer
+1  A: 

Have a look at Siege, it's a simple regression testing and benchmark utility.

rioja
A: 

Some related posts, there are tons of tools out there to do this. The most popular open source load testing tools are OpenSTA and JMeter. But there are countless others.

http://stackoverflow.com/questions/340564/best-way-to-stress-test-a-website http://stackoverflow.com/questions/507683/open-source-tool-for-stress-testing-load-testing-and-performance-testing

Tom E