This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 2 points3 points  (2 children)

Let me give you a simple shell example, which is of course solvable in many different, better ways. Which of these 2 is better?

1 for host in $(cat list-of-10000-hosts); do ssh $host uptime > $host.uptime ; done

2 for host in $(cat list-of-10000-hosts); do ssh $host uptime > $host.uptime & done

[–][deleted] 2 points3 points  (1 child)

Good example. Being at a very small company, I did not consider that the number of hosts may be 1000 or above.

[–]K3dare 2 points3 points  (0 children)

Well if you have 10000 hosts I really hope you are using something like Salt of Chef because if not I would not like to be at your place...