Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask

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?

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1150508]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (6)
As of 2022-12-05 12:06 GMT
Find Nodes?
    Voting Booth?

    No recent polls found