I think we should get a decent stress testing setup going, so that we don't have to try out all improvements on the live site.
I assume we are all running Unix/apache/php/mysql. Siege at http://joedog.org/siege/ looks like a good choice of a free stress testing utility. It can simulate n users hammering your site simultaneously, even if you aren't connected to any network, and reports response times and other stats.
We need a realistically sized database dump to start playing though.
We could then come up with a nice little Siege script that loads RecentChanges, searches and downloads a couple of articles, edits a couple others (maybe modeled on real stats from Jimbo), share the script and use it as benchmark to try out patches to the PHP script and database scheme.
Axel
Oh, this sounds sweet. :-)
I think that even the simple 'ab' which comes with apache has always helped me in the past. It's not as sophisticated as a more realistic simulator like siege, but hitting various scripts on test sites or live sites is a pretty decent way to get preliminary information -- and that often turns out to be enough.
Axel Boldt wrote:
I think we should get a decent stress testing setup going, so that we don't have to try out all improvements on the live site.
I assume we are all running Unix/apache/php/mysql. Siege at http://joedog.org/siege/ looks like a good choice of a free stress testing utility. It can simulate n users hammering your site simultaneously, even if you aren't connected to any network, and reports response times and other stats.
We need a realistically sized database dump to start playing though.
We could then come up with a nice little Siege script that loads RecentChanges, searches and downloads a couple of articles, edits a couple others (maybe modeled on real stats from Jimbo), share the script and use it as benchmark to try out patches to the PHP script and database scheme.
Axel _______________________________________________ Wikitech-l mailing list Wikitech-l@ross.bomis.com http://ross.bomis.com/mailman/listinfo/wikitech-l
wikitech-l@lists.wikimedia.org