Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re: threads, forks and SSH

by mr_mischief (Monsignor)
on Dec 16, 2015 at 15:30 UTC ( #1150508=note: print w/replies, xml ) Need Help??


in reply to threads, forks and SSH

I'm not saying not to do this in Perl. However, there are many tools already for this sort of task.

Are you building a distributed application? Something like RabbitMQ or some other information queue or job queue may help. There's OpenMPI and the Parallel::MPI or Parallel::MPI::Simple library wrapping it if you need that sort of parallel interaction.

Are you doing configuration of the systems? Is this a one-off thing or will it grow to manage more things? Have you looked at GNU Parallel? How about multissh? CFEngine may work for you, too. On the really comprehensive end there are Saltstack, Ansible, Chef, or Puppet. They'll manage almost every aspect of every system across a whole server farm and report status back about everything they've done. Rex is a configuration management system that supports Windows, Linux, the BSDs, Solaris, and OS X and is written in Perl even. I'll admit I don't have any experience with Rex myself, but if you're wanting something in Perl you don't have to write from scratch it may be worth a long, hard look.

There's a comparison page for open source configuration management systems on Wikipedia.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1150508]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (7)
As of 2018-04-27 08:53 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Notices?