Changes

Jump to: navigation, search

Webtools:Scalability

1,124 bytes added, 06:25, 17 April 2007
Load Testing
==Load Testing==
ToDoThat++Once a site is written, it's a good idea to load test it to get an idea of how many hits per second it can handle. Something to remember with all the programs is the infrastructure you're testing on. If you're testing from one machine to one server, that will give you an idea what your code can do, but it's definitely not the same as a cluster of machines. Same with server->database connections. ===[http://httpd.apache.org/docs/2.0/programs/ab.html ab]===A pretty basic/simple benchmarking program. It works, but it's important to realize that it isn't distributed, so you might be maxing out the source machine and not the server.  ===[http://grinder.sourceforge.net/ Grinder]===This is a good idea (distributed benchmarking), but we didn't get it to work as advertised. Overall disappointing - maybe revisit when it matures. ===log_replay===This is a perl script that oremj wrote. Given a log, it will replay the hits. This gives you the advantage of replaying an actual set of hits across multiple pages, giving you a good distribution of hits. This is mostly useful if you have actually had people using the site.
Confirm, emeritus
1,737
edits

Navigation menu