News for hackers. Stuff that matters.
Re:Ansible 4.0 by dralley on Wednesday May 19, 2021 @09:50PM (#27216484)
While I don't have any hard numbers, I would bet a lot of money that any "slowness" of ansible has nothing to do with the use of Python. Everything happens over SSH, that's a lot of network roundtrips.
Re:Ansible 4.0 by Fizzadar on Thursday May 20, 2021 @02:38AM (#27218096)
SSH can be quicker, I believe ansibles use of SSH processes is more the issue. An old but still relevant benchmark exists in my pyinfra project which uses SSH (amongst other protocols) but a Python implementation, and its significantly quicker and more scalable than ansible: http://docs.pyinfra.com/en/1.x/performance.html
Re:Ansible 4.0 by deadbunny on Thursday May 20, 2021 @12:30AM (#27217391)
Indeed. See saltstack for something that does the same thing, witten in python that runs much faster.