Very interesting, just brought up 
https://github.com/ansible/ansible/issues/36275.

Mitogen (or basically any short-lived agent) seems like a feasible approach 
to solve the problem, albeit sending python modules via ssh and executing 
them in a long(er)-running process adds quite some complexity.
What's wrong with just caching python modules (or binaries) in a 
size-limited temp folder? Using content-addressing should get rid of 
possible versions conflicts and a tiny bit of disk or tmpfs space doesn't 
seems like an unreasonable requirement.

Am Freitag, 16. Februar 2018 15:02:49 UTC+1 schrieb David Wilson:
>
> Hi guys,
>
> I've been working occasionally on a new connection method for Ansible that 
> drastically improves its efficiency, even when compared to pipelining and 
> SSH multiplexing. The typical speedups can be impressive - in the 1.5x to 
> 5x range, and some nice side effects exist such as system logs not being 
> spammed while Ansible executes.
>
>     http://mitogen.readthedocs.io/en/latest/ansible.html
>
> It takes all of 5 minutes over lunch to try out, and I'd love to get 
> feedback on it from a variety of playbooks, if in no other form than bug 
> reports. ;)
>

https://github.com/dw/mitogen/issues/85 :)

-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Project" 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].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/e91e531d-7a57-4f0d-9084-7cdf67367f13%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to