Sunday, 2020-10-11

*** evrardjp has quit IRC04:33
*** evrardjp has joined #ara04:33
*** logan_ has joined #ara04:53
*** logan- has quit IRC04:54
*** logan_ is now known as logan-04:54
svgfyi, I did some comparative testing on timings when running with ara:11:13
svgremote run with ara disabled: total 63s11:13
svgremote run with ARA enabled: total 156.55s11:13
svglocal run with ARA enabled: total      118.63s11:13
svgremote being from my laptop at office, local being from a vm in the same network as the targets (cloud DC)11:14
svgI'm wondering if there are options to improve that. Async ARA calls? But I somehow feel that would be ugly.11:15
svgLetting all callback functions just keeping the data, and not directly call them, then sending all info into a single call at the end of the playbook?11:17
svgJustthinking out loud. The added timings might be a no-go for this project.11:17
dmsimardsvg: o/ the performance overhead is a known issue somewhat documented here: https://github.com/ansible-community/ara/issues/17113:52
dmsimardI'm very open to any opportunities for improving performance but no one has shown up to contribute and it hasn't been much of a priority for my use cases13:54
dmsimardsay, between improving the UI or adding new features13:54
dmsimardI figure, it works and we can improve this down the line13:55
dmsimardwith the API in place, it is possible to have different callback implementations -- like one that would buffer locally and send data asynchronously instead of the current (expensive) synchronous methods13:57
dmsimardotherwise, the best approach to minimize latency right now is to run ansible from the same machine as the ara server is running because even 20ms latency adds up over the course of a playbook14:01
dmsimardthis is true for Ansible itself, fwiw... because it is agentless, the performance is particularly impacted by latency14:03
*** nahun has quit IRC14:38
*** dericcrago has quit IRC14:38
*** nahun has joined #ara14:39
*** dericcrago has joined #ara14:39
svgI might consider trying an alternative async callback. I'll talk to my customer to see if he is willing to sponsor that.17:26
*** cyberpear has quit IRC21:30

Generated by irclog2html.py 2.17.2 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!