[Bristolbathpm] Benchmarking CGI scripts

Gavin Ford revford at blueyonder.co.uk
Thu May 15 12:36:08 BST 2008


On Thu, May 15, 2008 at 12:01:54PM +0100, Lyle wrote:
> Any and all advice and pointers welcome.


Couldn't you script a bunch of wget or LWP::Simple get() to simulate clicks on
against the server?

If you're aiming for a mass of hits per second all from the same address it 
could look like a DOS attack.  Maybe vary the pages on the server you hit, 
something simple like an array of page addresses to randomly hit, make it look
more like a spider than an attack.

Maybe you should lets the hosts know in advance what you're planning so they 
can be ready for it and not cut you off?

Hits should be simple enough to pull from the access log.

You could run a script to pull RAM, CPU and IO loads and time stamp them, then
compare that the web server's access log.

-- 
Gav Ford
revford at blueyonder.co.uk 
http://revford.pwp.blueyonder.co.uk 
I think we need to:  Kick the quasar board
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://mailman.bristolbath.org/pipermail/bristolbathpm/attachments/20080515/47ed5634/attachment-0001.bin 


More information about the BristolBathPM mailing list