As you may or may not know, I released GETURI this weekend as open source. It lets you make a request to a web server and save the response (file, stream file, or display). Anyhow, it got me to thinking. If I could call this command multiple times I could "simulate" multiple hits to a web server but submitting the GETURI command to QSYSNOMAX (or some other job queue that allowed multiple jobs) So, I did this. One our mid-sized 720 I first simulated 500 hits at once. The best time was hit number 262 and took 5.89 seconds to respond. The best time was hit number 2 and took .186 seconds. Then I did 400. Worst time was 9.23 (hit number 304) and best was .161 (106). Then I did 100. Worst time was 4.88 (hit number 24) and best was .203 (2). Doesn't say much. I watched the CPU of the web server. It never did start more instances and the top job got to about 50% max at one time. I think the part that slowed it down most was running that many jobs at once on our larger 720. It seemed that it could handle maybe 200 or so jobs at a time. Not very scientific, but interesting. I plan on trying a CGI program next. I assume that the instance jobs will be used more than the main job for CGI. If anyone wants me to try something, let me know. It's fun to bog the network (no calls yet) and pound on my webserver. Maybe if I make a request to the local server (itself) it will be faster. I should try that. Brad +--- | This is the Midrange System Mailing List! | To submit a new message, send your mail to MIDRANGE-L@midrange.com. | To subscribe to this list send email to MIDRANGE-L-SUB@midrange.com. | To unsubscribe from this list send email to MIDRANGE-L-UNSUB@midrange.com. | Questions should be directed to the list owner/operator: firstname.lastname@example.org +---
As an Amazon Associate we earn from qualifying purchases.
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.