*** evrardjp has quit IRC | 04:33 | |
*** evrardjp has joined #ara | 04:33 | |
*** logan_ has joined #ara | 04:53 | |
*** logan- has quit IRC | 04:54 | |
*** logan_ is now known as logan- | 04:54 | |
svg | fyi, I did some comparative testing on timings when running with ara: | 11:13 |
---|---|---|
svg | remote run with ara disabled: total 63s | 11:13 |
svg | remote run with ARA enabled: total 156.55s | 11:13 |
svg | local run with ARA enabled: total 118.63s | 11:13 |
svg | remote being from my laptop at office, local being from a vm in the same network as the targets (cloud DC) | 11:14 |
svg | I'm wondering if there are options to improve that. Async ARA calls? But I somehow feel that would be ugly. | 11:15 |
svg | Letting 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 |
svg | Justthinking out loud. The added timings might be a no-go for this project. | 11:17 |
dmsimard | svg: o/ the performance overhead is a known issue somewhat documented here: https://github.com/ansible-community/ara/issues/171 | 13:52 |
dmsimard | I'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 cases | 13:54 |
dmsimard | say, between improving the UI or adding new features | 13:54 |
dmsimard | I figure, it works and we can improve this down the line | 13:55 |
dmsimard | with 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 methods | 13:57 |
dmsimard | otherwise, 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 playbook | 14:01 |
dmsimard | this is true for Ansible itself, fwiw... because it is agentless, the performance is particularly impacted by latency | 14:03 |
*** nahun has quit IRC | 14:38 | |
*** dericcrago has quit IRC | 14:38 | |
*** nahun has joined #ara | 14:39 | |
*** dericcrago has joined #ara | 14:39 | |
svg | I 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 IRC | 21:30 |
Generated by irclog2html.py 2.17.2 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!