Jonas has asked for the wisdom of the Perl Monks concerning the following question:

Hey folks,

I'm in the process of doing benchmark testing on a new datawarehouse(SAS) server at work. Since we don't have a regular DBI module to the data, we use a remote shell call to grab the information needed when a user hits certain pages on our site.

We will have about a hundred users regularly hitting these pages, and we are wanting to test how the web server, datawarehouse server, and the network behave under heavy traffic.

We want to create the effect of executing a hundred remote shells concurrently and measure the results. I'm already familiar with the Benchmark module for gathering the results, and we have already tested the servers for multiple iterations, each call right after the other. Now we need to test it with a shotgun effect to see how they hold up to the load.

Any help would be greatly appreciated. You can either post here or email me here. You know what to do with the email address.

Thanks, t

Replies are listed 'Best First'.
Re: Shotgun telnet
by Fastolfe (Vicar) on Nov 16, 2000 at 20:18 UTC
    One or more scripts using the various LWP modules (like LWP::Simple and LWP::Parallel) at full throttle should do what you're wanting. Depending on how complex you want to get, you could have it following random links and taking the time to load the various images it comes across on the page. Benchmark it all and you're set.
Re: Shotgun telnet
by runrig (Abbot) on Nov 16, 2000 at 23:38 UTC
    There's ODBC drivers for SAS. Is there any reason you can't use that with DBI and DBD::ODBC?