4 ms·
I had around a thousand of hosts and one small virtual machine, and my SSH call to each and every one (and running something trivial, like `uptime') took less t
by dozzie 11y ago
I had around a thousand of hosts and one small virtual machine, and my SSH
call to each and every one (and running something trivial, like `uptime') took
less than a minute in total. Though this was a custom script that used
Erlang's built-in SSH client, and had some unpleasant trouble when hitting the
limit on file descriptors (1024, bumped later to 4096 just because of that).
- falcolas 11y agoIt's much less about just the ssh overhead, as it is about copying Python scripts to the target hosts, then executing them, one at a time.
- drakenot 11y agoI thought Ansible had different execution strategies and you could make the hosts not wait for each other if you wanted. Wouldn't that speed things up a good deal?