About SSH tasks: Have you looked at https://metacpan.org/pod/Mojo::IOLoop::ReadWriteFork? (Feedback wanted)
On Monday, July 14, 2014 4:11:08 PM UTC+2, Daniel Mantovani wrote: > > Thanks for the feedback, took a look at the code and I think it's a nice > way to integrate ssh tasks to Mojolicious. Not realy non-blocking in the > way Mojo::UserAgent is though, as far as I understood it uses one process > per ssh connection. (Mojo::UserAgent just runs inside the ioloop instead). > > El domingo, 13 de julio de 2014 21:12:01 UTC-3, bduggan escribió: >> >> On Saturday, July 12, sri wrote: >> > - SSH and Telnet clients on Mojo::IOLoop (meaning non-blocking >> clients). >> > > Probably not very demanded requests, but in my opinion they would >> help >> > > developers to choose mojolicious as a base framework for apps that >> > > concentrate several platforms with different interfaces (so you can >> choose >> > > using Mojo::UserAgent or for instance Mojo::SSHClient or >> Mojo::TelnetClient >> > > in a non-blocking way depending on what the target platform >> supports). >> > > >> > >> > Haha, this one is way way way way way out there... i'm not even sure a >> > non-blocking SSH client exists on CPAN yet. >> >> We did something like this by using Mojo::Reactor->io to watch the output >> of external ssh client processes : >> >> https://metacpan.org/pod/distribution/Clustericious-Admin/bin/clad >> >> Brian >> >> -- You received this message because you are subscribed to the Google Groups "Mojolicious" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/mojolicious. For more options, visit https://groups.google.com/d/optout.
