CGI/Perl Guide | Learning Center | Forums | Advertise | Login
Site Search: in

  Main Index MAIN
Search Posts SEARCH
Who's Online WHO'S
Log in LOG

Home: Perl Programming Help: Advanced: a muti-threaded web client in perl: Edit Log


Mar 14, 2003, 10:06 AM

Views: 7528
a muti-threaded web client in perl

i am trying to think up a way to do a multi threaded client application for load testing. i just bought the object oriented Perl book last night and i am sorta thinking that i am going to make a perl Class that handles one instance of a load test script and then run a whole bunch of them from one machine.

i want to do something similar to all the examples that exist of created a multi-threaded "forked" server listener, except i want to make a client version of it. i don't have a very good understanding of "forking" a process. perhaps i should do it that way instead of having a class object?

i have an already working script and running 80 instances of the perl interpreter at the same time with batch files uses over 500 mb of system memory. i need to instead launch one perl VM with mulitple script instances running within it so that it uses far less memory...

can anyone help me with a design recommendation, since i am about to attempt this and i want to do it correctly? i will share my code when i am done with it. there are no examples of this anywhere on the internet.

(This post was edited by mozkill on Mar 19, 2003, 8:53 AM)

Edit Log:
Post edited by mozkill (Novice) on Mar 14, 2003, 3:33 PM
Post edited by mozkill (Novice) on Mar 19, 2003, 8:52 AM
Post edited by mozkill (Novice) on Mar 19, 2003, 8:53 AM
Post edited by mozkill (Novice) on Mar 19, 2003, 8:53 AM

Search for (options) Powered by Gossamer Forum v.1.2.0

Web Applications & Managed Hosting Powered by Gossamer Threads
Visit our Mailing List Archives