Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search

[REBOL] Re: client script to measure server performance: ideas ?

From: anton:lexicon at: 6-Jun-2002 5:28

I would recommend your script to launch, eg. 10 new processes, passing them a start time and a unique id number, one by one. How to pass the information across? Three ways: 1) save and read a file with the information in it 2) via a server/client exchange on a tcp port 3) write to and read from clipboard:// The launched rebol processes get this information so they know when to start. So they all wait for the start time then begin to make requests together. After finishing the attack (I mean, test) each process stores its results in a file with a filename corresponding to its id. (ie. results1, results2, ... results10) The original, mother script examines these files after an appropriate wait to collate the results. (Or I suppose you could use clipboard:// again to get the data serially). I am almost inspired to do this myself. Let me know how you go. Anton.
> What I would like to do is to spawn multiple rebol > processes that try to read a page from a local Apache > server. > > If I can control the number of processes to spawn > using "launch" and measure the response time of each > read then I could measure the server's response time > as a function of the number of simultaneous reads. > > Does anybody have any ideas or experience using launch > ? > What is the launch/link url for ?
That's a good question. I'd like to find out too. For connecting to a Rebol/Link server? Not really sure.