[Buffalo-pm] Multi-Threaded Perl...

Shaun Griffith sgriffit at gennum.com
Mon Jun 13 13:18:46 PDT 2005


Instead of multi-threading, have you thought of forking?

What OS are you on?

> -----Original Message-----
> From: buffalo-pm-bounces at pm.org [mailto:buffalo-pm-bounces at pm.org]On
> Behalf Of DANIEL MAGNUSZEWSKI
> Sent: June 13, 2005 4:09 PM
> To: buffalo-pm at pm.org
> Subject: [Buffalo-pm] Multi-Threaded Perl...
> 
> 
> Mongers,
> 
> I am in the planning stages of writing a program that will 
> make queries
> to a device (via SNMP), wait for a response, then do 
> something with the
> information received (namely store it into a database), and move on to
> the next device in the list. Obviously, when having to do 
> this thousands
> of times per a 5 minute time frame, a single threaded program can be
> restricted by the blocking for the I/O Requests. I figured 
> that in order
> to maximize the speed, it would need to be multithreaded. 
> 
> My real question is whether anyone has written any multithreaded Perl
> programs, along with the pluses and minuses or using Perl for
> multithreading. Hopefully I won't have to use C or C++, in which case,
> I'd probably rather bang my head against the wall. Although, having a
> high quality UB Computer Science education, it wouldn't be impossible
> ;-) 
> 
> Any help or insight would be great! Thanks.
> 
> -Dan
> 
> _______________________________________________
> Buffalo-pm mailing list
> Buffalo-pm at pm.org
> http://mail.pm.org/mailman/listinfo/buffalo-pm


More information about the Buffalo-pm mailing list